Wang Xinglu / BLE_API

Dependencies:   nRF51822

Dependents:   LinkNode_LIS3DH

Fork of BLE_API by Bluetooth Low Energy

Revision:
601:78b51e441825
Parent:
456:ff4ffb69e19f
Child:
457:6ebc9bbde90b
--- a/public/ServiceDiscovery.h	Fri Jun 19 15:52:52 2015 +0100
+++ b/public/ServiceDiscovery.h	Fri Jun 19 15:52:53 2015 +0100
@@ -138,11 +138,11 @@
     typedef void (*CharacteristicCallback_t)(const DiscoveredCharacteristic &);
 
 public:
-    static ble_error_t launch(Gap::Handle_t            connectionHandle,
-                              ServiceCallback_t        sc = NULL,
-                              CharacteristicCallback_t cc = NULL,
-                              UUID                     matchingServiceUUID = ShortUUIDBytes_t(BLE_UUID_UNKNOWN),
-                              UUID                     matchingCharacteristicUUIDIn = ShortUUIDBytes_t(BLE_UUID_UNKNOWN));
+    static ble_error_t launch(Gap::Handle_t             connectionHandle,
+                              ServiceCallback_t         sc = NULL,
+                              CharacteristicCallback_t  cc = NULL,
+                              const UUID               &matchingServiceUUID = ShortUUIDBytes_t(BLE_UUID_UNKNOWN),
+                              const UUID               &matchingCharacteristicUUIDIn = ShortUUIDBytes_t(BLE_UUID_UNKNOWN));
 
     static void        terminate(void);