nRF Connect SDK API 0.1.0
|
#include <enocean.h>
Data Fields | |
void(* | button )(struct bt_enocean_device *device, enum bt_enocean_button_action action, uint8_t changed, const uint8_t *opt_data, size_t opt_data_len) |
Callback for EnOcean Switch button presses. | |
void(* | sensor )(struct bt_enocean_device *device, const struct bt_enocean_sensor_data *data, const uint8_t *opt_data, size_t opt_data_len) |
Callback for EnOcean Sensor reports. | |
void(* | commissioned )(struct bt_enocean_device *device) |
Callback for EnOcean commissioning. | |
void(* | decommissioned )(struct bt_enocean_device *device) |
Callback for EnOcean decommissioning. | |
void(* | loaded )(struct bt_enocean_device *device) |
Callback for EnOcean devices being loaded from persistent storage. | |
EnOcean callback functions. All callbacks are optional.