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: nrf51-sdk
Dependents: microbit-dal microbit-ble-open microbit-dal-eddystone microbit-dal-ble-accelerometer-example ... more
Diff: btle/btle_discovery.h
- Revision:
- 288:1d85c4a4d397
- Parent:
- 286:042b01e59cf8
- Child:
- 289:b33301b019e6
--- a/btle/btle_discovery.h Fri Jun 19 15:55:27 2015 +0100 +++ b/btle/btle_discovery.h Fri Jun 19 15:55:27 2015 +0100 @@ -33,6 +33,18 @@ static const unsigned BLE_DB_DISCOVERY_MAX_CHAR_PER_SRV = 4; /**< Maximum number of characteristics per service we can retain information for. */ public: + NordicServiceDiscovery() : serviceIndex(0), + numServices(0), + characteristicIndex(0), + numCharacteristics(0), + state(INACTIVE), + services(), + characteristics(), + onTerminationCallback(NULL) { + /* empty */ + } + +public: ble_error_t launchCharacteristicDiscovery(Gap::Handle_t connectionHandle, Gap::Handle_t startHandle, Gap::Handle_t endHandle); public: