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:
475:eb7fbcfb0e85
Child:
477:6883ec08f2dd
Commit message:
Synchronized with git rev aedbcb6b
Author: Rohit Grover
CharacteristicCallback_t should take 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
@@ -26,7 +26,7 @@
 class ServiceDiscovery {
 public:
     typedef void (*ServiceCallback_t)(const DiscoveredService &);
-    typedef void (*CharacteristicCallback_t)(const DiscoveredCharacteristic &);
+    typedef void (*CharacteristicCallback_t)(const DiscoveredCharacteristic *);
     typedef void (*TerminationCallback_t)(Gap::Handle_t connectionHandle);
 
 public: