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.

Committer:
vcoubard
Date:
Tue Nov 03 16:03:18 2015 +0000
Revision:
17:5afb0e5a48fc
Parent:
16:5cdd04cf1ed4
Child:
18:8546914968b6
Use proper API instead of deprecated ones; Update disconnection callback signature to the correct one; Add the LE_GENERAL_DISCOVERABLE into advertisement FLAGS; Use new BLE::init API of BLE API 2.xx

Who changed what in which revision?

UserRevisionLine numberNew contents of line
vcoubard 17:5afb0e5a48fc 1 http://mbed.org/teams/Bluetooth-Low-Energy/code/BLE_API/#a097e1be76f4