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.
History
Update libraries, add support for ST shield.
2016-09-20, by Vincent Coubard [Tue, 20 Sep 2016 12:27:09 +0100] rev 19
Update libraries, add support for ST shield.
Update libraries to latest revision.
2016-04-11, by vcoubard [Mon, 11 Apr 2016 16:16:58 +0000] rev 18
Update libraries to latest revision.
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
2015-11-03, by vcoubard [Tue, 03 Nov 2015 16:03:18 +0000] rev 17
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
updating underlying libraries.
2015-06-20, by rgrover1 [Sat, 20 Jun 2015 23:22:18 +0000] rev 16
updating underlying libraries.
Updating to the latest of the underlying libraries.
2015-05-11, by rgrover1 [Mon, 11 May 2015 07:10:50 +0000] rev 15
Updating to the latest of the underlying libraries.
Updating underlying libraries.
2015-03-24, by rgrover1 [Tue, 24 Mar 2015 08:15:17 +0000] rev 14
Updating underlying libraries.
minor re-ordering around the creation of BatteryService.
2014-12-16, by rgrover1 [Tue, 16 Dec 2014 09:12:25 +0000] rev 13
minor re-ordering around the creation of BatteryService.
minor improvement to the demo;; also updated underlying libraries to latest revision.
2014-12-15, by rgrover1 [Mon, 15 Dec 2014 08:10:46 +0000] rev 12
minor improvement to the demo;; also updated underlying libraries to latest revision.
updating underlying libraries.
2014-11-05, by rgrover1 [Wed, 05 Nov 2014 14:18:56 +0000] rev 11
updating underlying libraries.
updating underlying libraries.
2014-09-30, by rgrover1 [Tue, 30 Sep 2014 02:19:00 +0000] rev 10
updating underlying libraries.