An example of creating and updating a simple GATT Service using the BLE_API
Dependencies: BLE_API mbed nRF51822 X_NUCLEO_IDB0XA1
This example creates and updates a standard Battery Level service, and a single GATT characteristic that contains the battery level.
mbed_app.json
- Committer:
- Vincent Coubard
- Date:
- 2016-09-20
- Revision:
- 19:1e34f137b7ce
File content as of revision 19:1e34f137b7ce:
{ "target_overrides": { "K64F": { "target.features_add": ["BLE"], "target.extra_labels_add": ["ST_BLUENRG"], "target.macros_add": ["IDB0XA1_D13_PATCH"] }, "NUCLEO_F401RE": { "target.features_add": ["BLE"], "target.extra_labels_add": ["ST_BLUENRG"] } } }