OTA battery level service.
More...
|
|
void | init (const uint8_t batteryLevel, const bool addToAdvertised) |
| | Init the service, with an initial value (0-100)
|
| |
|
void | write_battery_level (const uint8_t batteryLevel) |
| | update battery level (0-100)
|
| |
|
void | notify_battery_level (const uint8_t batteryLevel) |
| | notify the connected device of a battery level (0-100)
|
| |
OTA battery level service.