CharacteristicCallback_t should take a pointer instead of a reference

This commit is contained in:
Rohit Grover 2015-06-02 09:01:44 +01:00
parent a5eeb92a05
commit aedbcb6bfa
1 changed files with 1 additions and 1 deletions

View File

@ -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: