Developing with ZBOSS for Zigbee

Data Structures

struct  zb_zcl_on_off_attrs_ext_t
 On/Off cluster attributes with optional fields according to ZCL Spec 3.8.2.2. More...
 

Macros

#define ZB_ZCL_ON_OFF_SEND_REQ_NO_APS_ACK( buffer, addr, dst_addr_mode, dst_ep, ep, prof_id, dis_default_resp, command_id, cb)
 Macro equivalent to ZB_ZCL_ON_OFF_SEND_REQ, but command is sent without APS ACK. More...
 
#define ZB_ZCL_DECLARE_ON_OFF_CLIENT_ATTRIB_LIST(attr_list)
 Declare attribute list for On/Off cluster (client). More...
 

Detailed Description

Macro Definition Documentation

◆ ZB_ZCL_DECLARE_ON_OFF_CLIENT_ATTRIB_LIST

#define ZB_ZCL_DECLARE_ON_OFF_CLIENT_ATTRIB_LIST (   attr_list)
Value:
ZB_ZCL_FINISH_DECLARE_ATTRIB_LIST

Declare attribute list for On/Off cluster (client).

Parameters
attr_list- attribute list name.

◆ ZB_ZCL_ON_OFF_SEND_REQ_NO_APS_ACK

#define ZB_ZCL_ON_OFF_SEND_REQ_NO_APS_ACK (   buffer,
  addr,
  dst_addr_mode,
  dst_ep,
  ep,
  prof_id,
  dis_default_resp,
  command_id,
  cb 
)
Value:
{ \
zb_uint8_t* ptr = ZB_ZCL_START_PACKET_REQ(buffer) \
ZB_ZCL_CONSTRUCT_SPECIFIC_COMMAND_REQ_FRAME_CONTROL(ptr, dis_default_resp) \
ZB_ZCL_CONSTRUCT_COMMAND_HEADER_REQ(ptr, ZB_ZCL_GET_SEQ_NUM(), command_id); \
ZB_ZCL_SEND_COMMAND_SHORT_WITHOUT_ACK((buffer), ptr, addr, \
dst_addr_mode, dst_ep, ep, prof_id, ZB_ZCL_CLUSTER_ID_ON_OFF, cb, 0); \
}

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

ZB_ZCL_CLUSTER_ID_ON_OFF
#define ZB_ZCL_CLUSTER_ID_ON_OFF
Definition: zb_zcl_common.h:212
ZB_ZCL_GET_SEQ_NUM
#define ZB_ZCL_GET_SEQ_NUM()
Return next sequence number for ZCL frame.
Definition: zb_zcl_common.h:1450
ZB_ZCL_START_DECLARE_ATTRIB_LIST_CLUSTER_REVISION
#define ZB_ZCL_START_DECLARE_ATTRIB_LIST_CLUSTER_REVISION(attrs_desc_name, cluster_name)
Start declaration of attributes list with cluster revision.
Definition: zb_zcl_common.h:791