
An example of creating and updating a simple GATT Service using the BLE_API
Dependencies: BLE_API mbed nRF51822
Fork of BLE_BatteryLevel by
Revision 17:5cdd04cf1ed4, committed 2015-06-20
- Comitter:
- rgrover1
- Date:
- Sat Jun 20 23:22:18 2015 +0000
- Parent:
- 16:175eb5d06c45
- Commit message:
- updating underlying libraries.
Changed in this revision
diff -r 175eb5d06c45 -r 5cdd04cf1ed4 BLE_API.lib --- a/BLE_API.lib Mon May 11 07:10:50 2015 +0000 +++ b/BLE_API.lib Sat Jun 20 23:22:18 2015 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/teams/Bluetooth-Low-Energy/code/BLE_API/#8d1f5c5252c4 +http://mbed.org/teams/Bluetooth-Low-Energy/code/BLE_API/#9f4251b3355c
diff -r 175eb5d06c45 -r 5cdd04cf1ed4 main.cpp --- a/main.cpp Mon May 11 07:10:50 2015 +0000 +++ b/main.cpp Sat Jun 20 23:22:18 2015 +0000 @@ -15,10 +15,10 @@ */ #include "mbed.h" -#include "BLEDevice.h" +#include "BLE.h" #include "BatteryService.h" -BLEDevice ble; +BLE ble; DigitalOut led1(LED1, 1); Ticker t;
diff -r 175eb5d06c45 -r 5cdd04cf1ed4 mbed.bld --- a/mbed.bld Mon May 11 07:10:50 2015 +0000 +++ b/mbed.bld Sat Jun 20 23:22:18 2015 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/mbed_official/code/mbed/builds/8ab26030e058 \ No newline at end of file +http://mbed.org/users/mbed_official/code/mbed/builds/7cff1c4259d7 \ No newline at end of file
diff -r 175eb5d06c45 -r 5cdd04cf1ed4 nRF51822.lib --- a/nRF51822.lib Mon May 11 07:10:50 2015 +0000 +++ b/nRF51822.lib Sat Jun 20 23:22:18 2015 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/teams/Nordic-Semiconductor/code/nRF51822/#6712855a0107 +http://mbed.org/teams/Nordic-Semiconductor/code/nRF51822/#7c68c8d67e1f