msn
Dependencies: BLE_API mbed nRF51822
Fork of BLE_LEDBlinker by
Diff: main.cpp
- Revision:
- 8:b433a261072f
- Parent:
- 7:61e2224ec9a0
- Child:
- 9:dc392bde2b3c
diff -r 61e2224ec9a0 -r b433a261072f main.cpp --- a/main.cpp Thu Jul 02 08:39:04 2015 +0000 +++ b/main.cpp Thu Jul 02 08:51:39 2015 +0000 @@ -106,8 +106,6 @@ ble.gap().onConnection(connectionCallback); ble.gap().onDisconnection(disconnectionCallback); - /* Request for comments: should setupOnDataRead() be a static for DiscoveredCharacteristic? - * Or should it be passed in as a parameter to read()? */ ble.gattClient().onDataRead(triggerToggledWrite); ble.gattClient().onDataWrite(triggerRead);