ServiceDiscovery::Launch() should take in const references for UUID.

This commit is contained in:
Rohit Grover 2015-05-21 15:14:33 +01:00
parent bd866737e6
commit 09063c3668
1 changed files with 5 additions and 5 deletions

View File

@ -138,11 +138,11 @@ public:
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);