Developing with ZBOSS for Zigbee
ZCL level control add-ons

Data Structures

struct  zb_zcl_level_control_attrs_t
 Level Control cluster attributes according to ZCL Spec 3.10.2.3. More...
 

Macros

#define ZB_ZCL_LEVEL_CONTROL_SEND_STEP_CMD_NO_APS_ACK(buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, def_resp, cb, step_mode, step_size, transition_time, cmd_id)
 Macro equivalent to ZB_ZCL_LEVEL_CONTROL_SEND_STEP_CMD, but command is sent without APS ACK. More...
 
#define ZB_ZCL_LEVEL_CONTROL_SEND_STEP_REQ_NO_APS_ACK(buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, def_resp, cb, step_mode, step_size, transition_time)
 Macro equivalent to ZB_ZCL_LEVEL_CONTROL_SEND_STEP_REQ, but command is sent without APS ACK. More...
 

Detailed Description

Macro Definition Documentation

◆ ZB_ZCL_LEVEL_CONTROL_SEND_STEP_CMD_NO_APS_ACK

#define ZB_ZCL_LEVEL_CONTROL_SEND_STEP_CMD_NO_APS_ACK (   buffer,
  addr,
  dst_addr_mode,
  dst_ep,
  ep,
  prfl_id,
  def_resp,
  cb,
  step_mode,
  step_size,
  transition_time,
  cmd_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(), cmd_id); \
ZB_ZCL_PACKET_PUT_DATA8(ptr, (step_mode)); \
ZB_ZCL_PACKET_PUT_DATA8(ptr, (step_size)); \
ZB_ZCL_PACKET_PUT_DATA16_VAL(ptr, (transition_time)); \
ZB_ZCL_SEND_COMMAND_SHORT_WITHOUT_ACK((buffer), ptr, \
addr, dst_addr_mode, \
dst_ep, ep, prfl_id, \
}

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

◆ ZB_ZCL_LEVEL_CONTROL_SEND_STEP_REQ_NO_APS_ACK

#define ZB_ZCL_LEVEL_CONTROL_SEND_STEP_REQ_NO_APS_ACK (   buffer,
  addr,
  dst_addr_mode,
  dst_ep,
  ep,
  prfl_id,
  def_resp,
  cb,
  step_mode,
  step_size,
  transition_time 
)
Value:
{ \
ZB_ZCL_LEVEL_CONTROL_SEND_STEP_CMD_NO_APS_ACK(buffer, \
addr, \
dst_addr_mode, \
dst_ep, \
ep, \
prfl_id, \
def_resp, \
cb, \
step_mode, \
step_size, \
transition_time, \
}

Macro equivalent to ZB_ZCL_LEVEL_CONTROL_SEND_STEP_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:1348
ZB_ZCL_CLUSTER_ID_LEVEL_CONTROL
#define ZB_ZCL_CLUSTER_ID_LEVEL_CONTROL
Definition: zb_zcl_common.h:213
ZB_ZCL_CMD_LEVEL_CONTROL_STEP
@ ZB_ZCL_CMD_LEVEL_CONTROL_STEP
Definition: zb_zcl_level_control.h:312