nordic

Fork of nRF51822 by Nordic Semiconductor

Revision:
276:fd709cd8b1b2
Parent:
275:f82e0ecba699
Child:
277:ae6e5129b395
diff -r f82e0ecba699 -r fd709cd8b1b2 btle/btle_discovery.cpp
--- 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;