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:52:00 2015 +0100
Parent:
477:6883ec08f2dd
Child:
479:dbcb964cc288
Commit message:
Synchronized with git rev 9849c09a
Author: Rohit Grover
DiscoveredService callback now takes a pointer instead of a reference.

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:52:00 2015 +0100
+++ b/public/ServiceDiscovery.h	Fri Jun 19 15:52:00 2015 +0100
@@ -25,7 +25,7 @@
 
 class ServiceDiscovery {
 public:
-    typedef void (*ServiceCallback_t)(const DiscoveredService &);
+    typedef void (*ServiceCallback_t)(const DiscoveredService *);
     typedef void (*CharacteristicCallback_t)(const DiscoveredCharacteristic *);
     typedef void (*TerminationCallback_t)(Gap::Handle_t connectionHandle);