Developing with ZBOSS for Zigbee

Data Structures

struct  zb_zcl_on_off_attrs_ext_t
 On/Off cluster attributes 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...
 

Detailed Description

Macro Definition Documentation

◆ 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:211
ZB_ZCL_GET_SEQ_NUM
#define ZB_ZCL_GET_SEQ_NUM()
Return next sequence number for ZCL frame.
Definition: zb_zcl_common.h:1348