updated the definition of service/Characteristic callbacks

This commit is contained in:
Rohit Grover 2015-05-06 15:40:07 +01:00
parent 9e043b07f1
commit 4ece950d3c

View file

@ -91,8 +91,8 @@ struct DiscoveredCharacteristic {
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,