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
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);