updated the definition of service/Characteristic callbacks

master
Rohit Grover 2015-05-06 15:40:07 +01:00
parent 9e043b07f1
commit 4ece950d3c
1 changed files with 2 additions and 2 deletions

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,