minor service clean up
This commit is contained in:
1 parent
fc34c0223c
commit
a4487a22f7
6 files changed
+16
-8
No files matched your search
@@ -600,11 +600,6 @@ uint32_t BLECharacteristic::read32(void)
|
||||
return read(&num, sizeof(num)) ? num : 0;
|
||||
}
|
||||
|
||||
uint16_t BLECharacteristic::getCccd(void)
|
||||
{
|
||||
return this->getCccd(Bluefruit.connHandle());
|
||||
}
|
||||
|
||||
uint16_t BLECharacteristic::getCccd(uint16_t conn_hdl)
|
||||
{
|
||||
VERIFY( Bluefruit.connected(conn_hdl) && (_handles.cccd_handle != BLE_GATT_HANDLE_INVALID), 0 );
|
||||
|
||||
Reference in new issue
Block a user