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 BLE_API by
Revision 456:ff4ffb69e19f, committed 2015-06-19
- Comitter:
- rgrover1
- Date:
- Fri Jun 19 15:51:57 2015 +0100
- Parent:
- 455:b117ff978aec
- Child:
- 457:6ebc9bbde90b
- Commit message:
- Synchronized with git rev 09063c36
Author: Rohit Grover
ServiceDiscovery::Launch() should take in const references for UUID.
Changed in this revision
| public/ServiceDiscovery.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/public/ServiceDiscovery.h Fri Jun 19 15:51:57 2015 +0100
+++ b/public/ServiceDiscovery.h Fri Jun 19 15:51:57 2015 +0100
@@ -138,11 +138,11 @@
typedef void (*CharacteristicCallback_t)(const DiscoveredCharacteristic &);
public:
- static ble_error_t launch(Gap::Handle_t connectionHandle,
- ServiceCallback_t sc = NULL,
- CharacteristicCallback_t cc = NULL,
- UUID matchingServiceUUID = ShortUUIDBytes_t(BLE_UUID_UNKNOWN),
- UUID matchingCharacteristicUUIDIn = ShortUUIDBytes_t(BLE_UUID_UNKNOWN));
+ static ble_error_t launch(Gap::Handle_t connectionHandle,
+ ServiceCallback_t sc = NULL,
+ CharacteristicCallback_t cc = NULL,
+ const UUID &matchingServiceUUID = ShortUUIDBytes_t(BLE_UUID_UNKNOWN),
+ const UUID &matchingCharacteristicUUIDIn = ShortUUIDBytes_t(BLE_UUID_UNKNOWN));
static void terminate(void);
