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.
Diff: main.cpp
- Revision:
- 1:54fe327e5d0a
- Parent:
- 0:395932faedf1
- Child:
- 2:a872df2e051e
--- a/main.cpp Thu Jan 09 10:53:09 2014 +0000 +++ b/main.cpp Thu Jan 09 11:04:14 2014 +0000 @@ -1,6 +1,6 @@ #include "mbed.h" -#include "uuid.h" -#include "hw/nrf51822.h" +#include "UUID.h" +#include "hw/nRF51822.h" /* Radio HW */ nRF51822 radio;