DiscoveredService callback now takes a pointer instead of a reference.

This commit is contained in:
Rohit Grover 2015-06-02 09:25:56 +01:00
parent 7cf2bbb43a
commit 9849c09adb
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@
class ServiceDiscovery {
public:
typedef void (*ServiceCallback_t)(const DiscoveredService &);
typedef void (*ServiceCallback_t)(const DiscoveredService *);
typedef void (*CharacteristicCallback_t)(const DiscoveredCharacteristic *);
typedef void (*TerminationCallback_t)(Gap::Handle_t connectionHandle);