BLE Advertising sample application
This example shows how to advertise a value of battery service data. The battery value is simulated. The battery level is a percentage, with 100% being a fully charged battery and 0% being a fully drained battery. The level starts at 50% and drains every second second, until it hits 10% when it jumps to 100% and continues draining.
Diff: mbed-os-ble-utils.lib
- Revision:
- 0:7373a1c9d5b4
diff -r 000000000000 -r 7373a1c9d5b4 mbed-os-ble-utils.lib --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed-os-ble-utils.lib Thu Jan 14 11:25:30 2021 +0000 @@ -0,0 +1,1 @@ +https://github.com/ARMmbed/mbed-os-ble-utils/#5a87e640383b2a1465e19ea6c052f80459314670