Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: BLE_API mbed nRF51822
Fork of BLE_GATT_Example by
Diff: main.cpp
- Revision:
- 23:8cd0bcd06533
- Parent:
- 22:406127954d1f
- Child:
- 24:64e7d23021ba
diff -r 406127954d1f -r 8cd0bcd06533 main.cpp
--- 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 */
