The different types of events.
Synopsis:
#include <peripheral_discovery.h>
typedef enum {
PD_EVENT_INSERTION = 0
PD_EVENT_REMOVAL = 1
PD_EVENT_UPDATE = 2
} pd_event_type_t;
Data:
- PD_EVENT_INSERTION
- A new peripheral was inserted.
- PD_EVENT_REMOVAL
- A peripheral was removed.
- PD_EVENT_UPDATE
- A peripheral was updated.
Library:
libperipheral_discovery (For the qcc command, use the -l peripheral_discovery option to link against this library)