close #44 add client battery notify with callback support
This commit is contained in:
2 files changed
+21
No files matched your search
@@ -69,3 +69,19 @@ uint8_t BLEClientBas::read(void)
|
||||
{
|
||||
return _battery.read8();
|
||||
}
|
||||
|
||||
bool BLEClientBas::enableNotify(void)
|
||||
{
|
||||
return _battery.enableNotify();
|
||||
}
|
||||
|
||||
bool BLEClientBas::disableNotify(void)
|
||||
{
|
||||
return _battery.disableNotify();
|
||||
}
|
||||
|
||||
void BLEClientBas::setNotifyCallback(BLEClientCharacteristic::notify_cb_t fp, bool useAdaCallback)
|
||||
{
|
||||
return _battery.setNotifyCallback(fp, useAdaCallback);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user