Developing with ZBOSS for Zigbee
ZCL identify add-ons

Macros

#define ZB_ZCL_IDENTIFY_SEND_TRIGGER_VARIANT_REQ_NO_APS_ACK( buffer, addr, dst_addr_mode, dst_ep, ep, prof_id, def_resp, cb, effect_id, effect_var)
 Macro equivalent to ZB_ZCL_IDENTIFY_SEND_TRIGGER_VARIANT_REQ, but command is sent without APS ACK. More...
 
#define ZB_ZCL_DECLARE_IDENTIFY_CLIENT_ATTRIB_LIST(attr_list)
 Declare attribute list for Identify cluster (client). More...
 
#define ZB_ZCL_DECLARE_IDENTIFY_SERVER_ATTRIB_LIST(attr_list, identify_time)
 Declare attribute list for Identify cluster (server). More...
 

Detailed Description

Macro Definition Documentation

◆ ZB_ZCL_DECLARE_IDENTIFY_CLIENT_ATTRIB_LIST

#define ZB_ZCL_DECLARE_IDENTIFY_CLIENT_ATTRIB_LIST (   attr_list)
Value:
ZB_ZCL_START_DECLARE_ATTRIB_LIST_CLUSTER_REVISION(attr_list, ZB_ZCL_IDENTIFY) \
ZB_ZCL_FINISH_DECLARE_ATTRIB_LIST

Declare attribute list for Identify cluster (client).

Parameters
attr_list- attribute list name.

◆ ZB_ZCL_DECLARE_IDENTIFY_SERVER_ATTRIB_LIST

#define ZB_ZCL_DECLARE_IDENTIFY_SERVER_ATTRIB_LIST (   attr_list,
  identify_time 
)
Value:
ZB_ZCL_START_DECLARE_ATTRIB_LIST_CLUSTER_REVISION(attr_list, ZB_ZCL_IDENTIFY) \
ZB_ZCL_SET_ATTR_DESC(ZB_ZCL_ATTR_IDENTIFY_IDENTIFY_TIME_ID, (identify_time)) \
ZB_ZCL_FINISH_DECLARE_ATTRIB_LIST

Declare attribute list for Identify cluster (server).

Parameters
attr_list- attribute list name
identify_time- pointer to variable to store identify time attribute value

◆ ZB_ZCL_IDENTIFY_SEND_TRIGGER_VARIANT_REQ_NO_APS_ACK

#define ZB_ZCL_IDENTIFY_SEND_TRIGGER_VARIANT_REQ_NO_APS_ACK (   buffer,
  addr,
  dst_addr_mode,
  dst_ep,
  ep,
  prof_id,
  def_resp,
  cb,
  effect_id,
  effect_var 
)
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, (effect_id)); \
ZB_ZCL_PACKET_PUT_DATA8(ptr, (effect_var)); \
ZB_ZCL_SEND_COMMAND_SHORT_WITHOUT_ACK((buffer), ptr, addr, dst_addr_mode, \
dst_ep, ep, prof_id, ZB_ZCL_CLUSTER_ID_IDENTIFY, cb, 0); \
}

Macro equivalent to ZB_ZCL_IDENTIFY_SEND_TRIGGER_VARIANT_REQ, but command is sent without APS ACK.

ZB_ZCL_GET_SEQ_NUM
#define ZB_ZCL_GET_SEQ_NUM()
Return next sequence number for ZCL frame.
Definition: zb_zcl_common.h:1468
ZB_ZCL_CLUSTER_ID_IDENTIFY
#define ZB_ZCL_CLUSTER_ID_IDENTIFY
Definition: zb_zcl_common.h:210
ZB_ZCL_CMD_IDENTIFY_TRIGGER_EFFECT_ID
@ ZB_ZCL_CMD_IDENTIFY_TRIGGER_EFFECT_ID
Definition: zb_zcl_identify.h:82
ZB_ZCL_ATTR_IDENTIFY_IDENTIFY_TIME_ID
@ ZB_ZCL_ATTR_IDENTIFY_IDENTIFY_TIME_ID
Definition: zb_zcl_identify.h:60