This application shows how to use GAP to transmit a simple value to disconnected peer listening for advertisement every time that a value is updated. The canonical source for this example lives at: https://github.com/ARMmbed/mbed-os-example-ble/tree/master/BLE_GAPButton

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

Code

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