skaner
Dependencies: BLE_API TextLCD mbed nRF51822
Fork of BLE_LEDBlinker by
Diff: main.cpp
- Revision:
- 2:3e1e967035cb
- Parent:
- 1:1db45b17552e
- Child:
- 3:146eba831693
--- a/main.cpp Mon Jun 08 06:26:18 2015 +0000 +++ b/main.cpp Mon Jun 08 06:30:35 2015 +0000 @@ -117,8 +117,11 @@ triggerLedCharacteristic = false; ledCharacteristic.read(); /* We could have issued this read just as easily from * characteristicDiscoveryCallback(); but - * this demonstrates the use of - * isServiceDiscoveryActive(). */ + * invoking it here demonstrates the use + * of isServiceDiscoveryActive() and also + * the fact that it is permitted to + * operate on application-local copies of + * DiscoveredCharacteristic. */ } ble.waitForEvent(); }