Michelle Nguyen / Mbed 2 deprecated cf_ble

Dependencies:   BLE_API mbed nRF51822

Fork of BLE_GATT_Example by Bluetooth Low Energy

Files at this revision

API Documentation at this revision

Comitter:
michellen
Date:
Mon Oct 26 10:06:50 2015 +0000
Parent:
21:73f42c00b1db
Commit message:
v1 - copy of example

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Tue Oct 20 13:48:13 2015 +0000
+++ b/main.cpp	Mon Oct 26 10:06:50 2015 +0000
@@ -7,11 +7,11 @@
 uint16_t readCharUUID       = 0xA001;
 uint16_t writeCharUUID      = 0xA002;
 
-const static char     DEVICE_NAME[]        = "ChangeMe!!"; // change this
+const static char     DEVICE_NAME[]        = "ClothingDevice"; // change this
 static const uint16_t uuid16_list[]        = {0xFFFF}; //Custom UUID, FFFF is reserved for development
 
 // Set Up custom Characteristics
-static uint8_t readValue[10] = {0};
+static uint8_t readValue[10] = {1,2,3,4};
 ReadOnlyArrayGattCharacteristic<uint8_t, sizeof(readValue)> readChar(readCharUUID, readValue);
 
 static uint8_t writeValue[10] = {0};