merge versions of ServiceDiscovery::launch() into a single API.

This commit is contained in:
Rohit Grover 2015-05-21 15:06:10 +01:00
parent 4c1feadcc5
commit bd866737e6

View file

@ -139,13 +139,10 @@ public:
public:
static ble_error_t launch(Gap::Handle_t connectionHandle,
ServiceCallback_t sc,
CharacteristicCallback_t cc = NULL);
static ble_error_t launch(Gap::Handle_t connectionHandle,
UUID matchingServiceUUIDIn,
ServiceCallback_t sc,
UUID matchingCharacteristicUUIDIn = ShortUUIDBytes_t(BLE_UUID_UNKNOWN),
CharacteristicCallback_t cc = NULL);
ServiceCallback_t sc = NULL,
CharacteristicCallback_t cc = NULL,
UUID matchingServiceUUID = ShortUUIDBytes_t(BLE_UUID_UNKNOWN),
UUID matchingCharacteristicUUIDIn = ShortUUIDBytes_t(BLE_UUID_UNKNOWN));
static void terminate(void);