Joshua Slater / BLE_API2

Fork of BLE_API by Bluetooth Low Energy

Files at this revision

API Documentation at this revision

Comitter:
rgrover1
Date:
Fri Jun 19 15:51:57 2015 +0100
Parent:
454:2e8fa82f5b88
Child:
456:ff4ffb69e19f
Commit message:
Synchronized with git rev bd866737
Author: Rohit Grover
merge versions of ServiceDiscovery::launch() into a single API.

Changed in this revision

public/ServiceDiscovery.h Show annotated file Show diff for this revision Revisions of this file
--- a/public/ServiceDiscovery.h	Fri Jun 19 15:51:57 2015 +0100
+++ b/public/ServiceDiscovery.h	Fri Jun 19 15:51:57 2015 +0100
@@ -139,13 +139,10 @@
 
 public:
     static ble_error_t launch(Gap::Handle_t            connectionHandle,
-                              ServiceCallback_t        sc,
-                              CharacteristicCallback_t cc = NULL);
-    static ble_error_t launch(Gap::Handle_t            connectionHandle,
-                              UUID                     matchingServiceUUIDIn,
-                              ServiceCallback_t        sc,
-                              UUID                     matchingCharacteristicUUIDIn = ShortUUIDBytes_t(BLE_UUID_UNKNOWN),
-                              CharacteristicCallback_t cc = NULL);
+                              ServiceCallback_t        sc = NULL,
+                              CharacteristicCallback_t cc = NULL,
+                              UUID                     matchingServiceUUID = ShortUUIDBytes_t(BLE_UUID_UNKNOWN),
+                              UUID                     matchingCharacteristicUUIDIn = ShortUUIDBytes_t(BLE_UUID_UNKNOWN));
 
     static void        terminate(void);