Oscar Ariza / nRF51822

Fork of nRF51822 by Nordic Semiconductor

Files at this revision

API Documentation at this revision

Comitter:
rgrover1
Date:
Fri Jun 19 15:55:23 2015 +0100
Parent:
253:4b3f294415f5
Child:
255:c14e1d09f197
Commit message:
Synchronized with git rev 4ece950d
Author: Rohit Grover
updated the definition of service/Characteristic callbacks

Changed in this revision

btle/btle_discovery.h Show annotated file Show diff for this revision Revisions of this file
--- a/btle/btle_discovery.h	Fri Jun 19 15:55:22 2015 +0100
+++ b/btle/btle_discovery.h	Fri Jun 19 15:55:23 2015 +0100
@@ -91,8 +91,8 @@
 
 class ServiceDiscovery {
 public:
-    typedef void (*ServiceCallback_t)(void);
-    typedef void (*CharacteristicCallback_t)(void);
+    typedef void (*ServiceCallback_t)(const DiscoveredService &);
+    typedef void (*CharacteristicCallback_t)(const DiscoveredCharacteristic &);
 
 public:
     static ble_error_t launch(Gap::Handle_t            connectionHandle,