Data Structures | |
struct | zb_zcl_identify_callbacks_s |
callback specific to Identify HA extension More... | |
struct | zb_zcl_identify_ez_mode_invoke_ha_s |
Structure representation of EZ-Mode Invoke - HA extension see HA spec 8.3.12.1. More... | |
struct | zb_zcl_identify_update_commission_state_ha_s |
Structure representation of Update Commission State - HA extension see HA spec 8.3.12.2. More... | |
Identify cluster commands - extension for HA | |
enum | zb_zcl_identify_req_cmd_ha_e { ZB_ZCL_CMD_IDENTIFY_EZ_MODE_INVOKE_ID = 0x02, ZB_ZCL_CMD_IDENTIFY_UPDATE_COMMISSION_STATE_ID = 0x03 } |
Identify cluster request command identifiers - HA extension. More... | |
enum | zb_zcl_identify_ez_mode_invoke_action_ha_e { ZB_ZCL_ATTR_IDENTIFY_EZ_MODE_INVOKE_FACTORY_FRESH = 1 << 0, ZB_ZCL_ATTR_IDENTIFY_EZ_MODE_INVOKE_NETWORK_STEERING = 1 << 1, ZB_ZCL_ATTR_IDENTIFY_EZ_MODE_INVOKE_FINDING_BINDING = 1 << 2 } |
EZ-Mode Invoke command Action attribute flags. More... | |
enum | zb_zcl_identify_update_commission_state_action_ha_e { ZB_ZCL_ATTR_IDENTIFY_UPDATE_COMMISSION_STATE_NULL = 1 << 0, ZB_ZCL_ATTR_IDENTIFY_UPDATE_COMMISSION_STATE_SET = 1 << 1, ZB_ZCL_ATTR_IDENTIFY_UPDATE_COMMISSION_STATE_CLEAR = 1 << 2 } |
Update Commission State command Action attribute flags. More... | |
typedef struct zb_zcl_identify_ez_mode_invoke_ha_s | zb_zcl_identify_ez_mode_invoke_ha_t |
Structure representation of EZ-Mode Invoke - HA extension see HA spec 8.3.12.1. | |
typedef struct zb_zcl_identify_update_commission_state_ha_s | zb_zcl_identify_update_commission_state_ha_t |
Structure representation of Update Commission State - HA extension see HA spec 8.3.12.2. | |
#define | ZB_ZCL_IDENTIFY_SEND_EZ_MODE_INVOKE_HA_REQ(buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, def_resp, cb, action) |
EZ-Mode Invoke command - HA extension, see HA spec 8.3.12.1. More... | |
#define | ZB_ZCL_IDENTIFY_GET_EZ_MODE_INVOKE_HA_REQ(data_ptr, buffer, status) |
Macro for getting EZ-Mode Invoke command - HA extension, see HA spec 8.3.12.1. More... | |
#define | ZB_ZCL_IDENTIFY_SEND_UPDATE_COMMISSION_STATE_HA_REQ(buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, def_resp, cb,action, commission_state_mask) |
Update Commission State command - HA extension, see HA spec 8.3.12.2. More... | |
#define | ZB_ZCL_IDENTIFY_GET_UPDATE_COMMISSION_STATE_HA_REQ(data_ptr, buffer, status) |
Macro for getting Update Commission State command - HA extension, see HA spec 8.3.12.2. More... | |
HA extensions for Identify cluster
#define ZB_ZCL_IDENTIFY_GET_EZ_MODE_INVOKE_HA_REQ | ( | data_ptr, | |
buffer, | |||
status | |||
) |
Macro for getting EZ-Mode Invoke command - HA extension, see HA spec 8.3.12.1.
data_ptr | - pointer to a variable of type zb_zcl_identify_ez_mode_invoke_ha_t |
buffer | - buffer containing the packet (by pointer) |
status | - variable to put parse status to (see zb_zcl_parse_status_t) |
#define ZB_ZCL_IDENTIFY_GET_UPDATE_COMMISSION_STATE_HA_REQ | ( | data_ptr, | |
buffer, | |||
status | |||
) |
Macro for getting Update Commission State command - HA extension, see HA spec 8.3.12.2.
data_ptr | - pointer to a variable of type zb_zcl_identify_update_commission_state_ha_s |
buffer | containing the packet (by pointer) |
status | - variable to put parse status to (see zb_zcl_parse_status_t) |
#define ZB_ZCL_IDENTIFY_SEND_EZ_MODE_INVOKE_HA_REQ | ( | buffer, | |
addr, | |||
dst_addr_mode, | |||
dst_ep, | |||
ep, | |||
prfl_id, | |||
def_resp, | |||
cb, | |||
action | |||
) |
EZ-Mode Invoke command - HA extension, see HA spec 8.3.12.1.
buffer | - to put packet to |
addr | - address to send packet to |
dst_addr_mode | - addressing mode |
dst_ep | - destination endpoint |
ep | - sending endpoint |
prfl_id | - profile identifier |
def_resp | - default response |
cb | - callback for getting command send status |
action | - Action, see zb_zcl_identify_ez_mode_invoke_action_ha_e |
#define ZB_ZCL_IDENTIFY_SEND_UPDATE_COMMISSION_STATE_HA_REQ | ( | buffer, | |
addr, | |||
dst_addr_mode, | |||
dst_ep, | |||
ep, | |||
prfl_id, | |||
def_resp, | |||
cb, | |||
action, | |||
commission_state_mask | |||
) |
Update Commission State command - HA extension, see HA spec 8.3.12.2.
buffer | - to put packet to |
addr | - address to send packet to |
dst_addr_mode | - addressing mode |
dst_ep | - destination endpoint |
ep | - sending endpoint |
prfl_id | - profile identifier |
def_resp | - default response |
cb | - callback for getting command send status |
action | - Action, see zb_zcl_identify_update_commission_state_action_ha_e |
commission_state_mask | - Commission State Mask, see zb_zcl_identify_commission_state_ha_e |
typedef zb_uint8_t(* zb_zcl_identify_ez_mode_invoke_cb)(zb_uint8_t action) |
Callback for EZ-Mode Invoke command, see HA Spec 8.3.12.1
typedef zb_uint8_t(* zb_zcl_identify_update_commission_state_cb)(zb_uint8_t action, zb_uint8_t commission_state_mask) |
Callback for EZ-Mode Invoke command, see HA Spec 8.3.12.2
Identify cluster - extension for HA attribute identifiers.
Enumerator | |
---|---|
ZB_ZCL_ATTR_IDENTIFY_COMMISSION_STATE_HA_ID |
Commission State attribute, HA spec 8.3.11.1. |
ZB_ZCL_ATTR_IDENTIFY_CALLBACKS_HA_ID |
Struct with pointers on User App callbacks for EZ-Mode Invoke and Update Commission State commands see zb_zcl_identify_callbacks_t, HA Spec 8.3.12. |
EZ-Mode Invoke command Action attribute flags.
Update Commission State command Action attribute flags.
zb_void_t zb_zcl_identify_register | ( | zb_uint8_t | endpoint, |
zb_zcl_identify_ez_mode_invoke_cb | ez_mode_invoke_cb, | ||
zb_zcl_identify_update_commission_state_cb | update_commission_state_cb | ||
) |
Set User App callbacks for Identify cluster request command,.
endpoint | - endpoint for which callbacks are to be registered |
ez_mode_invoke_cb | - see zb_zcl_identify_ez_mode_invoke_cb |
update_commission_state_cb | - see zb_zcl_identify_update_commission_state_cb |