my version with changed conversion between duration units
Fork of BLE_API by
BatteryService Class Reference
|BatteryService (BLE &_ble, uint8_t level=100)|
|void||updateBatteryLevel (uint8_t newLevel)|
|Update the battery level with a new value. |
BLE Battery Service.
This service displays the battery level from 0->100% represented as a 8bit number.
Battery Level Char: https://developer.bluetooth.org/gatt/characteristics/Pages/CharacteristicViewer.aspx?u=org.bluetooth.characteristic.battery_level.xml
Constructor & Destructor Documentation
Member Function Documentation
Generated on Thu Mar 21 2019 17:55:53 by 1.7.2