test

Fork of nRF51822 by Nordic Semiconductor

Revision:
253:f30c1233e9db
Parent:
252:4b3f294415f5
Child:
256:2f2e9f1d6275
--- 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,