nRF5 SDK for Thread and Zigbee v3.2.0
Data Structures
ZCL IAS ACE cluster

Data Structures

struct  zb_zcl_ias_ace_zone_table_s
 Structure representsation of IAS ACE Zone Table see ZCL spec 8.3.2.3, table 8.11. More...
 
struct  zb_zcl_ias_ace_arm_s
 Structure representsation of Arm command, ZCL spec 8.3.2.4.1.1. More...
 
struct  zb_zcl_ias_ace_bypass_s
 Structure representsation of Bypass command, ZCL spec 8.3.2.4.2.1. More...
 
struct  zb_zcl_ias_ace_get_zone_info_s
 Structure representsation of Get Zone Information command, ZCL spec 8.3.2.4.5. More...
 
struct  zb_zcl_ias_ace_get_zone_status_s
 Structure representsation of Get Zone Status command, ZCL spec 8.3.2.3.8.1. More...
 
struct  zb_zcl_ias_ace_arm_resp_s
 Structure representation of Arm Response command, ZCL spec 8.3.2.5.1. More...
 
struct  zb_zcl_ias_ace_get_zone_id_map_resp_s
 Structure representsation of Get Zone ID Map Response command, ZCL spec 8.3.2.5.2.1. More...
 
struct  zb_zcl_ias_ace_get_zone_info_resp_s
 Structure representsation of Get Zone Information Response command, ZCL spec 8.3.2.5.3.1 see @ ref zb_zcl_ias_ace_zone_table_s. More...
 
struct  zb_zcl_ias_ace_zone_status_changed_s
 Structure representsation of Zone Status Changed command, ZCL spec 8.3.2.4.4. More...
 
struct  zb_zcl_ias_ace_panel_status_changed_s
 Structure representsation of Panel Status Changed command, ZCL spec 8.3.2.4.5. More...
 
struct  zb_zcl_ias_ace_get_panel_status_resp_s
 Structure representsation of Get Panel Status Response command, ZCL spec 8.3.2.4.6. More...
 
struct  zb_zcl_ias_ace_set_bypassed_zone_list_s
 Structure representsation of Set Bypassed Zone List command, ZCL spec 8.3.2.4.7. More...
 
struct  zb_zcl_ias_ace_bypass_resp_s
 Structure representsation of Bypass Response command, ZCL spec 8.3.2.4.8. More...
 
struct  zb_zcl_ias_ace_zone_status_s
 IAS ACE Zone Status structure. More...
 
struct  zb_zcl_ias_ace_get_zone_status_resp_s
 Structure representsation of Get Zone Status Response command, ZCL spec 8.3.2.4.9. More...
 

IAS Ace cluster attributes

enum  zb_zcl_ias_ace_attr_e { ZB_ZCL_ATTR_IAS_ACE_ZONE_TABLE_LENGTH_ID = 0xeffe, ZB_ZCL_ATTR_IAS_ACE_ZONE_TABLE_ID = 0xefff }
 IAS Ace cluster custom attribute identifiers. More...
 
typedef struct
zb_zcl_ias_ace_zone_table_s 
zb_zcl_ias_ace_zone_table_t
 Structure representsation of IAS ACE Zone Table see ZCL spec 8.3.2.3, table 8.11.
 
#define ZB_ZCL_IAS_ACE_ZONE_TABLE_LENGTH   255
 IAS ACE Zone Table maximum length.
 
#define ZB_ZCL_IAS_ACE_ZONE_TYPE_MAX_VALUE   0xfffe
 IAS ACE ZoneType attribute maximum value.
 
#define ZB_ZCL_IAS_ACE_ZONE_ID_MAX_VALUE   0xfe
 IAS ACE ZoneID attribute maximum value.
 
#define ZB_ZCL_IAS_ACE_ZONE_ID_DEFAULT_VALUE   0
 IAS ACE ZoneID attribute default value.
 
#define ZB_ZCL_IAS_ACE_SET_ZONE_ADDRESS_DEFAULT_VALUE(ptr)   (ZB_IEEE_ADDR_COPY(ptr, &g_unknown_ieee_addr))
 IAS ACE Set Zone Address default value.
 
#define ZB_ZCL_DECLARE_IAS_ACE_ATTRIB_LIST(attr_list, length, table)
 Declare attribute list for IAS Ace cluster - server side. More...
 

IAS Ace cluster commands

enum  zb_zcl_ias_ace_cmd_e {
  ZB_ZCL_CMD_IAS_ACE_ARM_ID = 0x00, ZB_ZCL_CMD_IAS_ACE_BYPASS_ID = 0x01, ZB_ZCL_CMD_IAS_ACE_EMERGENCY_ID = 0x02, ZB_ZCL_CMD_IAS_ACE_FIRE_ID = 0x03,
  ZB_ZCL_CMD_IAS_ACE_PANIC_ID = 0x04, ZB_ZCL_CMD_IAS_ACE_GET_ZONE_ID_MAP_ID = 0x05, ZB_ZCL_CMD_IAS_ACE_GET_ZONE_INFO_ID = 0x06, ZB_ZCL_CMD_IAS_ACE_GET_PANEL_STATUS_ID = 0x07,
  ZB_ZCL_CMD_IAS_ACE_GET_BYPASSED_ZONE_LIST_ID = 0x08, ZB_ZCL_CMD_IAS_ACE_GET_ZONE_STATUS_ID = 0x09
}
 IAS Ace cluster command identifiers. More...
 
enum  zb_zcl_ias_ace_resp_cmd_e {
  ZB_ZCL_CMD_IAS_ACE_ARM_RESP_ID = 0x00, ZB_ZCL_CMD_IAS_ACE_GET_ZONE_ID_MAP_RESP_ID = 0x01, ZB_ZCL_CMD_IAS_ACE_GET_ZONE_INFO_RESP_ID = 0x02, ZB_ZCL_CMD_IAS_ACE_ZONE_STATUS_CHANGED_ID = 0x03,
  ZB_ZCL_CMD_IAS_ACE_PANEL_STATUS_CHANGED_ID = 0x04, ZB_ZCL_CMD_IAS_ACE_GET_PANEL_STATUS_RESPONSE_ID = 0x05, ZB_ZCL_CMD_IAS_ACE_SET_BYPASSED_ZONE_LIST_ID = 0x06, ZB_ZCL_CMD_IAS_ACE_BYPASS_RESPONSE_ID = 0x07,
  ZB_ZCL_CMD_IAS_ACE_GET_ZONE_STATUS_RESPONSE_ID = 0x08
}
 IAS Ace cluster responce command identifiers. More...
 
enum  zb_zcl_ias_ace_arm_mode_e { ZB_ZCL_IAS_ACE_ARM_MODE_DISARM = 0x00, ZB_ZCL_IAS_ACE_ARM_MODE_DAY = 0x01, ZB_ZCL_IAS_ACE_ARM_MODE_NIGHT = 0x02, ZB_ZCL_IAS_ACE_ARM_MODE_ALL = 0x03 }
 Values of the Arm Mode see ZCL spec 8.3.2.4.1.2. More...
 
enum  zb_zcl_ias_ace_arm_not_e { ZB_ZCL_IAS_ACE_ARM_NOT_DISARM = 0x00, ZB_ZCL_IAS_ACE_ARM_NOT_DAY = 0x01, ZB_ZCL_IAS_ACE_ARM_NOT_NIGHT = 0x02, ZB_ZCL_IAS_ACE_ARM_NOT_ALL = 0x03 }
 Values of the Arm Notification see ZCL spec 8.3.2.5.1.2. More...
 
enum  zb_zcl_ias_ace_aud_notification_e { ZB_ZCL_IAS_ACE_AUD_NOTIFICATION_MUTE = 0x00, ZB_ZCL_IAS_ACE_AUD_NOTIFICATION_DEF_SOUND = 0x01, ZB_ZCL_IAS_ACE_AUD_NOTIFICATION_MANUF_SPECIFIC = 0x80 }
 IAS ACE Audible Notification Field. More...
 
enum  zb_zcl_ias_ace_panel_status_e {
  ZB_ZCL_IAS_ACE_PANEL_STATUS_DISARMED = 0x00, ZB_ZCL_IAS_ACE_PANEL_STATUS_ARMED_STAY = 0x01, ZB_ZCL_IAS_ACE_PANEL_STATUS_ARMED_NIGHT = 0x02, ZB_ZCL_IAS_ACE_PANEL_STATUS_ARMED_AWAY = 0x03,
  ZB_ZCL_IAS_ACE_PANEL_STATUS_EXIT_DELAY = 0x04, ZB_ZCL_IAS_ACE_PANEL_STATUS_ENTRY_DELAY = 0x05, ZB_ZCL_IAS_ACE_PANEL_STATUS_NOT_READY = 0x06, ZB_ZCL_IAS_ACE_PANEL_STATUS_IN_ALARM = 0x07,
  ZB_ZCL_IAS_ACE_PANEL_STATUS_ARMING_STAY = 0x08, ZB_ZCL_IAS_ACE_PANEL_STATUS_ARMING_NIGHT = 0x09, ZB_ZCL_IAS_ACE_PANEL_STATUS_ARMING_AWAY = 0x0a
}
 IAS ACE PanelStatus Parameter. More...
 
enum  zb_zcl_ias_ace_alarm_status_e {
  ZB_ZCL_IAS_ACE_ALARM_STATUS_NO_ALARM = 0x00, ZB_ZCL_IAS_ACE_ALARM_STATUS_BURGLAR = 0x01, ZB_ZCL_IAS_ACE_ALARM_STATUS_FIRE = 0x02, ZB_ZCL_IAS_ACE_ALARM_STATUS_EMERGENCY = 0x03,
  ZB_ZCL_IAS_ACE_ALARM_STATUS_POLICE_PANIC = 0x04, ZB_ZCL_IAS_ACE_ALARM_STATUS_FIRE_PANIC = 0x05, ZB_ZCL_IAS_ACE_ALARM_STATUS_EMERGENCY_PANIC = 0x06
}
 IAS ACE Alarm Status Field. More...
 
enum  zb_zcl_ias_ace_bypass_result_e {
  ZB_ZCL_IAS_ACE_BYPASS_RESULT_BYPASSED = 0x00, ZB_ZCL_IAS_ACE_BYPASS_RESULT_NOT_BYPASSED = 0x01, ZB_ZCL_IAS_ACE_BYPASS_RESULT_NOT_ALLOWED = 0x02, ZB_ZCL_IAS_ACE_BYPASS_RESULT_INVALID_ZONE_ID = 0x03,
  ZB_ZCL_IAS_ACE_BYPASS_RESULT_UNKNOWN_ZONE_ID = 0x04, ZB_ZCL_IAS_ACE_BYPASS_RESULT_INVALID_ARM_CODE = 0x05
}
 IAS ACE Bypass Result. More...
 
typedef struct zb_zcl_ias_ace_arm_s zb_zcl_ias_ace_arm_t
 Structure representsation of Arm command, ZCL spec 8.3.2.4.1.1.
 
typedef struct
zb_zcl_ias_ace_bypass_s 
zb_zcl_ias_ace_bypass_t
 Structure representsation of Bypass command, ZCL spec 8.3.2.4.2.1.
 
typedef struct
zb_zcl_ias_ace_get_zone_info_s 
zb_zcl_ias_ace_get_zone_info_t
 Structure representsation of Get Zone Information command, ZCL spec 8.3.2.4.5.
 
typedef struct
zb_zcl_ias_ace_get_zone_status_s 
zb_zcl_ias_ace_get_zone_status_t
 Structure representsation of Get Zone Status command, ZCL spec 8.3.2.3.8.1.
 
typedef struct
zb_zcl_ias_ace_arm_resp_s 
zb_zcl_ias_ace_arm_resp_t
 Structure representation of Arm Response command, ZCL spec 8.3.2.5.1.
 
typedef struct
zb_zcl_ias_ace_get_zone_id_map_resp_s 
zb_zcl_ias_ace_get_zone_id_map_resp_t
 Structure representsation of Get Zone ID Map Response command, ZCL spec 8.3.2.5.2.1.
 
typedef struct
zb_zcl_ias_ace_get_zone_info_resp_s 
zb_zcl_ias_ace_get_zone_info_resp_t
 Structure representsation of Get Zone Information Response command, ZCL spec 8.3.2.5.3.1 see @ ref zb_zcl_ias_ace_zone_table_s.
 
typedef struct
zb_zcl_ias_ace_zone_status_changed_s 
zb_zcl_ias_ace_zone_status_changed_t
 Structure representsation of Zone Status Changed command, ZCL spec 8.3.2.4.4.
 
typedef struct
zb_zcl_ias_ace_panel_status_changed_s 
zb_zcl_ias_ace_panel_status_changed_t
 Structure representsation of Panel Status Changed command, ZCL spec 8.3.2.4.5.
 
typedef struct
zb_zcl_ias_ace_get_panel_status_resp_s 
zb_zcl_ias_ace_get_panel_status_resp_t
 Structure representsation of Get Panel Status Response command, ZCL spec 8.3.2.4.6.
 
typedef struct
zb_zcl_ias_ace_set_bypassed_zone_list_s 
zb_zcl_ias_ace_set_bypassed_zone_list_t
 Structure representsation of Set Bypassed Zone List command, ZCL spec 8.3.2.4.7.
 
typedef struct
zb_zcl_ias_ace_bypass_resp_s 
zb_zcl_ias_ace_bypass_resp_t
 Structure representsation of Bypass Response command, ZCL spec 8.3.2.4.8.
 
typedef struct
zb_zcl_ias_ace_zone_status_s 
zb_zcl_ias_ace_zone_status_t
 IAS ACE Zone Status structure.
 
typedef struct
zb_zcl_ias_ace_get_zone_status_resp_s 
zb_zcl_ias_ace_get_zone_status_resp_t
 Structure representsation of Get Zone Status Response command, ZCL spec 8.3.2.4.9.
 
#define ZB_ZCL_IAS_ACE_ARM_REQ_PAYLOAD_SIZE(ptr)
 
#define ZB_ZCL_IAS_ACE_SEND_ARM_REQ(buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, def_resp, cb, arm_mode, arm_disarm_code, zone_id)
 Arm command, ZCL spec 8.3.2.4.1. More...
 
#define ZB_ZCL_IAS_ACE_GET_ARM_REQ(data_ptr, buffer, status)
 Macro for getting Arm command, see ZCL spec 8.3.2.4.1. More...
 
#define ZB_ZCL_IAS_ACE_BYPASS_PAYLOAD_SIZE(ptr)   (1+(ptr)[0]+1+ZB_ZCL_GET_STRING_LENGTH((ptr)+1+(ptr)[0]))
 
#define ZB_ZCL_IAS_ACE_SEND_BYPASS_REQ_START(buffer, def_resp, length, ptr)
 Start Bypass command, ZCL spec 8.3.2.4.1. More...
 
#define ZB_ZCL_IAS_ACE_SEND_BYPASS_REQ_ADD(ptr, zone_id)
 Add Zone Id to Bypass command, ZCL spec 8.3.2.4.1. More...
 
#define ZB_ZCL_IAS_ACE_SEND_BYPASS_REQ_END(ptr, buffer, arm_disarm_code, addr, dst_addr_mode, dst_ep, ep, prfl_id, cb)
 End form Bypass command and send it, ZCL spec 8.3.2.4.1. More...
 
#define ZB_ZCL_IAS_ACE_GET_BYPASS_REQ(data_ptr, buffer, status)
 Macro for getting Bypass command, see ZCL spec 8.3.2.4.1. More...
 
#define ZB_ZCL_IAS_ACE_SEND_EMERGENCY_REQ(buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, def_resp, cb)
 Emergency command, ZCL spec 8.3.2.4.3. More...
 
#define ZB_ZCL_IAS_ACE_SEND_FIRE_REQ(buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, def_resp, cb)
 Fire command, ZCL spec 8.3.2.4.3. More...
 
#define ZB_ZCL_IAS_ACE_SEND_PANIC_REQ(buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, def_resp, cb)
 Panic command, ZCL spec 8.3.2.4.3. More...
 
#define ZB_ZCL_IAS_ACE_SEND_GET_ZONE_ID_MAP_REQ(buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, def_resp, cb)
 Get Zone ID Map command, ZCL spec 8.3.2.4.4. More...
 
#define ZB_ZCL_IAS_ACE_SEND_GET_ZONE_INFO_REQ(buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, def_resp, cb,zone_id)
 Get Zone Information command, ZCL spec 8.3.2.4.5. More...
 
#define ZB_ZCL_IAS_ACE_GET_GET_ZONE_INFO_REQ(data_ptr, buffer, status)
 Macro for getting Get Zone Information command, ZCL spec 8.3.2.4.5. More...
 
#define ZB_ZCL_IAS_ACE_SEND_GET_PANEL_STATUS_REQ(buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, def_resp, cb)
 Get Panel Status command, ZCL spec 8.3.2.3.6. More...
 
#define ZB_ZCL_IAS_ACE_SEND_GET_BYPASSED_ZONE_LIST_REQ(buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, def_resp, cb)
 Get Bypassed Zone List command, ZCL spec 8.3.2.3.7. More...
 
#define ZB_ZCL_IAS_ACE_SEND_GET_ZONE_STATUS_REQ(buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, def_resp, cb,starting_zone_id, max_num_zone_ids, zone_status_mask_flag,zone_status_mask)
 Get Zone Status command, ZCL spec 8.3.2.3.8. More...
 
#define ZB_ZCL_IAS_ACE_GET_GET_ZONE_STATUS_REQ(data_ptr, buffer, status)
 Macro for getting Get Zone Status command, ZCL spec 8.3.2.3.8. More...
 
#define ZB_ZCL_IAS_ACE_SEND_ARM_RESP(buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, seq,arm_notification)
 Arm Response command, ZCL spec 8.3.2.5.1. More...
 
#define ZB_ZCL_IAS_ACE_GET_ARM_RESP(data_ptr, buffer, status)
 Macro for getting Arm Response command, ZCL spec 8.3.2.5.1. More...
 
#define ZB_ZCL_IAS_ACE_GET_ZONE_ID_MAP_LENGTH   16
 Length of array of Bitmap of Zone ID Map, ZCL spec 8.3.2.5.2.1.
 
#define ZB_ZCL_IAS_ACE_SEND_GET_ZONE_ID_MAP_RESP(buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, seq,zone_id_map)
 Get Zone ID Map Response command, ZCL spec 8.3.2.5.2. More...
 
#define ZB_ZCL_IAS_ACE_GET_GET_ZONE_ID_MAP_RESP(data_ptr, buffer, status)
 Macro for getting Get Zone ID Map Response command, ZCL spec 8.3.2.5.2. More...
 
#define ZB_ZCL_IAS_ACE_GET_ZONE_INFO_TYPE_NONE   0xffff
 Zone Type is empty, ZCL spec 8.3.2.5.3.1.
 
#define ZB_ZCL_IAS_ACE_GET_ZONE_INFO_RESP_PAYLOAD_SIZE(ptr)
 
#define ZB_ZCL_IAS_ACE_SEND_GET_ZONE_INFO_RESP(buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, seq,zone_id, zone_type, address, zone_label)
 Get Zone Information Response command, ZCL spec 8.3.2.5.3. More...
 
#define ZB_ZCL_IAS_ACE_GET_GET_ZONE_INFO_RESP(data_ptr, buffer, status)
 Macro for getting Get Zone Information Response command, ZCL spec 8.3.2.5.3. More...
 
#define ZB_ZCL_IAS_ACE_ZONE_STATUS_CHANGED_PAYLOAD_SIZE(ptr)
 
#define ZB_ZCL_IAS_ACE_SEND_ZONE_STATUS_CHANGED_REQ(buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, def_resp, cb, zone_id, zone_status, aud_notification, zone_label)
 Zone Status Changed command, ZCL spec 8.3.2.4.4. More...
 
#define ZB_ZCL_IAS_ACE_GET_ZONE_STATUS_CHANGED_REQ(data_ptr, buffer, status)
 Macro for getting Zone Status Changed command, ZCL spec 8.3.2.4.4. More...
 
#define ZB_ZCL_IAS_ACE_SEND_PANEL_STATUS_CHANGED_REQ(buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, def_resp,cb, panel_status, seconds_remaining, aud_notification,alarm_status)
 Panel Status Changed command, ZCL spec 8.3.2.4.5. More...
 
#define ZB_ZCL_IAS_ACE_GET_PANEL_STATUS_CHANGED_REQ(data_ptr, buffer, status)
 Macro for getting Panel Status Changed command, ZCL spec 8.3.2.4.5. More...
 
#define ZB_ZCL_IAS_ACE_SEND_GET_PANEL_STATUS_RESP(buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, seq,panel_status, seconds_remaining, aud_notification,alarm_status)
 Get Panel Status Response command, ZCL spec 8.3.2.4.6. More...
 
#define ZB_ZCL_IAS_ACE_GET_GET_PANEL_STATUS_RESP(data_ptr, buffer, status)
 Macro for getting Get Panel Status Response command, ZCL spec 8.3.2.4.6. More...
 
#define ZB_ZCL_IAS_ACE_SET_BYPASSED_ZONE_LIST_PAYLOAD_SIZE(ptr)
 
#define ZB_ZCL_IAS_ACE_SEND_SET_BYPASSED_ZONE_LIST_START(buffer, length, ptr)
 Start Set Bypassed Zone List command, ZCL spec 8.3.2.4.7. More...
 
#define ZB_ZCL_IAS_ACE_SEND_SET_BYPASSED_ZONE_LIST_START_RESP(buffer, seq, length, ptr)
 Start Set Bypassed Zone List command, ZCL spec 8.3.2.4.7 (response to the Get Bypassed Zone List command) More...
 
#define ZB_ZCL_IAS_ACE_SEND_SET_BYPASSED_ZONE_LIST_START_REQ(buffer, def_resp, length, ptr)
 Start Set Bypassed Zone List command, ZCL spec 8.3.2.4.7 (unsolicited request) More...
 
#define ZB_ZCL_IAS_ACE_SEND_SET_BYPASSED_ZONE_LIST_ADD(ptr, zone_id)
 Add Zone Id to Set Bypassed Zone List command, ZCL spec 8.3.2.4.7. More...
 
#define ZB_ZCL_IAS_ACE_SEND_SET_BYPASSED_ZONE_LIST_END(ptr, buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, cb)
 End form Set Bypassed Zone List command and send it, ZCL spec 8.3.2.4.7. More...
 
#define ZB_ZCL_IAS_ACE_GET_SET_BYPASSED_ZONE_LIST(data_ptr, buffer, status)
 Macro for getting Set Bypassed Zone List command, ZCL spec 8.3.2.4.7. More...
 
#define ZB_ZCL_IAS_ACE_BYPASS_RESP_PAYLOAD_SIZE(ptr)
 
#define ZB_ZCL_IAS_ACE_SEND_BYPASS_RESP_START(buffer, seq, length, ptr)
 Start Bypass Response command, ZCL spec 8.3.2.4.8. More...
 
#define ZB_ZCL_IAS_ACE_SEND_BYPASS_RESP_ADD(ptr, bypass_result)
 Add Bypass results to Bypass Response command, ZCL spec 8.3.2.4.8. More...
 
#define ZB_ZCL_IAS_ACE_SEND_BYPASS_RESP_END(ptr, buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id)
 End form Bypass Response command and send it, ZCL spec 8.3.2.4.8. More...
 
#define ZB_ZCL_IAS_ACE_GET_BYPASS_RESP(data_ptr, buffer, status)
 Macro for getting Bypass Response command, ZCL spec 8.3.2.4.8. More...
 
#define ZB_ZCL_IAS_ACE_GET_ZONE_STATUS_RESP_PAYLOAD_SIZE(ptr)
 
#define ZB_ZCL_IAS_ACE_SEND_GET_ZONE_STATUS_RESP_START(buffer, seq, zone_status_complete, length, ptr)
 Get Zone Status Response command, ZCL spec 8.3.2.4.9. More...
 
#define ZB_ZCL_IAS_ACE_SEND_GET_ZONE_STATUS_RESP_ADD(ptr, zone_id, zone_status)
 Add Zone Id and Zone Status to Get Zone Status Response command, ZCL spec 8.3.2.4.9. More...
 
#define ZB_ZCL_IAS_ACE_SEND_GET_ZONE_STATUS_RESP_END(ptr, buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id)
 End form Get Zone Status Response command and send it, ZCL spec 8.3.2.4.9. More...
 
#define ZB_ZCL_IAS_ACE_GET_GET_ZONE_STATUS_RESP(data_ptr, buffer, status)
 Macro for getting Get Zone Status Response command, ZCL spec 8.3.2.4.9. More...
 

Detailed Description

Macro Definition Documentation

#define ZB_ZCL_DECLARE_IAS_ACE_ATTRIB_LIST (   attr_list,
  length,
  table 
)
Value:
ZB_ZCL_START_DECLARE_ATTRIB_LIST(attr_list) \
ZB_ZCL_SET_ATTR_DESC(ZB_ZCL_ATTR_IAS_ACE_ZONE_TABLE_LENGTH_ID, (length)) \
ZB_ZCL_SET_ATTR_DESC(ZB_ZCL_ATTR_IAS_ACE_ZONE_TABLE_ID, (table)) \
ZB_ZCL_FINISH_DECLARE_ATTRIB_LIST
Ace table ZCL spec 8.3.2.3.
Definition: zb_zcl_ias_ace.h:98
Ace table length, ZCL spec 8.3.2.3.
Definition: zb_zcl_ias_ace.h:96

Declare attribute list for IAS Ace cluster - server side.

Parameters
attr_list- attribute list name
length- (zb_uint16_t*) pointer to variable to store Length of IAS ACE Zone Table attribute, see ZCL spec 8.3.2.3, table 8.11
table- pointer to variable to store IAS ACE Zone Table attribute, see ZCL spec 8.3.2.3, table 8.11
#define ZB_ZCL_IAS_ACE_ARM_REQ_PAYLOAD_SIZE (   ptr)
Value:
(sizeof(zb_zcl_ias_ace_arm_t)-sizeof(((zb_zcl_ias_ace_arm_t *)(ptr))->arm_disarm_code)+ \
1+ZB_ZCL_GET_STRING_LENGTH(((zb_zcl_ias_ace_arm_t *)(ptr))->arm_disarm_code))
#define ZB_ZCL_GET_STRING_LENGTH(str)
Get ZCL string length.
Definition: zb_zcl_common.h:419
Structure representsation of Arm command, ZCL spec 8.3.2.4.1.1.
Definition: zb_zcl_ias_ace.h:257
struct zb_zcl_ias_ace_arm_s zb_zcl_ias_ace_arm_t
Structure representsation of Arm command, ZCL spec 8.3.2.4.1.1.

Arm request command payload size

#define ZB_ZCL_IAS_ACE_BYPASS_PAYLOAD_SIZE (   ptr)    (1+(ptr)[0]+1+ZB_ZCL_GET_STRING_LENGTH((ptr)+1+(ptr)[0]))

Bypass command payload size

#define ZB_ZCL_IAS_ACE_BYPASS_RESP_PAYLOAD_SIZE (   ptr)
Value:
(sizeof(zb_zcl_ias_ace_bypass_resp_t)-sizeof(((zb_zcl_ias_ace_bypass_resp_t *)(ptr))->bypass_result)+ \
((zb_zcl_ias_ace_bypass_resp_t *)(ptr))->length)
Structure representsation of Bypass Response command, ZCL spec 8.3.2.4.8.
Definition: zb_zcl_ias_ace.h:1384
struct zb_zcl_ias_ace_bypass_resp_s zb_zcl_ias_ace_bypass_resp_t
Structure representsation of Bypass Response command, ZCL spec 8.3.2.4.8.

Bypass Response command payload size

#define ZB_ZCL_IAS_ACE_GET_ARM_REQ (   data_ptr,
  buffer,
  status 
)
Value:
{ \
zb_uint8_t *data = ZB_BUF_BEGIN(buffer); \
if (ZB_BUF_LEN((buffer)) != \
{ \
} \
else \
{ \
ZB_ZCL_PACKET_GET_DATA8(&(data_ptr)->arm_mode, data); \
ZB_ZCL_PACKET_GET_STATIC_STRING((data_ptr)->arm_disarm_code, data); \
if (!data) \
{ \
} \
else \
{ \
ZB_ZCL_PACKET_GET_DATA8(&(data_ptr)->zone_id, data); \
} \
} \
}
Definition: zb_zcl_common.h:319
#define ZB_BUF_BEGIN(zbbuf)
Definition: zboss_api_core.h:767
#define ZB_ZCL_PACKET_GET_DATA8(dst_ptr, src_ptr)
Get 8-bit value from packet.
Definition: zb_zcl_common.h:1444
#define ZB_BUF_LEN(zbbuf)
Definition: zboss_api_core.h:776
Definition: zb_zcl_common.h:318
unsigned char zb_uint8_t
Project-local 1-byte unsigned int type.
Definition: zb_types.h:116
#define ZB_ZCL_IAS_ACE_ARM_REQ_PAYLOAD_SIZE(ptr)
Definition: zb_zcl_ias_ace.h:269
#define ZB_ZCL_PACKET_GET_STATIC_STRING(_zcl_str, data)
Definition: zb_zcl_common.h:1608

Macro for getting Arm command, see ZCL spec 8.3.2.4.1.

Attention
Assumes that ZCL header already cut.
Parameters
data_ptr- pointer to a variable of type zb_zcl_ias_ace_arm_s.
buffercontaining the packet (by pointer).
status- variable to put parse status to (see zb_zcl_parse_status_t).
#define ZB_ZCL_IAS_ACE_GET_ARM_RESP (   data_ptr,
  buffer,
  status 
)
Value:
{ \
if (ZB_BUF_LEN((buffer)) != sizeof(zb_zcl_ias_ace_arm_resp_t)) \
{ \
} \
else \
{ \
(data_ptr)->arm_notification = src_ptr->arm_notification; \
} \
}
Structure representation of Arm Response command, ZCL spec 8.3.2.5.1.
Definition: zb_zcl_ias_ace.h:727
Definition: zb_zcl_common.h:319
#define ZB_BUF_BEGIN(zbbuf)
Definition: zboss_api_core.h:767
#define ZB_BUF_LEN(zbbuf)
Definition: zboss_api_core.h:776
Definition: zb_zcl_common.h:318
struct zb_zcl_ias_ace_arm_resp_s zb_zcl_ias_ace_arm_resp_t
Structure representation of Arm Response command, ZCL spec 8.3.2.5.1.

Macro for getting Arm Response command, ZCL spec 8.3.2.5.1.

Attention
Assumes that ZCL header already cut.
Parameters
data_ptr- pointer to a variable of type zb_zcl_ias_ace_arm_resp_s.
buffercontaining the packet (by pointer).
status- variable to put parse status to (see zb_zcl_parse_status_t).
#define ZB_ZCL_IAS_ACE_GET_BYPASS_REQ (   data_ptr,
  buffer,
  status 
)
Value:
{ \
zb_uint8_t *data = ZB_BUF_BEGIN(buffer); \
{ \
} \
else \
{ \
ZB_ZCL_PACKET_GET_DATA8(&(data_ptr)->length, data); \
ZB_ZCL_PACKET_GET_DATA_N((data_ptr)->zone_id, data, (data_ptr)->length); \
ZB_ZCL_PACKET_GET_STATIC_STRING((data_ptr)->arm_disarm_code, data); \
if (!data) \
{ \
} \
else \
{ \
} \
} \
}
Definition: zb_zcl_common.h:319
#define ZB_BUF_BEGIN(zbbuf)
Definition: zboss_api_core.h:767
#define ZB_ZCL_PACKET_GET_DATA8(dst_ptr, src_ptr)
Get 8-bit value from packet.
Definition: zb_zcl_common.h:1444
#define ZB_BUF_LEN(zbbuf)
Definition: zboss_api_core.h:776
#define ZB_ZCL_IAS_ACE_BYPASS_PAYLOAD_SIZE(ptr)
Definition: zb_zcl_ias_ace.h:348
Definition: zb_zcl_common.h:318
#define ZB_ZCL_PACKET_GET_DATA_N(dst_ptr, src_ptr, n)
Get N-byte value from packet.
Definition: zb_zcl_common.h:1617
unsigned char zb_uint8_t
Project-local 1-byte unsigned int type.
Definition: zb_types.h:116
#define ZB_ZCL_PACKET_GET_STATIC_STRING(_zcl_str, data)
Definition: zb_zcl_common.h:1608

Macro for getting Bypass command, see ZCL spec 8.3.2.4.1.

Attention
Assumes that ZCL header already cut.
Parameters
data_ptr- pointer to a variable of type zb_zcl_ias_ace_bypass_s.
buffercontaining the packet (by pointer).
status- variable to put parse status to (see zb_zcl_parse_status_t).
#define ZB_ZCL_IAS_ACE_GET_BYPASS_RESP (   data_ptr,
  buffer,
  status 
)
Value:
{ \
zb_uint8_t *data = ZB_BUF_BEGIN(buffer); \
{ \
} \
else \
{ \
ZB_ZCL_PACKET_GET_DATA8(&(data_ptr)->length, data); \
ZB_ZCL_PACKET_GET_DATA_N((data_ptr)->bypass_result, data, (data_ptr)->length); \
} \
}
Definition: zb_zcl_common.h:319
#define ZB_BUF_BEGIN(zbbuf)
Definition: zboss_api_core.h:767
#define ZB_ZCL_PACKET_GET_DATA8(dst_ptr, src_ptr)
Get 8-bit value from packet.
Definition: zb_zcl_common.h:1444
#define ZB_BUF_LEN(zbbuf)
Definition: zboss_api_core.h:776
Definition: zb_zcl_common.h:318
#define ZB_ZCL_PACKET_GET_DATA_N(dst_ptr, src_ptr, n)
Get N-byte value from packet.
Definition: zb_zcl_common.h:1617
#define ZB_ZCL_IAS_ACE_BYPASS_RESP_PAYLOAD_SIZE(ptr)
Definition: zb_zcl_ias_ace.h:1394
unsigned char zb_uint8_t
Project-local 1-byte unsigned int type.
Definition: zb_types.h:116

Macro for getting Bypass Response command, ZCL spec 8.3.2.4.8.

Attention
Assumes that ZCL header already cut.
Parameters
data_ptr- pointer to a variable of type zb_zcl_ias_ace_bypass_resp_t.
buffercontaining the packet (by pointer).
status- variable to put parse status to (see zb_zcl_parse_status_t).
#define ZB_ZCL_IAS_ACE_GET_GET_PANEL_STATUS_RESP (   data_ptr,
  buffer,
  status 
)
Value:
{ \
zb_uint8_t *data = ZB_BUF_BEGIN(buffer); \
{ \
} \
else \
{ \
ZB_ZCL_PACKET_GET_DATA8(&(data_ptr)->panel_status, data); \
ZB_ZCL_PACKET_GET_DATA8(&(data_ptr)->seconds_remaining, data); \
ZB_ZCL_PACKET_GET_DATA8(&(data_ptr)->aud_notification, data); \
ZB_ZCL_PACKET_GET_DATA8(&(data_ptr)->alarm_status, data); \
} \
}
Definition: zb_zcl_common.h:319
#define ZB_BUF_BEGIN(zbbuf)
Definition: zboss_api_core.h:767
#define ZB_ZCL_PACKET_GET_DATA8(dst_ptr, src_ptr)
Get 8-bit value from packet.
Definition: zb_zcl_common.h:1444
#define ZB_BUF_LEN(zbbuf)
Definition: zboss_api_core.h:776
Definition: zb_zcl_common.h:318
unsigned char zb_uint8_t
Project-local 1-byte unsigned int type.
Definition: zb_types.h:116
Structure representsation of Panel Status Changed command, ZCL spec 8.3.2.4.5.
Definition: zb_zcl_ias_ace.h:1090

Macro for getting Get Panel Status Response command, ZCL spec 8.3.2.4.6.

Attention
Assumes that ZCL header already cut.
Parameters
data_ptr- pointer to a variable of type zb_zcl_ias_ace_get_panel_status_resp_t.
buffercontaining the packet (by pointer).
status- variable to put parse status to (see zb_zcl_parse_status_t).
#define ZB_ZCL_IAS_ACE_GET_GET_ZONE_ID_MAP_RESP (   data_ptr,
  buffer,
  status 
)
Value:
{ \
{ \
} \
else \
{ \
{ \
ZB_HTOLE16(&((data_ptr)->zone_id_map[i]), &(src_ptr->zone_id_map[i])); \
} \
} \
}
struct zb_zcl_ias_ace_get_zone_id_map_resp_s zb_zcl_ias_ace_get_zone_id_map_resp_t
Structure representsation of Get Zone ID Map Response command, ZCL spec 8.3.2.5.2.1.
Definition: zb_zcl_common.h:319
#define ZB_BUF_BEGIN(zbbuf)
Definition: zboss_api_core.h:767
#define ZB_BUF_LEN(zbbuf)
Definition: zboss_api_core.h:776
Definition: zb_zcl_common.h:318
#define ZB_ZCL_IAS_ACE_GET_ZONE_ID_MAP_LENGTH
Length of array of Bitmap of Zone ID Map, ZCL spec 8.3.2.5.2.1.
Definition: zb_zcl_ias_ace.h:785
unsigned char zb_uint8_t
Project-local 1-byte unsigned int type.
Definition: zb_types.h:116
Structure representsation of Get Zone ID Map Response command, ZCL spec 8.3.2.5.2.1.
Definition: zb_zcl_ias_ace.h:788

Macro for getting Get Zone ID Map Response command, ZCL spec 8.3.2.5.2.

Attention
Assumes that ZCL header already cut.
Parameters
data_ptr- pointer to a variable of type zb_zcl_ias_ace_get_zone_id_map_resp_s.
buffercontaining the packet (by pointer).
status- variable to put parse status to (see zb_zcl_parse_status_t).
#define ZB_ZCL_IAS_ACE_GET_GET_ZONE_INFO_REQ (   data_ptr,
  buffer,
  status 
)
Value:
{ \
if (ZB_BUF_LEN((buffer)) != sizeof(zb_zcl_ias_ace_get_zone_info_t)) \
{ \
} \
else \
{ \
(data_ptr)->zone_id = src_ptr->zone_id; \
} \
}
struct zb_zcl_ias_ace_get_zone_info_s zb_zcl_ias_ace_get_zone_info_t
Structure representsation of Get Zone Information command, ZCL spec 8.3.2.4.5.
Structure representsation of Get Zone Information command, ZCL spec 8.3.2.4.5.
Definition: zb_zcl_ias_ace.h:529
Definition: zb_zcl_common.h:319
#define ZB_BUF_BEGIN(zbbuf)
Definition: zboss_api_core.h:767
#define ZB_BUF_LEN(zbbuf)
Definition: zboss_api_core.h:776
Definition: zb_zcl_common.h:318

Macro for getting Get Zone Information command, ZCL spec 8.3.2.4.5.

Attention
Assumes that ZCL header already cut.
Parameters
data_ptr- pointer to a variable of type zb_zcl_ias_ace_get_zone_info_s.
buffercontaining the packet (by pointer).
status- variable to put parse status to (see zb_zcl_parse_status_t).
#define ZB_ZCL_IAS_ACE_GET_GET_ZONE_INFO_RESP (   data_ptr,
  buffer,
  status 
)
Value:
{ \
zb_uint8_t *data = ZB_BUF_BEGIN(buffer); \
{ \
} \
else \
{ \
ZB_ZCL_PACKET_GET_DATA8(&(data_ptr)->zone_id, data); \
ZB_ZCL_PACKET_GET_DATA16(&(data_ptr)->zone_type, data); \
ZB_ZCL_PACKET_GET_DATA_IEEE(&(data_ptr)->address, data); \
ZB_ZCL_PACKET_GET_STATIC_STRING((data_ptr)->zone_label, data); \
if (!data) \
{ \
} \
else \
{ \
} \
} \
}
#define ZB_ZCL_IAS_ACE_GET_ZONE_INFO_RESP_PAYLOAD_SIZE(ptr)
Definition: zb_zcl_ias_ace.h:871
Definition: zb_zcl_common.h:319
#define ZB_BUF_BEGIN(zbbuf)
Definition: zboss_api_core.h:767
#define ZB_ZCL_PACKET_GET_DATA8(dst_ptr, src_ptr)
Get 8-bit value from packet.
Definition: zb_zcl_common.h:1444
#define ZB_BUF_LEN(zbbuf)
Definition: zboss_api_core.h:776
#define ZB_ZCL_PACKET_GET_DATA_IEEE(dst_ptr, src_ptr)
Get IEEE address from packet.
Definition: zb_zcl_common.h:1518
Definition: zb_zcl_common.h:318
#define ZB_ZCL_PACKET_GET_DATA16(dst_ptr, src_ptr)
Get 16-bit value from packet.
Definition: zb_zcl_common.h:1466
unsigned char zb_uint8_t
Project-local 1-byte unsigned int type.
Definition: zb_types.h:116
#define ZB_ZCL_PACKET_GET_STATIC_STRING(_zcl_str, data)
Definition: zb_zcl_common.h:1608

Macro for getting Get Zone Information Response command, ZCL spec 8.3.2.5.3.

Attention
Assumes that ZCL header already cut.
Parameters
data_ptr- pointer to a variable of type zb_zcl_ias_ace_get_zone_info_resp_s.
buffercontaining the packet (by pointer).
status- variable to put parse status to (see zb_zcl_parse_status_t).
#define ZB_ZCL_IAS_ACE_GET_GET_ZONE_STATUS_REQ (   data_ptr,
  buffer,
  status 
)
Value:
{ \
if (ZB_BUF_LEN((buffer)) != sizeof(zb_zcl_ias_ace_get_zone_status_t)) \
{ \
} \
else \
{ \
(data_ptr)->starting_zone_id = src_ptr->starting_zone_id; \
(data_ptr)->max_num_zone_ids = src_ptr->max_num_zone_ids; \
(data_ptr)->zone_status_mask_flag = src_ptr->zone_status_mask_flag; \
ZB_HTOLE16(&((data_ptr)->zone_status_mask), &(src_ptr->zone_status_mask)); \
} \
}
struct zb_zcl_ias_ace_get_zone_status_s zb_zcl_ias_ace_get_zone_status_t
Structure representsation of Get Zone Status command, ZCL spec 8.3.2.3.8.1.
Definition: zb_zcl_common.h:319
#define ZB_BUF_BEGIN(zbbuf)
Definition: zboss_api_core.h:767
#define ZB_BUF_LEN(zbbuf)
Definition: zboss_api_core.h:776
Definition: zb_zcl_common.h:318
Structure representsation of Get Zone Status command, ZCL spec 8.3.2.3.8.1.
Definition: zb_zcl_ias_ace.h:637

Macro for getting Get Zone Status command, ZCL spec 8.3.2.3.8.

Attention
Assumes that ZCL header already cut.
Parameters
data_ptr- pointer to a variable of type zb_zcl_ias_ace_get_zone_status_s.
buffercontaining the packet (by pointer).
status- variable to put parse status to (see zb_zcl_parse_status_t).
#define ZB_ZCL_IAS_ACE_GET_GET_ZONE_STATUS_RESP (   data_ptr,
  buffer,
  status 
)
Value:
{ \
zb_uint8_t *data = ZB_BUF_BEGIN(buffer); \
{ \
} \
else \
{ \
ZB_ZCL_PACKET_GET_DATA8(&(data_ptr)->zone_status_complete, data); \
ZB_ZCL_PACKET_GET_DATA8(&(data_ptr)->length, data); \
ZB_ZCL_PACKET_GET_DATA_N((data_ptr)->zone_id_status, data, \
(data_ptr)->length * sizeof(zb_zcl_ias_ace_zone_status_t)); \
} \
}
#define ZB_ZCL_IAS_ACE_GET_ZONE_STATUS_RESP_PAYLOAD_SIZE(ptr)
Definition: zb_zcl_ias_ace.h:1488
Definition: zb_zcl_common.h:319
#define ZB_BUF_BEGIN(zbbuf)
Definition: zboss_api_core.h:767
#define ZB_ZCL_PACKET_GET_DATA8(dst_ptr, src_ptr)
Get 8-bit value from packet.
Definition: zb_zcl_common.h:1444
#define ZB_BUF_LEN(zbbuf)
Definition: zboss_api_core.h:776
Definition: zb_zcl_common.h:318
#define ZB_ZCL_PACKET_GET_DATA_N(dst_ptr, src_ptr, n)
Get N-byte value from packet.
Definition: zb_zcl_common.h:1617
unsigned char zb_uint8_t
Project-local 1-byte unsigned int type.
Definition: zb_types.h:116
IAS ACE Zone Status structure.
Definition: zb_zcl_ias_ace.h:1466

Macro for getting Get Zone Status Response command, ZCL spec 8.3.2.4.9.

Attention
Assumes that ZCL header already cut.
Parameters
data_ptr- pointer to a variable of type zb_zcl_ias_ace_get_zone_status_resp_t.
buffercontaining the packet (by pointer).
status- variable to put parse status to (see zb_zcl_parse_status_t).
#define ZB_ZCL_IAS_ACE_GET_PANEL_STATUS_CHANGED_REQ (   data_ptr,
  buffer,
  status 
)
Value:
{ \
zb_uint8_t *data = ZB_BUF_BEGIN(buffer); \
{ \
} \
else \
{ \
ZB_ZCL_PACKET_GET_DATA8(&(data_ptr)->panel_status, data); \
ZB_ZCL_PACKET_GET_DATA8(&(data_ptr)->seconds_remaining, data); \
ZB_ZCL_PACKET_GET_DATA8(&(data_ptr)->aud_notification, data); \
ZB_ZCL_PACKET_GET_DATA8(&(data_ptr)->alarm_status, data); \
} \
}
Definition: zb_zcl_common.h:319
#define ZB_BUF_BEGIN(zbbuf)
Definition: zboss_api_core.h:767
#define ZB_ZCL_PACKET_GET_DATA8(dst_ptr, src_ptr)
Get 8-bit value from packet.
Definition: zb_zcl_common.h:1444
#define ZB_BUF_LEN(zbbuf)
Definition: zboss_api_core.h:776
Definition: zb_zcl_common.h:318
unsigned char zb_uint8_t
Project-local 1-byte unsigned int type.
Definition: zb_types.h:116
Structure representsation of Panel Status Changed command, ZCL spec 8.3.2.4.5.
Definition: zb_zcl_ias_ace.h:1090

Macro for getting Panel Status Changed command, ZCL spec 8.3.2.4.5.

Attention
Assumes that ZCL header already cut.
Parameters
data_ptr- pointer to a variable of type zb_zcl_ias_ace_panel_status_changed_t.
buffercontaining the packet (by pointer).
status- variable to put parse status to (see zb_zcl_parse_status_t).
#define ZB_ZCL_IAS_ACE_GET_SET_BYPASSED_ZONE_LIST (   data_ptr,
  buffer,
  status 
)
Value:
{ \
zb_uint8_t *data = ZB_BUF_BEGIN(buffer); \
{ \
} \
else \
{ \
ZB_ZCL_PACKET_GET_DATA8(&(data_ptr)->length, data); \
ZB_ZCL_PACKET_GET_DATA_N((data_ptr)->zone_id, data, (data_ptr)->length); \
} \
}
Definition: zb_zcl_common.h:319
#define ZB_BUF_BEGIN(zbbuf)
Definition: zboss_api_core.h:767
#define ZB_ZCL_PACKET_GET_DATA8(dst_ptr, src_ptr)
Get 8-bit value from packet.
Definition: zb_zcl_common.h:1444
#define ZB_BUF_LEN(zbbuf)
Definition: zboss_api_core.h:776
Definition: zb_zcl_common.h:318
#define ZB_ZCL_PACKET_GET_DATA_N(dst_ptr, src_ptr, n)
Get N-byte value from packet.
Definition: zb_zcl_common.h:1617
unsigned char zb_uint8_t
Project-local 1-byte unsigned int type.
Definition: zb_types.h:116
#define ZB_ZCL_IAS_ACE_SET_BYPASSED_ZONE_LIST_PAYLOAD_SIZE(ptr)
Definition: zb_zcl_ias_ace.h:1250

Macro for getting Set Bypassed Zone List command, ZCL spec 8.3.2.4.7.

Attention
Assumes that ZCL header already cut.
Parameters
data_ptr- pointer to a variable of type zb_zcl_ias_ace_set_bypassed_zone_list_t.
buffercontaining the packet (by pointer).
status- variable to put parse status to (see zb_zcl_parse_status_t).
#define ZB_ZCL_IAS_ACE_GET_ZONE_INFO_RESP_PAYLOAD_SIZE (   ptr)
Value:
#define ZB_ZCL_GET_STRING_LENGTH(str)
Get ZCL string length.
Definition: zb_zcl_common.h:419
Structure representsation of Get Zone Information Response command, ZCL spec 8.3.2.5.3.1 see @ ref zb_zcl_ias_ace_zone_table_s.
Definition: zb_zcl_ias_ace.h:857
struct zb_zcl_ias_ace_get_zone_info_resp_s zb_zcl_ias_ace_get_zone_info_resp_t
Structure representsation of Get Zone Information Response command, ZCL spec 8.3.2.5.3.1 see @ ref zb_zcl_ias_ace_zone_table_s.

Get Zone Information Response command payload size

#define ZB_ZCL_IAS_ACE_GET_ZONE_STATUS_CHANGED_REQ (   data_ptr,
  buffer,
  status 
)
Value:
{ \
zb_uint8_t *data = ZB_BUF_BEGIN(buffer); \
{ \
} \
else \
{ \
ZB_ZCL_PACKET_GET_DATA8(&(data_ptr)->zone_id, data); \
ZB_ZCL_PACKET_GET_DATA16(&(data_ptr)->zone_status, data); \
ZB_ZCL_PACKET_GET_DATA8(&(data_ptr)->aud_notification, data); \
ZB_ZCL_PACKET_GET_STATIC_STRING((data_ptr)->zone_label, data); \
if (!data) \
{ \
} \
else \
{ \
} \
} \
}
#define ZB_ZCL_IAS_ACE_ZONE_STATUS_CHANGED_PAYLOAD_SIZE(ptr)
Definition: zb_zcl_ias_ace.h:966
Definition: zb_zcl_common.h:319
#define ZB_BUF_BEGIN(zbbuf)
Definition: zboss_api_core.h:767
#define ZB_ZCL_PACKET_GET_DATA8(dst_ptr, src_ptr)
Get 8-bit value from packet.
Definition: zb_zcl_common.h:1444
#define ZB_BUF_LEN(zbbuf)
Definition: zboss_api_core.h:776
Definition: zb_zcl_common.h:318
#define ZB_ZCL_PACKET_GET_DATA16(dst_ptr, src_ptr)
Get 16-bit value from packet.
Definition: zb_zcl_common.h:1466
unsigned char zb_uint8_t
Project-local 1-byte unsigned int type.
Definition: zb_types.h:116
#define ZB_ZCL_PACKET_GET_STATIC_STRING(_zcl_str, data)
Definition: zb_zcl_common.h:1608

Macro for getting Zone Status Changed command, ZCL spec 8.3.2.4.4.

Attention
Assumes that ZCL header already cut.
Parameters
data_ptr- pointer to a variable of type zb_zcl_ias_ace_zone_status_changed_t.
buffercontaining the packet (by pointer).
status- variable to put parse status to (see zb_zcl_parse_status_t).
#define ZB_ZCL_IAS_ACE_GET_ZONE_STATUS_RESP_PAYLOAD_SIZE (   ptr)
Value:
((sizeof(zb_zcl_ias_ace_get_zone_status_resp_t)-sizeof(((zb_zcl_ias_ace_get_zone_status_resp_t *)(ptr))->zone_id_status))+ \
struct zb_zcl_ias_ace_get_zone_status_resp_s zb_zcl_ias_ace_get_zone_status_resp_t
Structure representsation of Get Zone Status Response command, ZCL spec 8.3.2.4.9.
Structure representsation of Get Zone Status Response command, ZCL spec 8.3.2.4.9.
Definition: zb_zcl_ias_ace.h:1476
IAS ACE Zone Status structure.
Definition: zb_zcl_ias_ace.h:1466

Get Zone Status Response command payload size

#define ZB_ZCL_IAS_ACE_SEND_ARM_REQ (   buffer,
  addr,
  dst_addr_mode,
  dst_ep,
  ep,
  prfl_id,
  def_resp,
  cb,
  arm_mode,
  arm_disarm_code,
  zone_id 
)
Value:
{ \
zb_uint8_t* ptr = ZB_ZCL_START_PACKET_REQ(buffer) \
ZB_ZCL_CONSTRUCT_SPECIFIC_COMMAND_REQ_FRAME_CONTROL(ptr, (def_resp)) \
ZB_ZCL_CONSTRUCT_COMMAND_HEADER_REQ(ptr, ZB_ZCL_GET_SEQ_NUM(), \
ZB_ZCL_PACKET_PUT_DATA8(ptr, (arm_mode)); \
ZB_ZCL_PACKET_PUT_STRING(ptr, (arm_disarm_code)); \
ZB_ZCL_PACKET_PUT_DATA8(ptr, (zone_id)); \
ZB_ZCL_FINISH_PACKET((buffer), ptr) \
ZB_ZCL_SEND_COMMAND_SHORT( \
buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, \
}
#define ZB_ZCL_PACKET_PUT_DATA8(ptr, val)
Put 8-bit value to packet.
Definition: zb_zcl_common.h:1353
#define ZB_ZCL_GET_SEQ_NUM()
Return next sequence number for ZCL frame.
Definition: zb_zcl_common.h:1250
Definition: zb_zcl_ias_ace.h:155
#define ZB_ZCL_FINISH_PACKET(zbbuf, ptr)
Definition: zb_zcl_common.h:1654
unsigned char zb_uint8_t
Project-local 1-byte unsigned int type.
Definition: zb_types.h:116
Definition: zb_zcl_common.h:265
#define ZB_ZCL_PACKET_PUT_STRING(_ptr, _val)
Definition: zb_zcl_common.h:1577

Arm command, ZCL spec 8.3.2.4.1.

Parameters
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- enable/disable default response
cb- callback for getting command send status
arm_mode- Arm Mode, see zb_zcl_ias_ace_arm_mode_e
arm_disarm_code- Arm/Disarm Code string
zone_id- Zone ID
#define ZB_ZCL_IAS_ACE_SEND_ARM_RESP (   buffer,
  addr,
  dst_addr_mode,
  dst_ep,
  ep,
  prfl_id,
  seq,
  arm_notification 
)
Value:
{ \
ZB_ZCL_PACKET_PUT_DATA8(ptr, (arm_notification)); \
ZB_ZCL_FINISH_PACKET((buffer), ptr) \
ZB_ZCL_SEND_COMMAND_SHORT( \
buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, \
}
#define ZB_ZCL_PACKET_PUT_DATA8(ptr, val)
Put 8-bit value to packet.
Definition: zb_zcl_common.h:1353
#define ZB_ZCL_START_PACKET(zbbuf)
Initializes zb_buf_t buffer and returns pointer to the beginning of array.
Definition: zb_zcl_common.h:1332
#define ZB_ZCL_CONSTRUCT_COMMAND_HEADER(data_ptr, tsn, cmd_id)
Construct ZCL header.
Definition: zb_zcl_common.h:1207
Definition: zb_zcl_ias_ace.h:184
#define ZB_ZCL_FINISH_PACKET(zbbuf, ptr)
Definition: zb_zcl_common.h:1654
unsigned char zb_uint8_t
Project-local 1-byte unsigned int type.
Definition: zb_types.h:116
Definition: zb_zcl_common.h:265
#define ZB_ZCL_CONSTRUCT_SPECIFIC_COMMAND_RES_FRAME_CONTROL(buf_ptr)
Construct ZCL header frame control value for cluster-specific command response.
Definition: zb_zcl_common.h:1194

Arm Response command, ZCL spec 8.3.2.5.1.

Parameters
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
seq- sequence
arm_notification- Arm Notification, see zb_zcl_ias_ace_arm_not_e
#define ZB_ZCL_IAS_ACE_SEND_BYPASS_REQ_ADD (   ptr,
  zone_id 
)
Value:
{ \
ZB_ZCL_PACKET_PUT_DATA8(ptr, (zone_id)); \
}
#define ZB_ZCL_PACKET_PUT_DATA8(ptr, val)
Put 8-bit value to packet.
Definition: zb_zcl_common.h:1353

Add Zone Id to Bypass command, ZCL spec 8.3.2.4.1.

Parameters
ptr- [in/out] (zb_uint8_t*) current position
zone_id- Zone ID, see zb_zcl_ias_ace_zone_table_s
#define ZB_ZCL_IAS_ACE_SEND_BYPASS_REQ_END (   ptr,
  buffer,
  arm_disarm_code,
  addr,
  dst_addr_mode,
  dst_ep,
  ep,
  prfl_id,
  cb 
)
Value:
{ \
ZB_ZCL_PACKET_PUT_STRING(ptr, (arm_disarm_code)); \
ZB_ZCL_FINISH_PACKET((buffer), ptr) \
ZB_ZCL_SEND_COMMAND_SHORT( \
buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, \
}
#define ZB_ZCL_FINISH_PACKET(zbbuf, ptr)
Definition: zb_zcl_common.h:1654
Definition: zb_zcl_common.h:265
#define ZB_ZCL_PACKET_PUT_STRING(_ptr, _val)
Definition: zb_zcl_common.h:1577

End form Bypass command and send it, ZCL spec 8.3.2.4.1.

Parameters
ptr- (zb_uint8_t*) current position
buffer- to put packet to
arm_disarm_code- Arm/Disarm Code string
addr- address to send packet to
dst_addr_mode- addressing mode
dst_ep- destination endpoint
ep- sending endpoint
prfl_id- profile identifier
cb- callback for getting command send status
#define ZB_ZCL_IAS_ACE_SEND_BYPASS_REQ_START (   buffer,
  def_resp,
  length,
  ptr 
)
Value:
{ \
(ptr) = ZB_ZCL_START_PACKET_REQ(buffer) \
ZB_ZCL_CONSTRUCT_SPECIFIC_COMMAND_REQ_FRAME_CONTROL(ptr, (def_resp)) \
ZB_ZCL_CONSTRUCT_COMMAND_HEADER_REQ(ptr, ZB_ZCL_GET_SEQ_NUM(), \
ZB_ZCL_PACKET_PUT_DATA8((ptr), (length)); \
}
#define ZB_ZCL_PACKET_PUT_DATA8(ptr, val)
Put 8-bit value to packet.
Definition: zb_zcl_common.h:1353
#define ZB_ZCL_GET_SEQ_NUM()
Return next sequence number for ZCL frame.
Definition: zb_zcl_common.h:1250
Definition: zb_zcl_ias_ace.h:157

Start Bypass command, ZCL spec 8.3.2.4.1.

Parameters
buffer- to put packet to
def_resp- enable/disable default response
length- Number of Zones
ptr- [out] (zb_uint8_t*) current position for ZB_ZCL_IAS_ACE_SEND_BYPASS_REQ_ADD and ZB_ZCL_IAS_ACE_SEND_BYPASS_REQ_END
#define ZB_ZCL_IAS_ACE_SEND_BYPASS_RESP_ADD (   ptr,
  bypass_result 
)
Value:
{ \
ZB_ZCL_PACKET_PUT_DATA8(ptr, (bypass_result)); \
}
#define ZB_ZCL_PACKET_PUT_DATA8(ptr, val)
Put 8-bit value to packet.
Definition: zb_zcl_common.h:1353

Add Bypass results to Bypass Response command, ZCL spec 8.3.2.4.8.

Parameters
ptr- [in/out] (zb_uint8_t*) current position
bypass_result- Bypass Result for Zone IDs, see zb_zcl_ias_ace_bypass_result_e
#define ZB_ZCL_IAS_ACE_SEND_BYPASS_RESP_END (   ptr,
  buffer,
  addr,
  dst_addr_mode,
  dst_ep,
  ep,
  prfl_id 
)
Value:
{ \
ZB_ZCL_FINISH_PACKET((buffer), ptr) \
ZB_ZCL_SEND_COMMAND_SHORT( \
buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, \
}
#define ZB_ZCL_FINISH_PACKET(zbbuf, ptr)
Definition: zb_zcl_common.h:1654
Definition: zb_zcl_common.h:265

End form Bypass Response command and send it, ZCL spec 8.3.2.4.8.

Parameters
ptr- (zb_uint8_t*) current position
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
#define ZB_ZCL_IAS_ACE_SEND_BYPASS_RESP_START (   buffer,
  seq,
  length,
  ptr 
)
Value:
{ \
(ptr) = ZB_ZCL_START_PACKET(buffer); \
ZB_ZCL_PACKET_PUT_DATA8((ptr), (length)); \
}
#define ZB_ZCL_PACKET_PUT_DATA8(ptr, val)
Put 8-bit value to packet.
Definition: zb_zcl_common.h:1353
#define ZB_ZCL_START_PACKET(zbbuf)
Initializes zb_buf_t buffer and returns pointer to the beginning of array.
Definition: zb_zcl_common.h:1332
#define ZB_ZCL_CONSTRUCT_COMMAND_HEADER(data_ptr, tsn, cmd_id)
Construct ZCL header.
Definition: zb_zcl_common.h:1207
Definition: zb_zcl_ias_ace.h:202
#define ZB_ZCL_CONSTRUCT_SPECIFIC_COMMAND_RES_FRAME_CONTROL(buf_ptr)
Construct ZCL header frame control value for cluster-specific command response.
Definition: zb_zcl_common.h:1194

Start Bypass Response command, ZCL spec 8.3.2.4.8.

Parameters
buffer- to put packet to
seq- sequence
length- Number of Zones
ptr- [out] (zb_uint8_t*) current position for ZB_ZCL_IAS_ACE_SEND_BYPASS_RESP_ADD and ZB_ZCL_IAS_ACE_SEND_BYPASS_RESP_END
#define ZB_ZCL_IAS_ACE_SEND_EMERGENCY_REQ (   buffer,
  addr,
  dst_addr_mode,
  dst_ep,
  ep,
  prfl_id,
  def_resp,
  cb 
)
Value:
{ \
zb_uint8_t* ptr = ZB_ZCL_START_PACKET_REQ(buffer) \
ZB_ZCL_CONSTRUCT_SPECIFIC_COMMAND_REQ_FRAME_CONTROL(ptr, (def_resp)) \
ZB_ZCL_CONSTRUCT_COMMAND_HEADER_REQ(ptr, ZB_ZCL_GET_SEQ_NUM(), \
ZB_ZCL_FINISH_PACKET((buffer), ptr) \
ZB_ZCL_SEND_COMMAND_SHORT( \
buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, \
}
#define ZB_ZCL_GET_SEQ_NUM()
Return next sequence number for ZCL frame.
Definition: zb_zcl_common.h:1250
Definition: zb_zcl_ias_ace.h:159
#define ZB_ZCL_FINISH_PACKET(zbbuf, ptr)
Definition: zb_zcl_common.h:1654
unsigned char zb_uint8_t
Project-local 1-byte unsigned int type.
Definition: zb_types.h:116
Definition: zb_zcl_common.h:265

Emergency command, ZCL spec 8.3.2.4.3.

Parameters
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- enable/disable default response
cb- callback for getting command send status
#define ZB_ZCL_IAS_ACE_SEND_FIRE_REQ (   buffer,
  addr,
  dst_addr_mode,
  dst_ep,
  ep,
  prfl_id,
  def_resp,
  cb 
)
Value:
{ \
zb_uint8_t* ptr = ZB_ZCL_START_PACKET_REQ(buffer) \
ZB_ZCL_CONSTRUCT_SPECIFIC_COMMAND_REQ_FRAME_CONTROL(ptr, (def_resp)) \
ZB_ZCL_CONSTRUCT_COMMAND_HEADER_REQ(ptr, ZB_ZCL_GET_SEQ_NUM(), \
ZB_ZCL_FINISH_PACKET((buffer), ptr) \
ZB_ZCL_SEND_COMMAND_SHORT( \
buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, \
}
#define ZB_ZCL_GET_SEQ_NUM()
Return next sequence number for ZCL frame.
Definition: zb_zcl_common.h:1250
Definition: zb_zcl_ias_ace.h:161
#define ZB_ZCL_FINISH_PACKET(zbbuf, ptr)
Definition: zb_zcl_common.h:1654
unsigned char zb_uint8_t
Project-local 1-byte unsigned int type.
Definition: zb_types.h:116
Definition: zb_zcl_common.h:265

Fire command, ZCL spec 8.3.2.4.3.

Parameters
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- enable/disable default response
cb- callback for getting command send status
#define ZB_ZCL_IAS_ACE_SEND_GET_BYPASSED_ZONE_LIST_REQ (   buffer,
  addr,
  dst_addr_mode,
  dst_ep,
  ep,
  prfl_id,
  def_resp,
  cb 
)
Value:
{ \
zb_uint8_t* ptr = ZB_ZCL_START_PACKET_REQ(buffer) \
ZB_ZCL_CONSTRUCT_SPECIFIC_COMMAND_REQ_FRAME_CONTROL(ptr, (def_resp)) \
ZB_ZCL_CONSTRUCT_COMMAND_HEADER_REQ(ptr, ZB_ZCL_GET_SEQ_NUM(), \
ZB_ZCL_FINISH_PACKET((buffer), ptr) \
ZB_ZCL_SEND_COMMAND_SHORT( \
buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, \
}
#define ZB_ZCL_GET_SEQ_NUM()
Return next sequence number for ZCL frame.
Definition: zb_zcl_common.h:1250
Definition: zb_zcl_ias_ace.h:172
#define ZB_ZCL_FINISH_PACKET(zbbuf, ptr)
Definition: zb_zcl_common.h:1654
unsigned char zb_uint8_t
Project-local 1-byte unsigned int type.
Definition: zb_types.h:116
Definition: zb_zcl_common.h:265

Get Bypassed Zone List command, ZCL spec 8.3.2.3.7.

Parameters
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- enable/disable default response
cb- callback for getting command send status
#define ZB_ZCL_IAS_ACE_SEND_GET_PANEL_STATUS_REQ (   buffer,
  addr,
  dst_addr_mode,
  dst_ep,
  ep,
  prfl_id,
  def_resp,
  cb 
)
Value:
{ \
zb_uint8_t* ptr = ZB_ZCL_START_PACKET_REQ(buffer) \
ZB_ZCL_CONSTRUCT_SPECIFIC_COMMAND_REQ_FRAME_CONTROL(ptr, (def_resp)) \
ZB_ZCL_CONSTRUCT_COMMAND_HEADER_REQ(ptr, ZB_ZCL_GET_SEQ_NUM(), \
ZB_ZCL_FINISH_PACKET((buffer), ptr) \
ZB_ZCL_SEND_COMMAND_SHORT( \
buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, \
}
#define ZB_ZCL_GET_SEQ_NUM()
Return next sequence number for ZCL frame.
Definition: zb_zcl_common.h:1250
Definition: zb_zcl_ias_ace.h:170
#define ZB_ZCL_FINISH_PACKET(zbbuf, ptr)
Definition: zb_zcl_common.h:1654
unsigned char zb_uint8_t
Project-local 1-byte unsigned int type.
Definition: zb_types.h:116
Definition: zb_zcl_common.h:265

Get Panel Status command, ZCL spec 8.3.2.3.6.

Parameters
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- enable/disable default response
cb- callback for getting command send status
#define ZB_ZCL_IAS_ACE_SEND_GET_PANEL_STATUS_RESP (   buffer,
  addr,
  dst_addr_mode,
  dst_ep,
  ep,
  prfl_id,
  seq,
  panel_status,
  seconds_remaining,
  aud_notification,
  alarm_status 
)
Value:
{ \
ZB_ZCL_PACKET_PUT_DATA8(ptr, (panel_status)); \
ZB_ZCL_PACKET_PUT_DATA8(ptr, (seconds_remaining)); \
ZB_ZCL_PACKET_PUT_DATA8(ptr, (aud_notification)); \
ZB_ZCL_PACKET_PUT_DATA8(ptr, (alarm_status)); \
ZB_ZCL_FINISH_PACKET((buffer), ptr) \
ZB_ZCL_SEND_COMMAND_SHORT( \
buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, \
}
#define ZB_ZCL_PACKET_PUT_DATA8(ptr, val)
Put 8-bit value to packet.
Definition: zb_zcl_common.h:1353
Definition: zb_zcl_ias_ace.h:197
#define ZB_ZCL_START_PACKET(zbbuf)
Initializes zb_buf_t buffer and returns pointer to the beginning of array.
Definition: zb_zcl_common.h:1332
#define ZB_ZCL_CONSTRUCT_COMMAND_HEADER(data_ptr, tsn, cmd_id)
Construct ZCL header.
Definition: zb_zcl_common.h:1207
#define ZB_ZCL_FINISH_PACKET(zbbuf, ptr)
Definition: zb_zcl_common.h:1654
unsigned char zb_uint8_t
Project-local 1-byte unsigned int type.
Definition: zb_types.h:116
Definition: zb_zcl_common.h:265
#define ZB_ZCL_CONSTRUCT_SPECIFIC_COMMAND_RES_FRAME_CONTROL(buf_ptr)
Construct ZCL header frame control value for cluster-specific command response.
Definition: zb_zcl_common.h:1194

Get Panel Status Response command, ZCL spec 8.3.2.4.6.

Parameters
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
seq- sequence
panel_status- Panel Status, see zb_zcl_ias_ace_panel_status_e
seconds_remaining- Seconds Remaining Parameter
aud_notification- Audible Notification, see zb_zcl_ias_ace_aud_notification_e
alarm_status- Alarm Status Field, see zb_zcl_ias_ace_alarm_status_e
#define ZB_ZCL_IAS_ACE_SEND_GET_ZONE_ID_MAP_REQ (   buffer,
  addr,
  dst_addr_mode,
  dst_ep,
  ep,
  prfl_id,
  def_resp,
  cb 
)
Value:
{ \
zb_uint8_t* ptr = ZB_ZCL_START_PACKET_REQ(buffer) \
ZB_ZCL_CONSTRUCT_SPECIFIC_COMMAND_REQ_FRAME_CONTROL(ptr, (def_resp)) \
ZB_ZCL_CONSTRUCT_COMMAND_HEADER_REQ(ptr, ZB_ZCL_GET_SEQ_NUM(), \
ZB_ZCL_FINISH_PACKET((buffer), ptr) \
ZB_ZCL_SEND_COMMAND_SHORT( \
buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, \
}
#define ZB_ZCL_GET_SEQ_NUM()
Return next sequence number for ZCL frame.
Definition: zb_zcl_common.h:1250
Definition: zb_zcl_ias_ace.h:165
#define ZB_ZCL_FINISH_PACKET(zbbuf, ptr)
Definition: zb_zcl_common.h:1654
unsigned char zb_uint8_t
Project-local 1-byte unsigned int type.
Definition: zb_types.h:116
Definition: zb_zcl_common.h:265

Get Zone ID Map command, ZCL spec 8.3.2.4.4.

Parameters
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- enable/disable default response
cb- callback for getting command send status
#define ZB_ZCL_IAS_ACE_SEND_GET_ZONE_ID_MAP_RESP (   buffer,
  addr,
  dst_addr_mode,
  dst_ep,
  ep,
  prfl_id,
  seq,
  zone_id_map 
)
Value:
{ \
{ \
ZB_ZCL_PACKET_PUT_DATA16_VAL(ptr, (zone_id_map)[i]); \
} \
ZB_ZCL_FINISH_PACKET((buffer), ptr) \
ZB_ZCL_SEND_COMMAND_SHORT( \
buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, \
}
#define ZB_ZCL_START_PACKET(zbbuf)
Initializes zb_buf_t buffer and returns pointer to the beginning of array.
Definition: zb_zcl_common.h:1332
#define ZB_ZCL_CONSTRUCT_COMMAND_HEADER(data_ptr, tsn, cmd_id)
Construct ZCL header.
Definition: zb_zcl_common.h:1207
#define ZB_ZCL_PACKET_PUT_DATA16_VAL(ptr, val)
Definition: zb_zcl_common.h:1371
#define ZB_ZCL_FINISH_PACKET(zbbuf, ptr)
Definition: zb_zcl_common.h:1654
#define ZB_ZCL_IAS_ACE_GET_ZONE_ID_MAP_LENGTH
Length of array of Bitmap of Zone ID Map, ZCL spec 8.3.2.5.2.1.
Definition: zb_zcl_ias_ace.h:785
unsigned char zb_uint8_t
Project-local 1-byte unsigned int type.
Definition: zb_types.h:116
Definition: zb_zcl_common.h:265
Definition: zb_zcl_ias_ace.h:186
#define ZB_ZCL_CONSTRUCT_SPECIFIC_COMMAND_RES_FRAME_CONTROL(buf_ptr)
Construct ZCL header frame control value for cluster-specific command response.
Definition: zb_zcl_common.h:1194

Get Zone ID Map Response command, ZCL spec 8.3.2.5.2.

Parameters
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
seq- sequence
zone_id_map- Zone ID Map, array[16] of zb_uint16_t
#define ZB_ZCL_IAS_ACE_SEND_GET_ZONE_INFO_REQ (   buffer,
  addr,
  dst_addr_mode,
  dst_ep,
  ep,
  prfl_id,
  def_resp,
  cb,
  zone_id 
)
Value:
{ \
zb_uint8_t* ptr = ZB_ZCL_START_PACKET_REQ(buffer) \
ZB_ZCL_CONSTRUCT_SPECIFIC_COMMAND_REQ_FRAME_CONTROL(ptr, (def_resp)) \
ZB_ZCL_CONSTRUCT_COMMAND_HEADER_REQ(ptr, ZB_ZCL_GET_SEQ_NUM(), \
ZB_ZCL_PACKET_PUT_DATA8(ptr, (zone_id)); \
ZB_ZCL_FINISH_PACKET((buffer), ptr) \
ZB_ZCL_SEND_COMMAND_SHORT( \
buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, \
}
#define ZB_ZCL_PACKET_PUT_DATA8(ptr, val)
Put 8-bit value to packet.
Definition: zb_zcl_common.h:1353
#define ZB_ZCL_GET_SEQ_NUM()
Return next sequence number for ZCL frame.
Definition: zb_zcl_common.h:1250
#define ZB_ZCL_FINISH_PACKET(zbbuf, ptr)
Definition: zb_zcl_common.h:1654
unsigned char zb_uint8_t
Project-local 1-byte unsigned int type.
Definition: zb_types.h:116
Definition: zb_zcl_common.h:265
Definition: zb_zcl_ias_ace.h:167

Get Zone Information command, ZCL spec 8.3.2.4.5.

Parameters
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- enable/disable default response
cb- callback for getting command send status
zone_id- Zone ID, see zb_zcl_ias_ace_zone_table_s
#define ZB_ZCL_IAS_ACE_SEND_GET_ZONE_INFO_RESP (   buffer,
  addr,
  dst_addr_mode,
  dst_ep,
  ep,
  prfl_id,
  seq,
  zone_id,
  zone_type,
  address,
  zone_label 
)
Value:
{ \
ZB_ZCL_PACKET_PUT_DATA8(ptr, (zone_id)); \
ZB_ZCL_PACKET_PUT_DATA16_VAL(ptr, (zone_type)); \
ZB_ZCL_PACKET_PUT_STRING(ptr, (zone_label)); \
ZB_ZCL_FINISH_PACKET((buffer), ptr) \
ZB_ZCL_SEND_COMMAND_SHORT( \
buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, \
}
#define ZB_ZCL_PACKET_PUT_DATA8(ptr, val)
Put 8-bit value to packet.
Definition: zb_zcl_common.h:1353
#define ZB_ZCL_START_PACKET(zbbuf)
Initializes zb_buf_t buffer and returns pointer to the beginning of array.
Definition: zb_zcl_common.h:1332
#define ZB_ZCL_CONSTRUCT_COMMAND_HEADER(data_ptr, tsn, cmd_id)
Construct ZCL header.
Definition: zb_zcl_common.h:1207
#define ZB_ZCL_PACKET_PUT_DATA16_VAL(ptr, val)
Definition: zb_zcl_common.h:1371
#define ZB_ZCL_FINISH_PACKET(zbbuf, ptr)
Definition: zb_zcl_common.h:1654
unsigned char zb_uint8_t
Project-local 1-byte unsigned int type.
Definition: zb_types.h:116
#define ZB_ZCL_PACKET_PUT_DATA_IEEE(dst_ptr, src_ptr)
Put IEEE address into packet.
Definition: zb_zcl_common.h:1528
Definition: zb_zcl_common.h:265
#define ZB_ZCL_PACKET_PUT_STRING(_ptr, _val)
Definition: zb_zcl_common.h:1577
#define ZB_ZCL_CONSTRUCT_SPECIFIC_COMMAND_RES_FRAME_CONTROL(buf_ptr)
Construct ZCL header frame control value for cluster-specific command response.
Definition: zb_zcl_common.h:1194
Definition: zb_zcl_ias_ace.h:188

Get Zone Information Response command, ZCL spec 8.3.2.5.3.

Parameters
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
seq- sequence
zone_id- Zone ID
zone_type- Zone Type, see zb_zcl_ias_zone_zonetype_e
address- Zone Address
zone_label- Zone Label Field
#define ZB_ZCL_IAS_ACE_SEND_GET_ZONE_STATUS_REQ (   buffer,
  addr,
  dst_addr_mode,
  dst_ep,
  ep,
  prfl_id,
  def_resp,
  cb,
  starting_zone_id,
  max_num_zone_ids,
  zone_status_mask_flag,
  zone_status_mask 
)
Value:
{ \
zb_uint8_t* ptr = ZB_ZCL_START_PACKET_REQ(buffer) \
ZB_ZCL_CONSTRUCT_SPECIFIC_COMMAND_REQ_FRAME_CONTROL(ptr, (def_resp)) \
ZB_ZCL_CONSTRUCT_COMMAND_HEADER_REQ(ptr, ZB_ZCL_GET_SEQ_NUM(), \
ZB_ZCL_PACKET_PUT_DATA8(ptr, (starting_zone_id)); \
ZB_ZCL_PACKET_PUT_DATA8(ptr, (max_num_zone_ids)); \
ZB_ZCL_PACKET_PUT_DATA8(ptr, (zone_status_mask_flag)); \
ZB_ZCL_PACKET_PUT_DATA16_VAL(ptr, (zone_status_mask)); \
ZB_ZCL_FINISH_PACKET((buffer), ptr) \
ZB_ZCL_SEND_COMMAND_SHORT( \
buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, \
}
#define ZB_ZCL_PACKET_PUT_DATA8(ptr, val)
Put 8-bit value to packet.
Definition: zb_zcl_common.h:1353
#define ZB_ZCL_GET_SEQ_NUM()
Return next sequence number for ZCL frame.
Definition: zb_zcl_common.h:1250
#define ZB_ZCL_PACKET_PUT_DATA16_VAL(ptr, val)
Definition: zb_zcl_common.h:1371
#define ZB_ZCL_FINISH_PACKET(zbbuf, ptr)
Definition: zb_zcl_common.h:1654
Definition: zb_zcl_ias_ace.h:175
unsigned char zb_uint8_t
Project-local 1-byte unsigned int type.
Definition: zb_types.h:116
Definition: zb_zcl_common.h:265

Get Zone Status command, ZCL spec 8.3.2.3.8.

Parameters
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- enable/disable default response
cb- callback for getting command send status
starting_zone_id- Starting Zone ID, see zb_zcl_ias_ace_zone_table_s
max_num_zone_ids- Max Number of Zone IDs Requested Field
zone_status_mask_flag- Zone Status Mask Flag Field
zone_status_mask- Zone Status Mask Field
#define ZB_ZCL_IAS_ACE_SEND_GET_ZONE_STATUS_RESP_ADD (   ptr,
  zone_id,
  zone_status 
)
Value:
{ \
ZB_ZCL_PACKET_PUT_DATA8(ptr, (zone_id)); \
ZB_ZCL_PACKET_PUT_DATA8(ptr, (zone_status)); \
}
#define ZB_ZCL_PACKET_PUT_DATA8(ptr, val)
Put 8-bit value to packet.
Definition: zb_zcl_common.h:1353

Add Zone Id and Zone Status to Get Zone Status Response command, ZCL spec 8.3.2.4.9.

Parameters
ptr- [in/out] (zb_uint8_t*) current position
zone_id- Zone ID, see zb_zcl_ias_ace_zone_table_s
zone_status- Zone Status, see zb_zcl_ias_zone_zonestatus_e
#define ZB_ZCL_IAS_ACE_SEND_GET_ZONE_STATUS_RESP_END (   ptr,
  buffer,
  addr,
  dst_addr_mode,
  dst_ep,
  ep,
  prfl_id 
)
Value:
{ \
ZB_ZCL_FINISH_PACKET((buffer), ptr) \
ZB_ZCL_SEND_COMMAND_SHORT( \
buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, \
}
#define ZB_ZCL_FINISH_PACKET(zbbuf, ptr)
Definition: zb_zcl_common.h:1654
Definition: zb_zcl_common.h:265

End form Get Zone Status Response command and send it, ZCL spec 8.3.2.4.9.

Parameters
ptr- (zb_uint8_t*) current position
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
#define ZB_ZCL_IAS_ACE_SEND_GET_ZONE_STATUS_RESP_START (   buffer,
  seq,
  zone_status_complete,
  length,
  ptr 
)
Value:
{ \
(ptr) = ZB_ZCL_START_PACKET(buffer); \
ZB_ZCL_PACKET_PUT_DATA8((ptr), (zone_status_complete)); \
ZB_ZCL_PACKET_PUT_DATA8((ptr), (length)); \
}
#define ZB_ZCL_PACKET_PUT_DATA8(ptr, val)
Put 8-bit value to packet.
Definition: zb_zcl_common.h:1353
#define ZB_ZCL_START_PACKET(zbbuf)
Initializes zb_buf_t buffer and returns pointer to the beginning of array.
Definition: zb_zcl_common.h:1332
#define ZB_ZCL_CONSTRUCT_COMMAND_HEADER(data_ptr, tsn, cmd_id)
Construct ZCL header.
Definition: zb_zcl_common.h:1207
Definition: zb_zcl_ias_ace.h:204
#define ZB_ZCL_CONSTRUCT_SPECIFIC_COMMAND_RES_FRAME_CONTROL(buf_ptr)
Construct ZCL header frame control value for cluster-specific command response.
Definition: zb_zcl_common.h:1194

Get Zone Status Response command, ZCL spec 8.3.2.4.9.

Parameters
buffer- to put packet to
seq- sequence
zone_status_complete- Zone Status Complete
length- Number of Zones
ptr- [out] (zb_uint8_t*) current position for ZB_ZCL_IAS_ACE_SEND_GET_ZONE_STATUS_RESP_ADD and ZB_ZCL_IAS_ACE_SEND_GET_ZONE_STATUS_RESP_END
#define ZB_ZCL_IAS_ACE_SEND_PANEL_STATUS_CHANGED_REQ (   buffer,
  addr,
  dst_addr_mode,
  dst_ep,
  ep,
  prfl_id,
  def_resp,
  cb,
  panel_status,
  seconds_remaining,
  aud_notification,
  alarm_status 
)
Value:
{ \
ZB_ZCL_CONSTRUCT_FRAME_CONTROL( \
(def_resp)), \
0, /* No manuf_code */ \
NULL); \
ZB_ZCL_PACKET_PUT_DATA8(ptr, (panel_status)); \
ZB_ZCL_PACKET_PUT_DATA8(ptr, (seconds_remaining)); \
ZB_ZCL_PACKET_PUT_DATA8(ptr, (aud_notification)); \
ZB_ZCL_PACKET_PUT_DATA8(ptr, (alarm_status)); \
ZB_ZCL_FINISH_PACKET((buffer), ptr) \
ZB_ZCL_SEND_COMMAND_SHORT( \
buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, \
}
#define ZB_ZCL_PACKET_PUT_DATA8(ptr, val)
Put 8-bit value to packet.
Definition: zb_zcl_common.h:1353
Definition: zb_zcl_ias_ace.h:194
Definition: zb_zcl_common.h:874
Standard profile command.
Definition: zb_zcl_common.h:844
Definition: zb_zcl_common.h:832
#define ZB_ZCL_FINISH_PACKET(zbbuf, ptr)
Definition: zb_zcl_common.h:1654
unsigned char zb_uint8_t
Project-local 1-byte unsigned int type.
Definition: zb_types.h:116
Definition: zb_zcl_common.h:265
void * zb_zcl_start_command_header(zb_buf_t *zbbuf, zb_uint8_t frame_ctl, zb_uint16_t manuf_code, zb_uint8_t cmd_id, zb_uint8_t *tsn)
Construct ZCL command header in the buffer.

Panel Status Changed command, ZCL spec 8.3.2.4.5.

Parameters
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- enable/disable default response
cb- callback for getting command send status
panel_status- Panel Status, see zb_zcl_ias_ace_panel_status_e
seconds_remaining- Seconds Remaining Parameter
aud_notification- Audible Notification, see zb_zcl_ias_ace_aud_notification_e
alarm_status- Alarm Status Field, see zb_zcl_ias_ace_alarm_status_e
#define ZB_ZCL_IAS_ACE_SEND_PANIC_REQ (   buffer,
  addr,
  dst_addr_mode,
  dst_ep,
  ep,
  prfl_id,
  def_resp,
  cb 
)
Value:
{ \
zb_uint8_t* ptr = ZB_ZCL_START_PACKET_REQ(buffer) \
ZB_ZCL_CONSTRUCT_SPECIFIC_COMMAND_REQ_FRAME_CONTROL(ptr, (def_resp)) \
ZB_ZCL_CONSTRUCT_COMMAND_HEADER_REQ(ptr, ZB_ZCL_GET_SEQ_NUM(), \
ZB_ZCL_FINISH_PACKET((buffer), ptr) \
ZB_ZCL_SEND_COMMAND_SHORT( \
buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, \
}
#define ZB_ZCL_GET_SEQ_NUM()
Return next sequence number for ZCL frame.
Definition: zb_zcl_common.h:1250
Definition: zb_zcl_ias_ace.h:163
#define ZB_ZCL_FINISH_PACKET(zbbuf, ptr)
Definition: zb_zcl_common.h:1654
unsigned char zb_uint8_t
Project-local 1-byte unsigned int type.
Definition: zb_types.h:116
Definition: zb_zcl_common.h:265

Panic command, ZCL spec 8.3.2.4.3.

Parameters
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- enable/disable default response
cb- callback for getting command send status
#define ZB_ZCL_IAS_ACE_SEND_SET_BYPASSED_ZONE_LIST_ADD (   ptr,
  zone_id 
)
Value:
{ \
ZB_ZCL_PACKET_PUT_DATA8(ptr, (zone_id)); \
}
#define ZB_ZCL_PACKET_PUT_DATA8(ptr, val)
Put 8-bit value to packet.
Definition: zb_zcl_common.h:1353

Add Zone Id to Set Bypassed Zone List command, ZCL spec 8.3.2.4.7.

Parameters
ptr- [in/out] (zb_uint8_t*) current position
zone_id- Zone ID, see zb_zcl_ias_ace_zone_table_s
#define ZB_ZCL_IAS_ACE_SEND_SET_BYPASSED_ZONE_LIST_END (   ptr,
  buffer,
  addr,
  dst_addr_mode,
  dst_ep,
  ep,
  prfl_id,
  cb 
)
Value:
{ \
ZB_ZCL_FINISH_PACKET((buffer), ptr) \
ZB_ZCL_SEND_COMMAND_SHORT( \
buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, \
}
#define ZB_ZCL_FINISH_PACKET(zbbuf, ptr)
Definition: zb_zcl_common.h:1654
Definition: zb_zcl_common.h:265

End form Set Bypassed Zone List command and send it, ZCL spec 8.3.2.4.7.

Parameters
ptr- (zb_uint8_t*) current position
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
cb- callback for getting command send status
#define ZB_ZCL_IAS_ACE_SEND_SET_BYPASSED_ZONE_LIST_START (   buffer,
  length,
  ptr 
)
Value:
{ \
(ptr) = ZB_ZCL_START_PACKET(buffer); \
ZB_ZCL_PACKET_PUT_DATA8((ptr), (length)); \
}
#define ZB_ZCL_PACKET_PUT_DATA8(ptr, val)
Put 8-bit value to packet.
Definition: zb_zcl_common.h:1353
#define ZB_ZCL_GET_SEQ_NUM()
Return next sequence number for ZCL frame.
Definition: zb_zcl_common.h:1250
#define ZB_ZCL_START_PACKET(zbbuf)
Initializes zb_buf_t buffer and returns pointer to the beginning of array.
Definition: zb_zcl_common.h:1332
#define ZB_ZCL_CONSTRUCT_COMMAND_HEADER(data_ptr, tsn, cmd_id)
Construct ZCL header.
Definition: zb_zcl_common.h:1207
Definition: zb_zcl_ias_ace.h:199
#define ZB_ZCL_CONSTRUCT_SPECIFIC_COMMAND_RES_FRAME_CONTROL(buf_ptr)
Construct ZCL header frame control value for cluster-specific command response.
Definition: zb_zcl_common.h:1194

Start Set Bypassed Zone List command, ZCL spec 8.3.2.4.7.

Parameters
buffer- to put packet to
length- Number of Zones
ptr- [out] (zb_uint8_t*) current position for ZB_ZCL_IAS_ACE_SEND_SET_BYPASSED_ZONE_LIST_ADD and ZB_ZCL_IAS_ACE_SEND_SET_BYPASSED_ZONE_LIST_END
#define ZB_ZCL_IAS_ACE_SEND_SET_BYPASSED_ZONE_LIST_START_REQ (   buffer,
  def_resp,
  length,
  ptr 
)
Value:
{ \
(ptr) = zb_zcl_start_command_header(buffer, \
ZB_ZCL_CONSTRUCT_FRAME_CONTROL( \
(def_resp)), \
0, /* No manuf_code */ \
NULL); \
ZB_ZCL_PACKET_PUT_DATA8((ptr), (length)); \
}
#define ZB_ZCL_PACKET_PUT_DATA8(ptr, val)
Put 8-bit value to packet.
Definition: zb_zcl_common.h:1353
Definition: zb_zcl_common.h:874
Standard profile command.
Definition: zb_zcl_common.h:844
Definition: zb_zcl_common.h:832
Definition: zb_zcl_ias_ace.h:199
void * zb_zcl_start_command_header(zb_buf_t *zbbuf, zb_uint8_t frame_ctl, zb_uint16_t manuf_code, zb_uint8_t cmd_id, zb_uint8_t *tsn)
Construct ZCL command header in the buffer.

Start Set Bypassed Zone List command, ZCL spec 8.3.2.4.7 (unsolicited request)

Parameters
buffer- to put packet to
def_resp- enable/disable default response
length- Number of Zones
ptr- [out] (zb_uint8_t*) current position for ZB_ZCL_IAS_ACE_SEND_SET_BYPASSED_ZONE_LIST_ADD and ZB_ZCL_IAS_ACE_SEND_SET_BYPASSED_ZONE_LIST_END
#define ZB_ZCL_IAS_ACE_SEND_SET_BYPASSED_ZONE_LIST_START_RESP (   buffer,
  seq,
  length,
  ptr 
)
Value:
{ \
(ptr) = ZB_ZCL_START_PACKET(buffer); \
ZB_ZCL_PACKET_PUT_DATA8((ptr), (length)); \
}
#define ZB_ZCL_PACKET_PUT_DATA8(ptr, val)
Put 8-bit value to packet.
Definition: zb_zcl_common.h:1353
#define ZB_ZCL_START_PACKET(zbbuf)
Initializes zb_buf_t buffer and returns pointer to the beginning of array.
Definition: zb_zcl_common.h:1332
#define ZB_ZCL_CONSTRUCT_COMMAND_HEADER(data_ptr, tsn, cmd_id)
Construct ZCL header.
Definition: zb_zcl_common.h:1207
Definition: zb_zcl_ias_ace.h:199
#define ZB_ZCL_CONSTRUCT_SPECIFIC_COMMAND_RES_FRAME_CONTROL(buf_ptr)
Construct ZCL header frame control value for cluster-specific command response.
Definition: zb_zcl_common.h:1194

Start Set Bypassed Zone List command, ZCL spec 8.3.2.4.7 (response to the Get Bypassed Zone List command)

Parameters
buffer- to put packet to
seq- sequence
length- Number of Zones
ptr- [out] (zb_uint8_t*) current position for ZB_ZCL_IAS_ACE_SEND_SET_BYPASSED_ZONE_LIST_ADD and ZB_ZCL_IAS_ACE_SEND_SET_BYPASSED_ZONE_LIST_END
#define ZB_ZCL_IAS_ACE_SEND_ZONE_STATUS_CHANGED_REQ (   buffer,
  addr,
  dst_addr_mode,
  dst_ep,
  ep,
  prfl_id,
  def_resp,
  cb,
  zone_id,
  zone_status,
  aud_notification,
  zone_label 
)
Value:
{ \
ZB_ZCL_CONSTRUCT_FRAME_CONTROL( \
(def_resp)), \
0, /* No manuf_code */ \
NULL); \
ZB_ZCL_PACKET_PUT_DATA8(ptr, (zone_id)); \
ZB_ZCL_PACKET_PUT_DATA16_VAL(ptr, (zone_status)); \
ZB_ZCL_PACKET_PUT_DATA8(ptr, (aud_notification)); \
ZB_ZCL_PACKET_PUT_STRING(ptr, (zone_label)); \
ZB_ZCL_FINISH_PACKET((buffer), ptr) \
ZB_ZCL_SEND_COMMAND_SHORT( \
buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, \
}
#define ZB_ZCL_PACKET_PUT_DATA8(ptr, val)
Put 8-bit value to packet.
Definition: zb_zcl_common.h:1353
Definition: zb_zcl_ias_ace.h:191
Definition: zb_zcl_common.h:874
Standard profile command.
Definition: zb_zcl_common.h:844
Definition: zb_zcl_common.h:832
#define ZB_ZCL_PACKET_PUT_DATA16_VAL(ptr, val)
Definition: zb_zcl_common.h:1371
#define ZB_ZCL_FINISH_PACKET(zbbuf, ptr)
Definition: zb_zcl_common.h:1654
unsigned char zb_uint8_t
Project-local 1-byte unsigned int type.
Definition: zb_types.h:116
Definition: zb_zcl_common.h:265
#define ZB_ZCL_PACKET_PUT_STRING(_ptr, _val)
Definition: zb_zcl_common.h:1577
void * zb_zcl_start_command_header(zb_buf_t *zbbuf, zb_uint8_t frame_ctl, zb_uint16_t manuf_code, zb_uint8_t cmd_id, zb_uint8_t *tsn)
Construct ZCL command header in the buffer.

Zone Status Changed command, ZCL spec 8.3.2.4.4.

Parameters
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- enable/disable default response
cb- callback for getting command send status
zone_id- Zone ID
zone_status- Zone Status, see zb_zcl_ias_zone_zonestatus_e
aud_notification- Audible Notification, see zb_zcl_ias_ace_aud_notification_e
zone_label- Zone Label Field
#define ZB_ZCL_IAS_ACE_SET_BYPASSED_ZONE_LIST_PAYLOAD_SIZE (   ptr)
Value:
Structure representsation of Set Bypassed Zone List command, ZCL spec 8.3.2.4.7.
Definition: zb_zcl_ias_ace.h:1240
struct zb_zcl_ias_ace_set_bypassed_zone_list_s zb_zcl_ias_ace_set_bypassed_zone_list_t
Structure representsation of Set Bypassed Zone List command, ZCL spec 8.3.2.4.7.

Set Bypassed Zone List command payload size

#define ZB_ZCL_IAS_ACE_ZONE_STATUS_CHANGED_PAYLOAD_SIZE (   ptr)
Value:
struct zb_zcl_ias_ace_zone_status_changed_s zb_zcl_ias_ace_zone_status_changed_t
Structure representsation of Zone Status Changed command, ZCL spec 8.3.2.4.4.
Structure representsation of Zone Status Changed command, ZCL spec 8.3.2.4.4.
Definition: zb_zcl_ias_ace.h:952
#define ZB_ZCL_GET_STRING_LENGTH(str)
Get ZCL string length.
Definition: zb_zcl_common.h:419

Zone Status Changed command payload size

Enumeration Type Documentation

IAS ACE Alarm Status Field.

See also
ZCL spec 8.3.2.4.5.4
Enumerator
ZB_ZCL_IAS_ACE_ALARM_STATUS_NO_ALARM 

No alarm

ZB_ZCL_IAS_ACE_ALARM_STATUS_BURGLAR 

Burglar

ZB_ZCL_IAS_ACE_ALARM_STATUS_FIRE 

Fire

ZB_ZCL_IAS_ACE_ALARM_STATUS_EMERGENCY 

Emergency

ZB_ZCL_IAS_ACE_ALARM_STATUS_POLICE_PANIC 

Police Panic

ZB_ZCL_IAS_ACE_ALARM_STATUS_FIRE_PANIC 

Fire Panic

ZB_ZCL_IAS_ACE_ALARM_STATUS_EMERGENCY_PANIC 

Emergency Panic

Values of the Arm Mode see ZCL spec 8.3.2.4.1.2.

Enumerator
ZB_ZCL_IAS_ACE_ARM_MODE_DISARM 

Disarm

ZB_ZCL_IAS_ACE_ARM_MODE_DAY 

Arm Day/Home Zones Only

ZB_ZCL_IAS_ACE_ARM_MODE_NIGHT 

Arm Night/Sleep Zones Only

ZB_ZCL_IAS_ACE_ARM_MODE_ALL 

Arm All Zones

Values of the Arm Notification see ZCL spec 8.3.2.5.1.2.

Enumerator
ZB_ZCL_IAS_ACE_ARM_NOT_DISARM 

All Zones Disarmed

ZB_ZCL_IAS_ACE_ARM_NOT_DAY 

Only Day/Home Zones Armed

ZB_ZCL_IAS_ACE_ARM_NOT_NIGHT 

Only Night/Sleep Zones Armed

ZB_ZCL_IAS_ACE_ARM_NOT_ALL 

All Zones Armed

IAS Ace cluster custom attribute identifiers.

Enumerator
ZB_ZCL_ATTR_IAS_ACE_ZONE_TABLE_LENGTH_ID 

Ace table length, ZCL spec 8.3.2.3.

ZB_ZCL_ATTR_IAS_ACE_ZONE_TABLE_ID 

Ace table ZCL spec 8.3.2.3.

IAS ACE Audible Notification Field.

See also
ZCL spec 8.3.2.4.4.4
Enumerator
ZB_ZCL_IAS_ACE_AUD_NOTIFICATION_MUTE 

Mute (i.e., no audible notification)

ZB_ZCL_IAS_ACE_AUD_NOTIFICATION_DEF_SOUND 

Default sound

ZB_ZCL_IAS_ACE_AUD_NOTIFICATION_MANUF_SPECIFIC 

Manufacturer specific

IAS ACE Bypass Result.

See also
ZCL spec 8.3.2.4.8.3
Enumerator
ZB_ZCL_IAS_ACE_BYPASS_RESULT_BYPASSED 

The Zone ID requested to be bypassed is successful. Zone is bypassed.

ZB_ZCL_IAS_ACE_BYPASS_RESULT_NOT_BYPASSED 

The Zone ID requested to be bypassed is unsuccessful. Zone is not bypassed.

ZB_ZCL_IAS_ACE_BYPASS_RESULT_NOT_ALLOWED 

The Zone ID requested to be bypassed is not eligible to be bypassed per the policy or user configurations on the IAS ACE server. Zone is not bypassed.

ZB_ZCL_IAS_ACE_BYPASS_RESULT_INVALID_ZONE_ID 

The Zone ID requested to be bypassed is not in the valid range of Zone IDs.

ZB_ZCL_IAS_ACE_BYPASS_RESULT_UNKNOWN_ZONE_ID 

The Zone ID requested to be bypassed is in the valid range of Zone IDs, but the IAS ACE server does not have a record of the Zone ID requested.

ZB_ZCL_IAS_ACE_BYPASS_RESULT_INVALID_ARM_CODE 

A value returned indicating that the Arm/Disarm Code was entered incorrectly.

IAS Ace cluster command identifiers.

See also
ZCL spec, IAS Ace Cluster, 8.3.2.4
Enumerator
ZB_ZCL_CMD_IAS_ACE_ARM_ID 

Arm command, ZCL spec 8.3.2.4.1

ZB_ZCL_CMD_IAS_ACE_BYPASS_ID 

Bypass command, ZCL spec 8.3.2.4.2

ZB_ZCL_CMD_IAS_ACE_EMERGENCY_ID 

Emergency command, ZCL spec 8.3.2.4.3

ZB_ZCL_CMD_IAS_ACE_FIRE_ID 

Fire command, ZCL spec 8.3.2.4.3

ZB_ZCL_CMD_IAS_ACE_PANIC_ID 

Panic command, ZCL spec 8.3.2.4.3

ZB_ZCL_CMD_IAS_ACE_GET_ZONE_ID_MAP_ID 

Get Zone ID Map command, ZCL spec 8.3.2.4.4

ZB_ZCL_CMD_IAS_ACE_GET_ZONE_INFO_ID 

Get Zone Information command, ZCL spec 8.3.2.4.5

ZB_ZCL_CMD_IAS_ACE_GET_PANEL_STATUS_ID 

This command is used by ACE clients to request an update to the status (e.g. security system arm state) of the ACE server (i.e. the IAS CIE)

ZB_ZCL_CMD_IAS_ACE_GET_BYPASSED_ZONE_LIST_ID 

Provides IAS ACE clients with a way to retrieve the list of zones to be bypassed.

ZB_ZCL_CMD_IAS_ACE_GET_ZONE_STATUS_ID 

This command is used by ACE clients to request an update of the status of the IAS Zone devices managed by the ACE server (i.e. the IAS CIE).

IAS ACE PanelStatus Parameter.

See also
ZCL spec 8.3.2.4.5.2
Enumerator
ZB_ZCL_IAS_ACE_PANEL_STATUS_DISARMED 

Panel disarmed (all zones disarmed) and ready to arm

ZB_ZCL_IAS_ACE_PANEL_STATUS_ARMED_STAY 

Armed stay

ZB_ZCL_IAS_ACE_PANEL_STATUS_ARMED_NIGHT 

Armed night

ZB_ZCL_IAS_ACE_PANEL_STATUS_ARMED_AWAY 

Armed away

ZB_ZCL_IAS_ACE_PANEL_STATUS_EXIT_DELAY 

Exit delay

ZB_ZCL_IAS_ACE_PANEL_STATUS_ENTRY_DELAY 

Entry delay

ZB_ZCL_IAS_ACE_PANEL_STATUS_NOT_READY 

Not ready to arm

ZB_ZCL_IAS_ACE_PANEL_STATUS_IN_ALARM 

In alarm

ZB_ZCL_IAS_ACE_PANEL_STATUS_ARMING_STAY 

Arming Stay

ZB_ZCL_IAS_ACE_PANEL_STATUS_ARMING_NIGHT 

Arming Night

ZB_ZCL_IAS_ACE_PANEL_STATUS_ARMING_AWAY 

Arming Away

IAS Ace cluster responce command identifiers.

See also
ZCL spec, IAS Ace Cluster, 8.3.2.5
Enumerator
ZB_ZCL_CMD_IAS_ACE_ARM_RESP_ID 

Arm Response command, ZCL spec 8.3.2.5.1

ZB_ZCL_CMD_IAS_ACE_GET_ZONE_ID_MAP_RESP_ID 

Get Zone ID Map Response command, ZCL spec 8.3.2.5.2

ZB_ZCL_CMD_IAS_ACE_GET_ZONE_INFO_RESP_ID 

Get Zone Information Response command, ZCL spec 8.3.2.5.3

ZB_ZCL_CMD_IAS_ACE_ZONE_STATUS_CHANGED_ID 

This command updates ACE clients in the system of changes to zone status recorded by the ACE server (e.g., IAS CIE device).

ZB_ZCL_CMD_IAS_ACE_PANEL_STATUS_CHANGED_ID 

This command updates ACE clients in the system of changes to zone status recorded by the ACE server (e.g., IAS CIE device).

ZB_ZCL_CMD_IAS_ACE_GET_PANEL_STATUS_RESPONSE_ID 

This command updates ACE clients in the system of changes to panel status recorded by the ACE server (e.g., IAS CIE device).

ZB_ZCL_CMD_IAS_ACE_SET_BYPASSED_ZONE_LIST_ID 

Sets the list of bypassed zones on the IAS ACE client.

ZB_ZCL_CMD_IAS_ACE_BYPASS_RESPONSE_ID 

Provides the response of the security panel to the request from the IAS ACE client to bypass zones via a Bypass command.

ZB_ZCL_CMD_IAS_ACE_GET_ZONE_STATUS_RESPONSE_ID 

Get Zone Status Response Command.


Documentation feedback | Developer Zone | Subscribe | Updated