High level Bluetooth Low Energy API and radio abstraction layer
Fork of BLE_API by
Revision 601:78b51e441825, committed 2015-06-19
- Comitter:
- rgrover1
- Date:
- Fri Jun 19 15:52:53 2015 +0100
- Parent:
- 600:d387f36fc5b0
- Child:
- 602:227ef1471f59
- 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:52:52 2015 +0100 +++ b/public/ServiceDiscovery.h Fri Jun 19 15:52:53 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);