he LED example demonstrates the use of a read-write characteristic to control a LED through a phone app. The canonical source for this example lives at https://github.com/ARMmbed/mbed-os-example-ble/tree/master/BLE_LED

Auto generated API documentation and code listings for mbed-os-example-ble-LED

Code

LEDService.h [code]
main.cpp [code]
pretty_printer.h [code]