Dung Nguyen / Mbed 2 deprecated TimeSync

Dependencies:   BLE_API mbed nRF51822

Fork of BLE_GATT_Example by Bluetooth Low Energy

Revision:
23:8cd0bcd06533
Parent:
22:406127954d1f
Child:
24:64e7d23021ba
--- a/main.cpp	Mon Nov 09 17:08:47 2015 +0000
+++ b/main.cpp	Tue Jun 06 00:15:32 2017 +0000
@@ -6,7 +6,13 @@
 uint16_t readCharUUID       = 0xA001;
 uint16_t writeCharUUID      = 0xA002;
 
-const static char     DEVICE_NAME[]        = "ChangeMe!!"; // change this
+const uint8_t lookUpTable[6][5] = { {1,0,0,0,1},
+                                    {1,0,0,1,1},
+                                    {1,1,0,0,1},
+                                    {1,0,1,0,1},
+                                    {1,1,0,1,1}};
+
+const static char     DEVICE_NAME[]        = "timesync1"; // change this
 static const uint16_t uuid16_list[]        = {0xFFFF}; //Custom UUID, FFFF is reserved for development
 
 /* Set Up custom Characteristics */