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
Revision 257:2f2e9f1d6275, committed 2015-06-19
- Comitter:
- rgrover1
- Date:
- Fri Jun 19 15:55:23 2015 +0100
- Parent:
- 256:d228656b0cd1
- Child:
- 258:6e0ae0f1697b
- Commit message:
- Synchronized with git rev ff7401b7
Author: Rohit Grover
save matchingUUIDs in ServiceDiscovery::launch()
Changed in this revision
| btle/btle_discovery.h | Show annotated file Show diff for this revision Revisions of this file |
--- 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;
};
