test
Fork of nRF51822 by
Diff: btle/btle_discovery.cpp
- Revision:
- 257:6e0ae0f1697b
- Parent:
- 255:d228656b0cd1
- Child:
- 258:62d6bf03e6a4
--- a/btle/btle_discovery.cpp Fri Jun 19 15:55:23 2015 +0100 +++ b/btle/btle_discovery.cpp Fri Jun 19 15:55:23 2015 +0100 @@ -48,6 +48,19 @@ return BLE_ERROR_NONE; } +ble_error_t +ServiceDiscovery::launch(Gap::Handle_t connectionHandle, + UUID matchingServiceUUIDIn, + ServiceCallback_t sc, + UUID matchingCharacteristicUUIDIn, + CharacteristicCallback_t cc) +{ + discoverySingleton.matchingServiceUUID = matchingServiceUUIDIn; + discoverySingleton.matchingCharacteristicUUID = matchingCharacteristicUUIDIn; + + return launch(connectionHandle, sc, cc); +} + void ServiceDiscovery::terminate(void) {