aa

Dependents:   Peripheral_1_serial_copy Peripheral_1_serial 151006_1st_Scenario_normal

Fork of nRF51822 by Nordic Semiconductor

Revision:
275:fd709cd8b1b2
Parent:
274:f82e0ecba699
Child:
276: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;