|
enum | zb_zcl_en50523_appl_ev_and_alerts_recv_cmd_e { ZB_ZCL_CMD_EN50523_APPL_EV_AND_ALERTS_GET_ALERTS_ID = 0x00
} |
| EN50523 Appliance events and alerts cluster command received identifiers. More...
|
|
enum | zb_zcl_en50523_appl_ev_and_alerts_send_cmd_e { ZB_ZCL_CMD_EN50523_APPL_EV_AND_ALERTS_GET_ALERTS_RESP_ID = 0x00,
ZB_ZCL_CMD_EN50523_APPL_EV_AND_ALERTS_ALERTS_NOTIFICATION_ID = 0x01,
ZB_ZCL_CMD_EN50523_APPL_EV_AND_ALERTS_EVENT_NOTIFICATION_ID = 0x02
} |
| EN50523 Appliance events and alerts cluster commands generated identifiers. More...
|
|
enum | zb_zcl_en50523_appl_ev_and_alerts_alerts_type_e { ZB_ZCL_EN50523_APPL_EV_AND_ALERTS_ALERTS_TYPE_UNSTRUCTURED = 0x00
} |
| Type of alert.
|
|
enum | zb_zcl_en50523_appl_ev_and_alerts_alert_category_e { ZB_ZCL_EN50523_APPL_EV_AND_ALERTS_ALERT_CATEGORY_WARNING = 0x01,
ZB_ZCL_EN50523_APPL_EV_AND_ALERTS_ALERT_CATEGORY_DANGER = 0x02,
ZB_ZCL_EN50523_APPL_EV_AND_ALERTS_ALERT_CATEGORY_FAILURE = 0x03
} |
| Alert category.
|
|
enum | zb_zcl_en50523_appl_ev_and_alerts_alert_presence_e { ZB_ZCL_EN50523_APPL_EV_AND_ALERTS_ALERT_RECOVERY = 0x00,
ZB_ZCL_EN50523_APPL_EV_AND_ALERTS_ALERT_PRESENCE = 0x01
} |
| Alert presence recovery.
|
|
enum | zb_zcl_en50523_appl_ev_and_alerts_event_identification_e {
ZB_ZCL_EN50523_APPL_EV_AND_ALERTS_EVENT_ID_END_OF_CYCLE = 0x01,
ZB_ZCL_EN50523_APPL_EV_AND_ALERTS_EVENT_ID_TEMP_REACHED = 0x04,
ZB_ZCL_EN50523_APPL_EV_AND_ALERTS_EVENT_ID_END_OF_COOKING = 0x05,
ZB_ZCL_EN50523_APPL_EV_AND_ALERTS_EVENT_ID_SWITCHING_OFF = 0x06,
ZB_ZCL_EN50523_APPL_EV_AND_ALERTS_EVENT_ID_WRONG_DATA = 0xf7
} |
| Event Identificatoin.
|
|
typedef struct
zb_zcl_en50523_appl_ev_and_alerts_alert_struct_s | zb_zcl_en50523_appl_ev_and_alerts_alert_struct_t |
| Alert structure.
|
|
typedef struct
zb_zcl_en50523_appl_ev_and_alerts_get_alerts_resp_s | zb_zcl_en50523_appl_ev_and_alerts_get_alerts_resp_t |
| Structure representsation of Get Alerts Response command.
|
|
typedef struct
zb_zcl_en50523_appl_ev_and_alerts_alerts_notif_s | zb_zcl_en50523_appl_ev_and_alerts_alerts_notif_t |
| Structure representsation of Alerts Notification command.
|
|
typedef struct
zb_zcl_en50523_appl_ev_and_alerts_event_notif_s | zb_zcl_en50523_appl_ev_and_alerts_event_notif_t |
| Structure representsation of Event Notification command. More...
|
|
#define | ZB_ZCL_CLUSTER_ID_APPL_EV_AND_ALERTS_SERVER_ROLE_RECEIVED_CMD_LIST ZB_ZCL_CMD_EN50523_APPL_EV_AND_ALERTS_GET_ALERTS_ID |
|
#define | ZB_ZCL_CLUSTER_ID_APPL_EV_AND_ALERTS_SERVER_ROLE_GENERATED_CMD_LIST |
|
#define | ZB_ZCL_CLUSTER_ID_APPL_EV_AND_ALERTS_CLIENT_ROLE_RECEIVED_CMD_LIST ZB_ZCL_CLUSTER_ID_APPL_EV_AND_ALERTS_SERVER_ROLE_GENERATED_CMD_LIST |
|
#define | ZB_ZCL_CLUSTER_ID_APPL_EV_AND_ALERTS_CLIENT_ROLE_GENERATED_CMD_LIST ZB_ZCL_CLUSTER_ID_APPL_EV_AND_ALERTS_SERVER_ROLE_RECEIVED_CMD_LIST |
|
#define | ZB_ZCL_EN50523_APPL_EV_AND_ALERTS_SEND_GET_ALERTS_REQ(buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, def_resp, cb) |
| Get Alerts command, ZCL spec 15.4.2.2.1. More...
|
|
#define | ZB_ZCL_EN50523_APPL_EV_AND_ALERTS_MAX_ALERTS_NUM 15 |
| Maximum number of Alerts.
|
|
#define | ZB_ZCL_EN50523_APPL_EV_AND_ALERTS_ALERTS_COUNT_GET_NUM(_alerts_count) ((_alerts_count) & 0x0F) |
| Get Number of Alerts.
|
|
#define | ZB_ZCL_EN50523_APPL_EV_AND_ALERTS_ALERTS_COUNT_SET_NUM(_alerts_count, num) ((_alerts_count) |= (num & 0x0F)) |
| Set Number of Alerts.
|
|
#define | ZB_ZCL_EN50523_APPL_EV_AND_ALERTS_ALERTS_COUNT_GET_TYPE(_alerts_count) (((_alerts_count) & 0xF0) >> 4) |
| Get Type of alert.
|
|
#define | ZB_ZCL_EN50523_APPL_EV_AND_ALERTS_ALERTS_COUNT_SET_TYPE(_alerts_count, type) ((_alerts_count) |= ((type & 0x0F) << 4)) |
| Set Type of alert.
|
|
#define | ZB_ZCL_EN50523_APPL_EV_AND_ALERTS_ALERT_STRUCT_GET_ID(_alert_struct) ((_alert_struct).alert[2] & 0xFF) |
| Get Alert ID.
|
|
#define | ZB_ZCL_EN50523_APPL_EV_AND_ALERTS_ALERT_STRUCT_SET_ID(_alert_struct, id) ((_alert_struct).alert[2] = (id & 0xFF)) |
| Set Alert ID.
|
|
#define | ZB_ZCL_EN50523_APPL_EV_AND_ALERTS_ALERT_STRUCT_GET_CATEGORY(_alert_struct) ((_alert_struct).alert[1] & 0x0F) |
| Get Alert Category.
|
|
#define | ZB_ZCL_EN50523_APPL_EV_AND_ALERTS_ALERT_STRUCT_SET_CATEGORY(_alert_struct, cat) ((_alert_struct).alert[1] |= (cat & 0x0F)) |
| Set Alert Category.
|
|
#define | ZB_ZCL_EN50523_APPL_EV_AND_ALERTS_ALERT_STRUCT_GET_PRESENCE(_alert_struct) (((_alert_struct).alert[1] & 0xF0) >> 4) |
| Get Alert Presence recovery.
|
|
#define | ZB_ZCL_EN50523_APPL_EV_AND_ALERTS_ALERT_STRUCT_SET_PRESENCE(_alert_struct, pres) ((_alert_struct).alert[1] |= (pres & 0x0F) << 4) |
| Set Alert Presence recovery.
|
|
#define | ZB_ZCL_EN50523_APPL_EV_AND_ALERTS_ALERT_STRUCT_GET_MANUF_SPEC(_alert_struct) ((_alert_struct).alert[0] & 0xFF) |
| Get Alert Manufacturer specific bits.
|
|
#define | ZB_ZCL_EN50523_APPL_EV_AND_ALERTS_ALERT_STRUCT_SET_MANUF_SPEC(_alert_struct, val) ((_alert_struct).alert[0] = (val & 0xFF)) |
| Set Alert Manufacturer specific bits.
|
|
#define | ZB_ZCL_EN50523_APPL_EV_AND_ALERTS_GET_ALERTS_RESP_PAYLOAD_SIZE(ptr) |
|
#define | ZB_ZCL_EN50523_APPL_EV_AND_ALERTS_SEND_GET_ALERTS_RESP_START(buffer, seq, alerts_count, ptr) |
| Start Get Alerts Response command, ZCL spec 15.4.2.3.1. More...
|
|
#define | ZB_ZCL_EN50523_APPL_EV_AND_ALERTS_SEND_GET_ALERTS_RESP_ADD(ptr, alert_struct) |
| Add Alert Structure to Get Alerts Response command, ZCL spec 15.4.2.3.1. More...
|
|
#define | ZB_ZCL_EN50523_APPL_EV_AND_ALERTS_SEND_GET_ALERTS_RESP_END(ptr, buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id) |
| End form Get Alerts Response command and send it, ZCL spec 15.4.2.3.1. More...
|
|
#define | ZB_ZCL_EN50523_APPL_EV_AND_ALERTS_GET_GET_ALERTS_RESP(data_ptr, buffer, status) |
| Macro for getting Get Alerts Response command, ZCL spec 15.4.2.3.1. More...
|
|
#define | ZB_ZCL_EN50523_APPL_EV_AND_ALERTS_ALERTS_NOTIF_PAYLOAD_SIZE(ptr) |
|
#define | ZB_ZCL_EN50523_APPL_EV_AND_ALERTS_SEND_ALERTS_NOTIF_START(buffer, def_resp, alerts_count, ptr) |
| Start Alerts Notification command, ZCL spec 15.4.2.3.2. More...
|
|
#define | ZB_ZCL_EN50523_APPL_EV_AND_ALERTS_SEND_ALERTS_NOTIF_ADD(ptr, alert_struct) |
| Add Alert Structure to Alerts Notification command, ZCL spec 15.4.2.3.2. More...
|
|
#define | ZB_ZCL_EN50523_APPL_EV_AND_ALERTS_SEND_ALERTS_NOTIF_END(ptr, buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, cb) |
| End form Alerts Notification command and send it, ZCL spec 15.4.2.3.2. More...
|
|
#define | ZB_ZCL_EN50523_APPL_EV_AND_ALERTS_GET_ALERTS_NOTIF(data_ptr, buffer, status) |
| Macro for getting Alerts Notification command, ZCL spec 15.4.2.3.2. More...
|
|
#define | ZB_ZCL_EN50523_APPL_EV_AND_ALERTS_SEND_EVENT_NOTIF(buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, def_resp, cb,event_identification) |
| Event Notification command, ZCL spec 15.4.2.3.3. More...
|
|
#define | ZB_ZCL_EN50523_APPL_EV_AND_ALERTS_GET_EVENT_NOTIF(data_ptr, buffer, status) |
| Macro for getting Event Notification command, see ZCL spec 15.4.2.3.3. More...
|
|