![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
test 4
Dependencies: BLE_API mbed nRF51822
Fork of BLE_EvothingsExample_GATT by
Diff: main.cpp
- Revision:
- 6:97b22b5bfbb8
- Parent:
- 5:d0548c64e2e7
- Child:
- 7:f6814152873c
--- a/main.cpp Sat Feb 14 15:43:55 2015 +0000 +++ b/main.cpp Sat Feb 14 15:49:47 2015 +0000 @@ -36,9 +36,9 @@ // This function is called whenever someone writes something to the writeCharacteristic void writeCharCallback(const GattCharacteristicWriteCBParams *params) { - //TODO: when character is written here change the LED, update the read characteristic, and print out to console led = params->data[0]; printf("LED Written To, value=%x",params->data[0]); + // TODO: update the readChar value to match write char, or better yet give it an english value } int