BLE Current Time Service
BLE Current Time Service (CTS) implementation.
supported only "Current Time" Characteristics.
https://developer.bluetooth.org/gatt/services/Pages/ServiceViewer.aspx
I don't have a device corresponding to the CTS, I cannot check it. x)
Diff: CurrentTimeService.h
- Revision:
- 2:27a6c04cadb2
- Parent:
- 1:c4b8028471f9
- Child:
- 3:eb07c3c4bf5e
diff -r c4b8028471f9 -r 27a6c04cadb2 CurrentTimeService.h --- a/CurrentTimeService.h Sat Oct 17 17:04:10 2015 +0000 +++ b/CurrentTimeService.h Sat Oct 17 17:06:23 2015 +0000 @@ -7,6 +7,8 @@ #define __BLE_CURRENT_TIME_SERVICE_H__ #include "ble/BLE.h" +#include <time.h> + //extern Serial pc;