BLE_Button is a BLE service template. It handles a read-only characteristic with a simple input (boolean values). The input's source is the button on the board itself - the characteristic's value changes when the button is pressed or released. The canonical source for this example lives at

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


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