WIP - all BT characteristics must be dynamically alloced

This commit is contained in:
geeksville
2020-02-23 11:05:55 -08:00
parent 356902d552
commit a678dd3ee8
3 changed files with 33 additions and 25 deletions

View File

@@ -19,6 +19,7 @@ uint32_t getValue32(BLECharacteristic *c, uint32_t defaultValue);
void loopBLE();
BLEServer *initBLE(std::string devName, std::string hwVendor, std::string swVersion, std::string hwVersion = "");
void deinitBLE();
/// Any bluetooth objects you allocate _must_ come from this pool if you want to be able to call destroyBLE()
/// Any bluetooth objects you allocate _must_ come from this pool if you want to be able to call deinitBLE()
extern SimpleAllocator btPool;