nordic
Fork of nRF51822 by
Diff: btle/btle_discovery.cpp
- Revision:
- 276:fd709cd8b1b2
- Parent:
- 275:f82e0ecba699
- Child:
- 277:ae6e5129b395
--- a/btle/btle_discovery.cpp Fri Jun 19 15:55:25 2015 +0100 +++ b/btle/btle_discovery.cpp Fri Jun 19 15:55:25 2015 +0100 @@ -24,11 +24,11 @@ static NordicServiceDiscovery discoverySingleton; ble_error_t -ServiceDiscovery::launch(Gap::Handle_t connectionHandle, - ServiceCallback_t sc, - CharacteristicCallback_t cc, - UUID matchingServiceUUIDIn, - UUID matchingCharacteristicUUIDIn) +ServiceDiscovery::launch(Gap::Handle_t connectionHandle, + ServiceCallback_t sc, + CharacteristicCallback_t cc, + const UUID &matchingServiceUUIDIn, + const UUID &matchingCharacteristicUUIDIn) { discoverySingleton.serviceCallback = sc; discoverySingleton.characteristicCallback = cc;