mirror of
https://github.com/h2zero/esp-nimble-cpp.git
synced 2026-01-30 10:02:15 +01:00
add NimBLEHIDDevice::batteryLevel()
This commit is contained in:
committed by
h2zero
parent
cd3185fe43
commit
32e7059732
@@ -203,12 +203,12 @@ void NimBLEHIDDevice::setBatteryLevel(uint8_t level) {
|
||||
/*
|
||||
* @brief Returns battery level characteristic
|
||||
* @ return battery level characteristic
|
||||
*//*
|
||||
BLECharacteristic* BLEHIDDevice::batteryLevel() {
|
||||
*/
|
||||
NimBLECharacteristic* NimBLEHIDDevice::batteryLevel() {
|
||||
return m_batteryLevelCharacteristic;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
|
||||
BLECharacteristic* BLEHIDDevice::reportMap() {
|
||||
return m_reportMapCharacteristic;
|
||||
|
||||
Reference in New Issue
Block a user