Adding BLEClientDis

- add get/set HandleRange for BLEDiscovery
- implement destructor for BLEClientCharacteristic
- add BLEGatt::_removeCharacteristic(client)
-
This commit is contained in:
hathach committed 2017-04-13 17:22:49 +07:00
1 parent f72401271e
commit ae20fa0176
12 files changed
+90 -16

No files matched your search

@@ -52,6 +52,11 @@ void AdaMsg::begin(bool dynamic)
if ( !_dynamic ) _sem = xSemaphoreCreateBinary();
}
void AdaMsg::stop(void)
{
if (!_dynamic) vSemaphoreDelete(_sem);
}
void AdaMsg::prepare(void* buf, uint16_t bufsize)
{
buffer = (uint8_t*) buf;