Example of BLE scan/connect/service discovery
Fork of BLE_LEDBlinker by
Revision 8:b433a261072f, committed 2015-07-02
- Comitter:
- rgrover1
- Date:
- Thu Jul 02 08:51:39 2015 +0000
- Parent:
- 7:61e2224ec9a0
- Child:
- 9:dc392bde2b3c
- Commit message:
- remove an obsolete comment block.
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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);
