nRF5 SDK for Thread and Zigbee v3.2.0
Data Structures | Macros
ZCL color control add-ons

Data Structures

struct  zb_zcl_color_ctrl_attrs_set_color_inf_t
 Color information set for Color cluster attributes according to ZCL Spec 5.2.2.2.1. More...
 
struct  zb_zcl_color_ctrl_attrs_set_defined_primaries_inf_t
 Defined primaries information attribute set for Color cluster attributes according to ZCL Spec 5.2.2.2.2. More...
 
struct  zb_zcl_color_ctrl_attrs_set_add_prim_inf_t
 Color cluster attributes according to ZCL Spec 5.2.2.2.3. More...
 
struct  zb_zcl_color_control_attrs_t
 Color cluster attributes according to ZCL Spec 5.2.2.2. More...
 

Macros

#define ZB_ZCL_COLOR_CONTROL_SEND_MOVE_TO_HUE_SATURATION_REQ_NO_APS_ACK(buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, def_resp, cb, hue, saturation, transition_time)
 Macro equivalent to ZB_ZCL_COLOR_CONTROL_SEND_MOVE_TO_HUE_SATURATION_REQ, but command is sent without APS ACK. More...
 

Detailed Description

Macro Definition Documentation

#define ZB_ZCL_COLOR_CONTROL_SEND_MOVE_TO_HUE_SATURATION_REQ_NO_APS_ACK (   buffer,
  addr,
  dst_addr_mode,
  dst_ep,
  ep,
  prfl_id,
  def_resp,
  cb,
  hue,
  saturation,
  transition_time 
)
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_CMD_COLOR_CONTROL_MOVE_TO_HUE_SATURATION); \
ZB_ZCL_PACKET_PUT_DATA8(ptr, (saturation)); \
ZB_ZCL_PACKET_PUT_DATA16_VAL(ptr, (transition_time)); \
ZB_ZCL_SEND_COMMAND_SHORT( \
buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, ZB_ZCL_CLUSTER_ID_COLOR_CONTROL, cb); \
}
#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_NO_APS_ACK(zbbuf, ptr)
Macro equivalent to ZB_ZCL_FINISH_PACKET, but command is sent without APS ACK.
Definition: zb_zcl_common_addons.h:16
#define ZB_ZCL_PACKET_PUT_DATA16_VAL(ptr, val)
Definition: zb_zcl_common.h:1371
Definition: zb_zcl_color_control.h:1037
unsigned char zb_uint8_t
Project-local 1-byte unsigned int type.
Definition: zb_types.h:116
Definition: zb_zcl_common.h:253

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


Documentation feedback | Developer Zone | Subscribe | Updated