We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bf4fbde + 2c256fc commit a6bbf24Copy full SHA for a6bbf24
cpp_utils/BLEHIDDevice.cpp
@@ -194,6 +194,7 @@ BLECharacteristic* BLEHIDDevice::protocolMode() {
194
195
void BLEHIDDevice::setBatteryLevel(uint8_t level) {
196
m_batteryLevelCharacteristic->setValue(&level, 1);
197
+ m_batteryLevelCharacteristic->notify();
198
}
199
/*
200
* @brief Returns battery level characteristic
0 commit comments