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.
Fork of nRF51822 by
Diff: btle/btle_discovery.h
- Revision:
- 256:2f2e9f1d6275
- Parent:
- 253:f30c1233e9db
- Child:
- 259:14fc2ba60072
diff -r d228656b0cd1 -r 2f2e9f1d6275 btle/btle_discovery.h --- a/btle/btle_discovery.h Fri Jun 19 15:55:23 2015 +0100 +++ b/btle/btle_discovery.h Fri Jun 19 15:55:23 2015 +0100 @@ -99,16 +99,18 @@ ServiceCallback_t sc, CharacteristicCallback_t cc = NULL); static ble_error_t launch(Gap::Handle_t connectionHandle, - UUID matchingServiceUUID, + UUID matchingServiceUUIDIn, ServiceCallback_t sc, - UUID matchingCharacteristicUUID = ShortUUIDBytes_t(BLE_UUID_UNKNOWN), + UUID matchingCharacteristicUUIDIn = ShortUUIDBytes_t(BLE_UUID_UNKNOWN), CharacteristicCallback_t cc = NULL); static void terminate(void); protected: Gap::Handle_t connHandle; /**< Connection handle as provided by the SoftDevice. */ + UUID matchingServiceUUID; ServiceCallback_t serviceCallback; + UUID matchingCharacteristicUUID; CharacteristicCallback_t characteristicCallback; };