This example creates and updates a standard Battery Level service containing a single GATT characteristic. The battery service transmits a device's battery level in percentage, with 100% being a fully charged battery and 0% being a fully drained battery. The canonical source for this example lives at https://github.com/ARMmbed/mbed-os-example-ble/tree/master/BLE_BatteryLevel
File List
main.cpp [code] | |
pretty_printer.h [code] |
Generated on Sat Jul 16 2022 01:26:04 by 1.7.2