Logo
Developing with ZBOSS for Zigbee
zb_zcl_color_control.h File Reference

Data Structures

struct  zb_zcl_color_control_req_options_s
 Structured representation of Level Control command payload (optional part) More...
 
struct  zb_zcl_color_control_move_to_hue_req_s
 Structure representation of Move To Hue command payload. More...
 
struct  zb_zcl_color_control_move_hue_req_s
 Structure representation of Move Hue command payload. More...
 
struct  zb_zcl_color_control_step_hue_req_s
 Structure representation of Step Hue command payload. More...
 
struct  zb_zcl_color_control_move_to_saturation_req_s
 Structure representation of Move To Saturation command payload. More...
 
struct  zb_zcl_color_control_move_saturation_req_s
 Structure representation of Move Saturation command payload. More...
 
struct  zb_zcl_color_control_step_saturation_req_s
 Structure representation of Step Saturation command payload. More...
 
struct  zb_zcl_color_control_move_to_hue_saturation_req_s
 Structure representation of Move To Hue and Saturation command payload. More...
 
struct  zb_zcl_color_control_move_to_color_req_s
 Structure representation of Move To Color command payload. More...
 
struct  zb_zcl_color_control_move_color_req_s
 Structure representation of Move Color command payload. More...
 
struct  zb_zcl_color_control_step_color_req_s
 Structure representation of Step Color command payload. More...
 
struct  zb_zcl_color_control_move_to_color_temperature_req_s
 Structure representation of Move To Color Temperature command payload. More...
 
struct  zb_zcl_color_control_enhanced_move_to_hue_req_s
 Structure representation of Enhanced Move To Hue command payload. More...
 
struct  zb_zcl_color_control_enhanced_move_hue_req_s
 Structure representation of Enhanced Move Hue command payload. More...
 
struct  zb_zcl_color_control_enhanced_step_hue_req_s
 Structure representation of Enhanced Step Hue command payload. More...
 
struct  zb_zcl_color_control_enhanced_move_to_hue_saturation_req_s
 Structure representation of Move To Hue and Saturation command payload. More...
 
struct  zb_zcl_color_control_color_loop_set_req_s
 Structure representation of Color Loop Set command payload. More...
 
struct  zb_zcl_color_control_color_loop_set_s
 
struct  zb_zcl_color_control_move_color_temp_req_s
 Structure representation of Move color temperature command payload. More...
 
struct  zb_zcl_color_control_step_color_temp_req_s
 Structure representation of Step color temperature command command payload. More...
 

Macros

#define ZB_ZCL_CLUSTER_ID_COLOR_CONTROL_SERVER_ROLE_INIT   zb_zcl_color_control_init_server
 
#define ZB_ZCL_CLUSTER_ID_COLOR_CONTROL_CLIENT_ROLE_INIT   zb_zcl_color_control_init_client
 

Functions

void zb_zcl_color_control_init_server (void)
 
void zb_zcl_color_control_init_client (void)
 

Color Control cluster attributes

#define ZB_ZCL_COLOR_CONTROL_CLUSTER_REVISION_DEFAULT   ((zb_uint16_t)0x0003u)
 Default value for Color control cluster revision global attribute. More...
 
#define ZB_ZCL_COLOR_CONTROL_CLUSTER_REVISION_MAX   ZB_ZCL_COLOR_CONTROL_CLUSTER_REVISION_DEFAULT
 Maximal value for implemented Color control cluster revision global attribute. More...
 
#define ZB_ZCL_COLOR_CONTROL_CURRENT_HUE_MIN_VALUE   0
 Current Hue attribute minimum value. More...
 
#define ZB_ZCL_COLOR_CONTROL_CURRENT_HUE_MAX_VALUE   0xfe
 Current Hue attribute maximum value. More...
 
#define ZB_ZCL_COLOR_CONTROL_OPTIONS_MASK_DEFAULT_FIELD_VALUE   ((zb_uint8_t)0x00)
 
#define ZB_ZCL_COLOR_CONTROL_OPTIONS_OVERRIDE_DEFAULT_FIELD_VALUE   ((zb_uint8_t)0x00)
 
#define ZB_ZCL_COLOR_CONTROL_CURRENT_SATURATION_MIN_VALUE   0
 Current Saturation attribute minimum value. More...
 
#define ZB_ZCL_COLOR_CONTROL_CURRENT_SATURATION_MAX_VALUE   0xfe
 Current Saturation attribute maximum value. More...
 
#define ZB_ZCL_COLOR_CONTROL_REMAINING_TIME_MIN_VALUE   0
 Remaining Time attribute minimum value. More...
 
#define ZB_ZCL_COLOR_CONTROL_REMAINING_TIME_MAX_VALUE   0xfffe
 Remaining Time attribute maximum value. More...
 
#define ZB_ZCL_COLOR_CONTROL_CURRENT_X_DEF_VALUE   0x616b
 Current X attribute default value. More...
 
#define ZB_ZCL_COLOR_CONTROL_CURRENT_HUE_DEFAULT_VALUE   ((zb_uint8_t)0x00)
 Default value for CurrentHue attribute. More...
 
#define ZB_ZCL_COLOR_CONTROL_CURRENT_SATURATION_DEFAULT_VALUE   ((zb_uint8_t)0x00)
 Default value for CurrentSaturation attribute. More...
 
#define ZB_ZCL_COLOR_CONTROL_REMAINING_TIME_DEFAULT_VALUE   ((zb_uint16_t)0x00)
 Default value for RemainingTime attribute. More...
 
#define ZB_ZCL_COLOR_CONTROL_CURRENT_X_MIN_VALUE   0
 Current X attribute minimum value. More...
 
#define ZB_ZCL_COLOR_CONTROL_CURRENT_X_MAX_VALUE   0xfeff
 Current X attribute maximum value. More...
 
#define ZB_ZCL_COLOR_CONTROL_CURRENT_Y_DEF_VALUE   0x607d
 Current Y attribute default value. More...
 
#define ZB_ZCL_COLOR_CONTROL_CURRENT_Y_MIN_VALUE   0
 Current Y attribute minimum value. More...
 
#define ZB_ZCL_COLOR_CONTROL_CURRENT_Y_MAX_VALUE   0xfeff
 Current Y attribute maximum value. More...
 
#define ZB_ZCL_COLOR_CONTROL_COLOR_X_RED   (zb_uint16_t)(0.735484*ZB_ZCL_COLOR_CONTROL_CURRENT_X_MAX_VALUE)
 Current Hue attribute red value. More...
 
#define ZB_ZCL_COLOR_CONTROL_COLOR_X_GREEN   (zb_uint16_t)(0.0138702*ZB_ZCL_COLOR_CONTROL_CURRENT_X_MAX_VALUE)
 Current Hue attribute green value. More...
 
#define ZB_ZCL_COLOR_CONTROL_COLOR_X_BLUE   (zb_uint16_t)(0.0995467*ZB_ZCL_COLOR_CONTROL_CURRENT_X_MAX_VALUE)
 Current Hue attribute blue value. More...
 
#define ZB_ZCL_COLOR_CONTROL_COLOR_Y_RED   (zb_uint16_t)(0.264516*ZB_ZCL_COLOR_CONTROL_CURRENT_Y_MAX_VALUE)
 Current Hue attribute red value. More...
 
#define ZB_ZCL_COLOR_CONTROL_COLOR_Y_GREEN   (zb_uint16_t)(0.750186*ZB_ZCL_COLOR_CONTROL_CURRENT_Y_MAX_VALUE)
 Current Hue attribute green value. More...
 
#define ZB_ZCL_COLOR_CONTROL_COLOR_Y_BLUE   (zb_uint16_t)(0.11196*ZB_ZCL_COLOR_CONTROL_CURRENT_Y_MAX_VALUE)
 Current Hue attribute blue value. More...
 
#define ZB_ZCL_COLOR_CONTROL_COLOR_TEMPERATURE_DEF_VALUE   0x00fa
 Color Temperature default value (4000K) More...
 
#define ZB_ZCL_COLOR_CONTROL_COLOR_TEMPERATURE_MIN_VALUE   0
 Color Temperature minimum value. More...
 
#define ZB_ZCL_COLOR_CONTROL_COLOR_TEMPERATURE_MAX_VALUE   0xfeff
 Color Temperature maximum value. More...
 
#define ZB_ZCL_COLOR_CONTROL_COLOR_MODE_DEFAULT_VALUE   ((zb_uint8_t)0x01)
 Default value for ColorMode attribute. More...
 
#define ZB_ZCL_COLOR_CONTROL_OPTIONS_DEFAULT_VALUE   ((zb_uint8_t)0x00)
 Default value for Options attribute. More...
 
#define ZB_ZCL_COLOR_CONTROL_ENHANCED_CURRENT_HUE_DEFAULT_VALUE   ((zb_uint16_t)0x0000)
 Default value for EnhancedCurrentHue attribute. More...
 
#define ZB_ZCL_COLOR_CONTROL_ENHANCED_COLOR_MODE_DEFAULT_VALUE   ((zb_uint8_t)0x01)
 Default value for EnhancedColorMode attribute. More...
 
#define ZB_ZCL_COLOR_CONTROL_COLOR_LOOP_ACTIVE_DEFAULT_VALUE   ((zb_uint8_t)0x00)
 Default value for ColorLoopActive attribute. More...
 
#define ZB_ZCL_COLOR_CONTROL_COLOR_LOOP_DIRECTION_DEFAULT_VALUE   ((zb_uint8_t)0x00)
 Default value for ColorLoopDirection attribute. More...
 
#define ZB_ZCL_COLOR_CONTROL_COLOR_TEMP_PHYSICAL_MIREDS_INVALID_VALUE   ((zb_uint16_t)0xffff)
 Invalid value for Physical Mireds attribute. More...
 
#define ZB_ZCL_COLOR_CONTROL_NUMBER_OF_PRIMARIES_MAX_VALUE   6
 Number Of Primaries attribute maximum value. More...
 
#define ZB_ZCL_COLOR_CONTROL_PRIMARY_X_MAX_VALUE   0xfeff
 Primary X attribute maximum value. More...
 
#define ZB_ZCL_COLOR_CONTROL_PRIMARY_Y_MAX_VALUE   0xfeff
 Primary Y attribute maximum value. More...
 
#define ZB_ZCL_COLOR_CONTROL_PRIMARY_INTENSITY_MAX_VALUE   0xfe
 Primary Intensity attribute maximum value. More...
 
#define ZB_ZCL_COLOR_CONTROL_PRIMARY_INTENSITY_NON_USED_VALUE   0xff
 Primary Intensity attribute not used value. More...
 
#define ZB_ZCL_COLOR_CONTROL_ENHANCED_HUE_MAX_DEF_VALUE   0xffff
 Enhanced Hue Max attribute default value. More...
 
#define ZB_ZCL_COLOR_CONTROL_ENHANCED_HUE_RED   (zb_uint16_t)(ZB_ZCL_COLOR_CONTROL_HUE_RED << 8)
 Current Hue attribute red value. More...
 
#define ZB_ZCL_COLOR_CONTROL_ENHANCED_GREEN   (zb_uint16_t)(ZB_ZCL_COLOR_CONTROL_HUE_GREEN << 8)
 Current Hue attribute green value. More...
 
#define ZB_ZCL_COLOR_CONTROL_ENHANCED_BLUE   (zb_uint16_t)(ZB_ZCL_COLOR_CONTROL_HUE_BLUE << 8)
 Current Hue attribute blue value. More...
 
#define ZB_ZCL_COLOR_CONTROL_COLOR_LOOP_TIME_DEF_VALUE   0x0019
 Color Loop Time attribute default value. More...
 
#define ZB_ZCL_COLOR_CONTROL_COLOR_LOOP_START_DEF_VALUE   0x2300
 Color Loop Start Enhanced Hue attribute default value. More...
 
#define ZB_ZCL_COLOR_CONTROL_COLOR_LOOP_STORED_ENHANCED_HUE_DEFAULT_VALUE   ((zb_uint16_t)0x0000)
 Default value for ColorLoopStoredEnhancedHue attribute. More...
 
#define ZB_ZCL_COLOR_CONTROL_COLOR_CAPABILITIES_DEFAULT_VALUE   ((zb_uint16_t)0x0000)
 Default value for ColorCapabilities attribute. More...
 
#define ZB_ZCL_COLOR_CONTROL_COLOR_TEMP_PHYSICAL_MIN_MIREDS_DEFAULT_VALUE   ((zb_uint16_t)0x0000)
 Default value for ColorTempPhysicalMinMireds attribute. More...
 
#define ZB_ZCL_COLOR_CONTROL_COLOR_TEMP_PHYSICAL_MAX_MIREDS_DEFAULT_VALUE   ((zb_uint16_t)0xFEFF)
 Default value for ColorTempPhysicalMaxMireds attribute. More...
 
#define ZB_ZCL_COLOR_CONTROL_COLOR_CAPABILITIES_MAX_VALUE   0x001f
 Color Capabilities attribute maximum value. More...
 
#define ZB_ZCL_COLOR_CONTROL_START_UP_COLOR_TEMPERATURE_MAX_VALUE   ZB_ZCL_COLOR_CONTROL_COLOR_TEMPERATURE_MAX_VALUE
 Start Up Color Temperature Mireds Max value. More...
 
#define ZB_ZCL_COLOR_CONTROL_START_UP_COLOR_TEMPERATURE_USE_PREVIOUS_VALUE   0xffff
 Start Up Color Temperature Mireds Use Previous value. More...
 
#define ZB_ZCL_DECLARE_COLOR_CONTROL_ATTRIB_LIST_EXT(attr_list, current_hue, current_saturation, remaining_time, current_X, current_Y, color_temperature, color_mode, options, number_primaries, primary_1_X, primary_1_Y, primary_1_intensity, primary_2_X, primary_2_Y, primary_2_intensity, primary_3_X, primary_3_Y, primary_3_intensity, primary_4_X, primary_4_Y, primary_4_intensity, primary_5_X, primary_5_Y, primary_5_intensity, primary_6_X, primary_6_Y, primary_6_intensity, enhanced_current_hue, enhanced_color_mode, color_loop_active, color_loop_direction, color_loop_time, color_loop_start, color_loop_stored, color_capabilities, color_temp_physical_min, color_temp_physical_max, couple_color_temp_to_level_min, start_up_color_temp)
 Declare attribute list for Color Control cluster (extended attribute set) More...
 
#define ZB_ZCL_DECLARE_COLOR_CONTROL_ATTRIB_LIST(attr_list, current_X, current_Y)
 Declare attribute list for Color Control cluster (mandatory attribute set) More...
 
enum  zb_zcl_color_control_attr_e {
  ZB_ZCL_ATTR_COLOR_CONTROL_CURRENT_HUE_ID = 0x0000, ZB_ZCL_ATTR_COLOR_CONTROL_CURRENT_SATURATION_ID = 0x0001, ZB_ZCL_ATTR_COLOR_CONTROL_REMAINING_TIME_ID = 0x0002, ZB_ZCL_ATTR_COLOR_CONTROL_CURRENT_X_ID = 0x0003,
  ZB_ZCL_ATTR_COLOR_CONTROL_CURRENT_Y_ID = 0x0004, ZB_ZCL_ATTR_COLOR_CONTROL_DRIFT_COMPENSATION_ID = 0x0005, ZB_ZCL_ATTR_COLOR_CONTROL_COMPENSATION_TEXT_ID = 0x0006, ZB_ZCL_ATTR_COLOR_CONTROL_COLOR_TEMPERATURE_ID = 0x0007,
  ZB_ZCL_ATTR_COLOR_CONTROL_COLOR_MODE_ID = 0x0008, ZB_ZCL_ATTR_COLOR_CONTROL_OPTIONS_ID = 0x000f, ZB_ZCL_ATTR_COLOR_CONTROL_ENHANCED_CURRENT_HUE_ID = 0x4000, ZB_ZCL_ATTR_COLOR_CONTROL_ENHANCED_COLOR_MODE_ID = 0x4001,
  ZB_ZCL_ATTR_COLOR_CONTROL_COLOR_LOOP_ACTIVE_ID = 0x4002, ZB_ZCL_ATTR_COLOR_CONTROL_COLOR_LOOP_DIRECTION_ID = 0x4003, ZB_ZCL_ATTR_COLOR_CONTROL_COLOR_LOOP_TIME_ID = 0x4004, ZB_ZCL_ATTR_COLOR_CONTROL_COLOR_LOOP_START_ENHANCED_HUE_ID = 0x4005,
  ZB_ZCL_ATTR_COLOR_CONTROL_COLOR_LOOP_STORED_ENHANCED_HUE_ID = 0x4006, ZB_ZCL_ATTR_COLOR_CONTROL_COLOR_CAPABILITIES_ID = 0x400a, ZB_ZCL_ATTR_COLOR_CONTROL_COLOR_TEMP_PHYSICAL_MIN_MIREDS_ID = 0x400b, ZB_ZCL_ATTR_COLOR_CONTROL_COLOR_TEMP_PHYSICAL_MAX_MIREDS_ID = 0x400c,
  ZB_ZCL_ATTR_COLOR_CONTROL_COUPLE_COLOR_TEMP_TO_LEVEL_MIN_MIREDS_ID = 0x400d, ZB_ZCL_ATTR_COLOR_CONTROL_START_UP_COLOR_TEMPERATURE_MIREDS_ID = 0x4010, ZB_ZCL_ATTR_COLOR_CONTROL_NUMBER_OF_PRIMARIES_ID = 0x0010, ZB_ZCL_ATTR_COLOR_CONTROL_PRIMARY_1_X_ID = 0x0011,
  ZB_ZCL_ATTR_COLOR_CONTROL_PRIMARY_1_Y_ID = 0x0012, ZB_ZCL_ATTR_COLOR_CONTROL_PRIMARY_1_INTENSITY_ID = 0x0013, ZB_ZCL_ATTR_COLOR_CONTROL_PRIMARY_2_X_ID = 0x0015, ZB_ZCL_ATTR_COLOR_CONTROL_PRIMARY_2_Y_ID = 0x0016,
  ZB_ZCL_ATTR_COLOR_CONTROL_PRIMARY_2_INTENSITY_ID = 0x0017, ZB_ZCL_ATTR_COLOR_CONTROL_PRIMARY_3_X_ID = 0x0019, ZB_ZCL_ATTR_COLOR_CONTROL_PRIMARY_3_Y_ID = 0x001a, ZB_ZCL_ATTR_COLOR_CONTROL_PRIMARY_3_INTENSITY_ID = 0x001b,
  ZB_ZCL_ATTR_COLOR_CONTROL_PRIMARY_4_X_ID = 0x0020, ZB_ZCL_ATTR_COLOR_CONTROL_PRIMARY_4_Y_ID = 0x0021, ZB_ZCL_ATTR_COLOR_CONTROL_PRIMARY_4_INTENSITY_ID = 0x0022, ZB_ZCL_ATTR_COLOR_CONTROL_PRIMARY_5_X_ID = 0x0024,
  ZB_ZCL_ATTR_COLOR_CONTROL_PRIMARY_5_Y_ID = 0x0025, ZB_ZCL_ATTR_COLOR_CONTROL_PRIMARY_5_INTENSITY_ID = 0x0026, ZB_ZCL_ATTR_COLOR_CONTROL_PRIMARY_6_X_ID = 0x0028, ZB_ZCL_ATTR_COLOR_CONTROL_PRIMARY_6_Y_ID = 0x0029,
  ZB_ZCL_ATTR_COLOR_CONTROL_PRIMARY_6_INTENSITY_ID = 0x002a, ZB_ZCL_ATTR_COLOR_CONTROL_WHITE_POINT_X_ID = 0x0030, ZB_ZCL_ATTR_COLOR_CONTROL_WHITE_POINT_Y_ID = 0x0031, ZB_ZCL_ATTR_COLOR_CONTROL_COLOR_POINT_RX_ID = 0x0032,
  ZB_ZCL_ATTR_COLOR_CONTROL_COLOR_POINT_RY_ID = 0x0033, ZB_ZCL_ATTR_COLOR_CONTROL_COLOR_POINT_R_INTENSITY_ID = 0x0034, ZB_ZCL_ATTR_COLOR_CONTROL_COLOR_POINT_GX_ID = 0x0036, ZB_ZCL_ATTR_COLOR_CONTROL_COLOR_POINT_GY_ID = 0x0037,
  ZB_ZCL_ATTR_COLOR_CONTROL_COLOR_POINT_G_INTENSITY_ID = 0x0038, ZB_ZCL_ATTR_COLOR_CONTROL_COLOR_POINT_BX_ID = 0x003a, ZB_ZCL_ATTR_COLOR_CONTROL_COLOR_POINT_BY_ID = 0x003b, ZB_ZCL_ATTR_COLOR_CONTROL_COLOR_POINT_B_INTENSITY_ID = 0x003c
}
 Color Control cluster information attribute identifiers. More...
 
enum  zb_zcl_color_control_hue_e { ZB_ZCL_COLOR_CONTROL_HUE_RED = 0, ZB_ZCL_COLOR_CONTROL_HUE_GREEN = 85, ZB_ZCL_COLOR_CONTROL_HUE_BLUE = 169 }
 Color control Hue value. More...
 
enum  zb_zcl_color_control_color_mode_e { ZB_ZCL_COLOR_CONTROL_COLOR_MODE_HUE_SATURATION = 0x00, ZB_ZCL_COLOR_CONTROL_COLOR_MODE_CURRENT_X_Y = 0x01, ZB_ZCL_COLOR_CONTROL_COLOR_MODE_TEMPERATURE = 0x02 }
 Color Mode attribute enumeration. More...
 
enum  zb_zcl_color_control_options_e { ZB_ZCL_COLOR_CONTROL_OPTIONS_EXECUTE_IF_OFF = 0 }
 Options attribute flags. More...
 
enum  zb_zcl_color_control_enhanced_color_mode_e { ZB_ZCL_COLOR_CONTROL_COLOR_EX_MODE_HUE_SATURATION = 0x00, ZB_ZCL_COLOR_CONTROL_COLOR_EX_MODE_CURRENT_X_Y = 0x01, ZB_ZCL_COLOR_CONTROL_COLOR_EX_MODE_TEMPERATURE = 0x02, ZB_ZCL_COLOR_CONTROL_COLOR_EX_MODE_HUE_SATURATION_EX = 0x03 }
 Enhanced Color Mode attribute enumeration. More...
 
enum  zb_zcl_color_control_color_capabilities_e {
  ZB_ZCL_COLOR_CONTROL_CAPABILITIES_HUE_SATURATION = 1 << 0, ZB_ZCL_COLOR_CONTROL_CAPABILITIES_EX_HUE = 1 << 1, ZB_ZCL_COLOR_CONTROL_CAPABILITIES_COLOR_LOOP = 1 << 2, ZB_ZCL_COLOR_CONTROL_CAPABILITIES_X_Y = 1 << 3,
  ZB_ZCL_COLOR_CONTROL_CAPABILITIES_COLOR_TEMP = 1 << 4
}
 Enhanced Color Capabilities attribute flags. More...
 

Color Control cluster commands

#define ZB_ZCL_COLOR_CONTROL_REQ_OPTIONS_PAYLOAD_LEN   sizeof(zb_zcl_color_control_req_options_t)
 Move to Level payload length macro. More...
 
#define ZB_ZCL_COLOR_CONTROL_GET_CMD_OPTIONS(data_buf, req_options)
 
#define ZB_ZCL_COLOR_CONTROL_MOVE_TO_HUE_REQ_PAYLOAD_LEN   sizeof(zb_zcl_color_control_move_to_hue_req_t)
 Move Hue payload length macro. More...
 
#define ZB_ZCL_COLOR_CONTROL_SEND_MOVE_TO_HUE_REQ_ZCL8(buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, def_resp, cb, hue, direction, transition_time, options_mask, options_override)
 
#define ZB_ZCL_COLOR_CONTROL_SEND_MOVE_TO_HUE_REQ(buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, def_resp, cb, hue, direction, transition_time)
 
#define ZB_ZCL_COLOR_CONTROL_GET_MOVE_TO_HUE_REQ(buffer, move_to_hue_req, status)
 Macro for getting Move to Hue command. More...
 
#define ZB_ZCL_COLOR_CONTROL_MOVE_HUE_REQ_PAYLOAD_LEN   sizeof(zb_zcl_color_control_move_hue_req_t)
 Move Hue payload length macro. More...
 
#define ZB_ZCL_COLOR_CONTROL_SEND_MOVE_HUE_REQ_ZCL8(buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, def_resp, cb, move_mode, rate, options_mask, options_override)
 
#define ZB_ZCL_COLOR_CONTROL_SEND_MOVE_HUE_REQ(buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, def_resp, cb, move_mode, rate)
 
#define ZB_ZCL_COLOR_CONTROL_GET_MOVE_HUE_REQ(buffer, move_hue_req, status)
 Macro for getting Move Hue command. More...
 
#define ZB_ZCL_COLOR_CONTROL_STEP_HUE_REQ_PAYLOAD_LEN   sizeof(zb_zcl_color_control_step_hue_req_t)
 Step Hue payload length macro. More...
 
#define ZB_ZCL_COLOR_CONTROL_SEND_STEP_HUE_REQ_ZCL8(buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, def_resp, cb, step_mode, step_size, transition_time, options_mask, options_override)
 
#define ZB_ZCL_COLOR_CONTROL_SEND_STEP_HUE_REQ(buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, def_resp, cb, step_mode, step_size, transition_time)
 
#define ZB_ZCL_COLOR_CONTROL_GET_STEP_HUE_REQ(buffer, step_hue_req, status)
 Macro for getting Step Hue command. More...
 
#define ZB_ZCL_COLOR_CONTROL_MOVE_TO_SATURATION_REQ_PAYLOAD_LEN   sizeof(zb_zcl_color_control_move_to_saturation_req_t)
 Move To Saturation payload length macro. More...
 
#define ZB_ZCL_COLOR_CONTROL_SEND_MOVE_TO_SATURATION_REQ_ZCL8(buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, def_resp, cb, saturation, transition_time, options_mask, options_override)
 
#define ZB_ZCL_COLOR_CONTROL_SEND_MOVE_TO_SATURATION_REQ(buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, def_resp, cb, saturation, transition_time)
 
#define ZB_ZCL_COLOR_CONTROL_GET_MOVE_TO_SATURATION_REQ(buffer, move_to_saturation_req, status)
 Macro for getting Move To Saturation command. More...
 
#define ZB_ZCL_COLOR_CONTROL_MOVE_SATURATION_REQ_PAYLOAD_LEN   sizeof(zb_zcl_color_control_move_saturation_req_t)
 Move Saturation payload length macro. More...
 
#define ZB_ZCL_COLOR_CONTROL_SEND_MOVE_SATURATION_REQ_ZCL8(buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, def_resp, cb, move_mode, rate, options_mask, options_override)
 
#define ZB_ZCL_COLOR_CONTROL_SEND_MOVE_SATURATION_REQ(buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, def_resp, cb, move_mode, rate)
 
#define ZB_ZCL_COLOR_CONTROL_GET_MOVE_SATURATION_REQ(buffer, move_saturation_req, status)
 Macro for getting Move Saturation command. More...
 
#define ZB_ZCL_COLOR_CONTROL_STEP_SATURATION_REQ_PAYLOAD_LEN   sizeof(zb_zcl_color_control_step_saturation_req_t)
 Move Saturation payload length macro. More...
 
#define ZB_ZCL_COLOR_CONTROL_SEND_STEP_SATURATION_REQ_ZCL8(buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, def_resp, cb, step_mode, step_size, transition_time, options_mask, options_override)
 
#define ZB_ZCL_COLOR_CONTROL_SEND_STEP_SATURATION_REQ(buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, def_resp, cb, step_mode, step_size, transition_time)
 
#define ZB_ZCL_COLOR_CONTROL_GET_STEP_SATURATION_REQ(buffer, step_saturation_req, status)
 Macro for getting Step Saturation command. More...
 
#define ZB_ZCL_COLOR_CONTROL_MOVE_TO_HUE_SATURATION_REQ_PAYLOAD_LEN   sizeof(zb_zcl_color_control_move_to_hue_saturation_req_t)
 Move to Hue and Saturation payload length macro. More...
 
#define ZB_ZCL_COLOR_CONTROL_SEND_MOVE_TO_HUE_SATURATION_REQ_ZCL8(buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, def_resp, cb, hue, saturation, transition_time, options_mask, options_override)
 
#define ZB_ZCL_COLOR_CONTROL_SEND_MOVE_TO_HUE_SATURATION_REQ(buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, def_resp, cb, hue, saturation, transition_time)
 
#define ZB_ZCL_COLOR_CONTROL_GET_MOVE_TO_HUE_SATURATION_REQ(buffer, move_to_hue_saturation_req, status)
 Macro for getting Move To Hue and Saturation command. More...
 
#define ZB_ZCL_COLOR_CONTROL_MOVE_TO_COLOR_REQ_PAYLOAD_LEN   sizeof(zb_zcl_color_control_move_to_color_req_t)
 Move to Color payload length macro. More...
 
#define ZB_ZCL_COLOR_CONTROL_SEND_MOVE_TO_COLOR_REQ_ZCL8(buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, def_resp, cb, color_x, color_y, transition_time, options_mask, options_override)
 
#define ZB_ZCL_COLOR_CONTROL_SEND_MOVE_TO_COLOR_REQ(buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, def_resp, cb, color_x, color_y, transition_time)
 
#define ZB_ZCL_COLOR_CONTROL_GET_MOVE_TO_COLOR_REQ(buffer, move_to_color_req, status)
 Macro for getting Move To Color command. More...
 
#define ZB_ZCL_COLOR_CONTROL_MOVE_COLOR_REQ_PAYLOAD_LEN   sizeof(zb_zcl_color_control_move_color_req_t)
 Move Color payload length macro. More...
 
#define ZB_ZCL_COLOR_CONTROL_SEND_MOVE_COLOR_REQ_ZCL8(buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, def_resp, cb, rate_x, rate_y, options_mask, options_override)
 
#define ZB_ZCL_COLOR_CONTROL_SEND_MOVE_COLOR_REQ(buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, def_resp, cb, rate_x, rate_y)
 
#define ZB_ZCL_COLOR_CONTROL_GET_MOVE_COLOR_REQ(buffer, move_color_req, status)
 Macro for getting Move Color command. More...
 
#define ZB_ZCL_COLOR_CONTROL_STEP_COLOR_REQ_PAYLOAD_LEN   sizeof(zb_zcl_color_control_step_color_req_t)
 Step Color payload length macro. More...
 
#define ZB_ZCL_COLOR_CONTROL_SEND_STEP_COLOR_REQ_ZCL8(buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, def_resp, cb, step_x, step_y, transition_time, options_mask, options_override)
 
#define ZB_ZCL_COLOR_CONTROL_SEND_STEP_COLOR_REQ(buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, def_resp, cb, step_x, step_y, transition_time)
 
#define ZB_ZCL_COLOR_CONTROL_GET_STEP_COLOR_REQ(buffer, step_color_req, status)
 Macro for getting Move Color command. More...
 
#define ZB_ZCL_COLOR_CONTROL_MOVE_TO_COLOR_TEMP_REQ_PAYLOAD_LEN   sizeof(zb_zcl_color_control_move_to_color_temperature_req_t)
 Move to Color Temperature payload length macro. More...
 
#define ZB_ZCL_COLOR_CONTROL_SEND_MOVE_TO_COLOR_TEMPERATURE_REQ_ZCL8(buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, def_resp, cb, color_temperature, transition_time, options_mask, options_override)
 
#define ZB_ZCL_COLOR_CONTROL_SEND_MOVE_TO_COLOR_TEMPERATURE_REQ(buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, def_resp, cb, color_temperature, transition_time)
 
#define ZB_ZCL_COLOR_CONTROL_GET_MOVE_TO_COLOR_TEMPERATURE_REQ(buffer, move_to_color_temperature_req, status)
 Macro for getting Move to Color Temperature command. More...
 
#define ZB_ZCL_COLOR_CONTROL_ENHANCED_MOVE_TO_HUE_REQ_PAYLOAD_LEN   sizeof(zb_zcl_color_control_enhanced_move_to_hue_req_t)
 Enhanced Move to Hue payload length macro. More...
 
#define ZB_ZCL_COLOR_CONTROL_SEND_ENHANCED_MOVE_TO_HUE_REQ_ZCL8(buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, def_resp, cb, ex_hue, direction, transition_time, options_mask, options_override)
 
#define ZB_ZCL_COLOR_CONTROL_SEND_ENHANCED_MOVE_TO_HUE_REQ(buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, def_resp, cb, ex_hue, direction, transition_time)
 
#define ZB_ZCL_COLOR_CONTROL_GET_ENHANCED_MOVE_TO_HUE_REQ(buffer, enhanced_move_to_hue_req, status)
 Macro for getting Enhanced Move to Hue command. More...
 
#define ZB_ZCL_COLOR_CONTROL_ENHANCED_MOVE_HUE_REQ_PAYLOAD_LEN   sizeof(zb_zcl_color_control_enhanced_move_hue_req_t)
 Enhanced Move to Hue payload length macro. More...
 
#define ZB_ZCL_COLOR_CONTROL_SEND_ENHANCED_MOVE_HUE_REQ_ZCL8(buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, def_resp, cb, move_mode, rate, options_mask, options_override)
 
#define ZB_ZCL_COLOR_CONTROL_SEND_ENHANCED_MOVE_HUE_REQ(buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, def_resp, cb, move_mode, rate)
 
#define ZB_ZCL_COLOR_CONTROL_GET_ENHANCED_MOVE_HUE_REQ(buffer, enhanced_move_hue_req, status)
 Macro for getting Enhanced Move Hue command. More...
 
#define ZB_ZCL_COLOR_CONTROL_ENHANCED_STEP_HUE_REQ_PAYLOAD_LEN   sizeof(zb_zcl_color_control_enhanced_step_hue_req_t)
 Enhanced Move to Hue payload length macro. More...
 
#define ZB_ZCL_COLOR_CONTROL_SEND_ENHANCED_STEP_HUE_REQ_ZCL8(buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, def_resp, cb, step_mode, step_size, transition_time, options_mask, options_override)
 
#define ZB_ZCL_COLOR_CONTROL_SEND_ENHANCED_STEP_HUE_REQ(buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, def_resp, cb, step_mode, step_size, transition_time)
 
#define ZB_ZCL_COLOR_CONTROL_GET_ENHANCED_STEP_HUE_REQ(buffer, enhanced_step_hue_req, status)
 Macro for getting Enhanced Step Hue command. More...
 
#define ZB_ZCL_COLOR_CONTROL_ENHANCED_MOVE_TO_HUE_SATURATION_REQ_PAYLOAD_LEN   sizeof(zb_zcl_color_control_enhanced_move_to_hue_saturation_req_t)
 Enhanced Move to Hue payload length macro. More...
 
#define ZB_ZCL_COLOR_CONTROL_SEND_ENHANCED_MOVE_TO_HUE_SATURATION_REQ_ZCL8(buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, def_resp, cb, enhanced_hue, saturation, transition_time, options_mask, options_override)
 
#define ZB_ZCL_COLOR_CONTROL_SEND_ENHANCED_MOVE_TO_HUE_SATURATION_REQ(buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, def_resp, cb, enhanced_hue, saturation, transition_time)
 
#define ZB_ZCL_COLOR_CONTROL_GET_ENHANCED_MOVE_TO_HUE_SATURATION_REQ(buffer, enhanced_move_to_hue_saturation_req, status)
 Macro for getting Enhanced Move To Hue and Saturation command. More...
 
#define ZB_ZCL_COLOR_CONTROL_COLOR_LOOR_SET_REQ_PAYLOAD_LEN   sizeof(zb_zcl_color_control_color_loop_set_req_t)
 Enhanced Color Loop Set payload length macro. More...
 
#define ZB_ZCL_COLOR_CONTROL_FILL_COLOR_LOOP_SET_DATA(buf, cmd_info_)
 
#define ZB_ZCL_COLOR_CONTROL_SEND_COLOR_LOOP_SET_REQ_ZCL8(buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, def_resp, cb, update_flags, action, direction, time, start_hue, options_mask, options_override)
 
#define ZB_ZCL_COLOR_CONTROL_SEND_COLOR_LOOP_SET_REQ(buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, def_resp, cb, update_flags, action, direction, time, start_hue)
 
#define ZB_ZCL_COLOR_CONTROL_GET_COLOR_LOOP_SET_REQ(buffer, color_loop_set_req, status)
 Macro for getting Color Loop Set command. More...
 
#define ZB_ZCL_COLOR_CONTROL_SEND_STOP_MOVE_STEP_REQ_ZCL8(buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, def_resp, cb, options_mask, options_override)
 
#define ZB_ZCL_COLOR_CONTROL_SEND_STOP_MOVE_STEP_REQ(buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, def_resp, cb)
 
#define ZB_ZCL_COLOR_CONTROL_MOVE_COLOR_TEMP_REQ_PAYLOAD_LEN   sizeof(zb_zcl_color_control_move_color_temp_req_t)
 Enhanced Move Color Temperature payload length macro. More...
 
#define ZB_ZCL_COLOR_CONTROL_SEND_MOVE_COLOR_TEMP_REQ_ZCL8(buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, def_resp, cb, move_mode, rate, color_temp_min, color_temp_max, options_mask, options_override)
 
#define ZB_ZCL_COLOR_CONTROL_SEND_MOVE_COLOR_TEMP_REQ(buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, def_resp, cb, move_mode, rate, color_temp_min, color_temp_max)
 
#define ZB_ZCL_COLOR_CONTROL_GET_MOVE_COLOR_TEMP_REQ(buffer, move_color_temp_req, status)
 Macro for getting Move color temperature command. More...
 
#define ZB_ZCL_COLOR_CONTROL_STEP_COLOR_TEMP_REQ_PAYLOAD_LEN   sizeof(zb_zcl_color_control_step_color_temp_req_t)
 Enhanced Move Color Temperature payload length macro. More...
 
#define ZB_ZCL_COLOR_CONTROL_SEND_STEP_COLOR_TEMP_REQ_ZCL8(buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, def_resp, cb, step_mode, step_size, transition_time, color_temp_min, color_temp_max, options_mask, options_override)
 
#define ZB_ZCL_COLOR_CONTROL_SEND_STEP_COLOR_TEMP_REQ(buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, def_resp, cb, step_mode, step_size, transition_time, color_temp_min, color_temp_max)
 
#define ZB_ZCL_COLOR_CONTROL_GET_STEP_COLOR_TEMP_REQ(buffer, step_color_temp_req, status)
 Macro for getting Move color temperature command. More...
 
enum  zb_zcl_color_control_cmd_e {
  ZB_ZCL_CMD_COLOR_CONTROL_MOVE_TO_HUE = 0x00, ZB_ZCL_CMD_COLOR_CONTROL_MOVE_HUE = 0x01, ZB_ZCL_CMD_COLOR_CONTROL_STEP_HUE = 0x02, ZB_ZCL_CMD_COLOR_CONTROL_MOVE_TO_SATURATION = 0x03,
  ZB_ZCL_CMD_COLOR_CONTROL_MOVE_SATURATION = 0x04, ZB_ZCL_CMD_COLOR_CONTROL_STEP_SATURATION = 0x05, ZB_ZCL_CMD_COLOR_CONTROL_MOVE_TO_HUE_SATURATION = 0x06, ZB_ZCL_CMD_COLOR_CONTROL_MOVE_TO_COLOR = 0x07,
  ZB_ZCL_CMD_COLOR_CONTROL_MOVE_COLOR = 0x08, ZB_ZCL_CMD_COLOR_CONTROL_STEP_COLOR = 0x09, ZB_ZCL_CMD_COLOR_CONTROL_MOVE_TO_COLOR_TEMPERATURE = 0x0a, ZB_ZCL_CMD_COLOR_CONTROL_ENHANCED_MOVE_TO_HUE = 0x40,
  ZB_ZCL_CMD_COLOR_CONTROL_ENHANCED_MOVE_HUE = 0x41, ZB_ZCL_CMD_COLOR_CONTROL_ENHANCED_STEP_HUE = 0x42, ZB_ZCL_CMD_COLOR_CONTROL_ENHANCED_MOVE_TO_HUE_SATURATION = 0x43, ZB_ZCL_CMD_COLOR_CONTROL_COLOR_LOOP_SET = 0x44,
  ZB_ZCL_CMD_COLOR_CONTROL_STOP_MOVE_STEP = 0x47, ZB_ZCL_CMD_COLOR_CONTROL_MOVE_COLOR_TEMPERATURE = 0x4b, ZB_ZCL_CMD_COLOR_CONTROL_STEP_COLOR_TEMPERATURE = 0x4c
}
 Color control cluster command identifiers. More...
 
enum  zb_zcl_color_control_move_direction_e { ZB_ZCL_CMD_COLOR_CONTROL_MOVE_STOP = 0x00, ZB_ZCL_CMD_COLOR_CONTROL_MOVE_UP = 0x01, ZB_ZCL_CMD_COLOR_CONTROL_MOVE_DOWN = 0x03 }
 Direction of Move Hue command. See specs 5.2.2.3.3.2, 5.2.2.3.6.2. More...
 
enum  zb_zcl_color_control_step_mode_e { ZB_ZCL_CMD_COLOR_CONTROL_STEP_UP = 0x01, ZB_ZCL_CMD_COLOR_CONTROL_STEP_DOWN = 0x03 }
 Direction of Step command. See specs 5.2.2.3.4.2, 5.2.2.3.7.2. More...
 
enum  zb_zcl_color_control_move_to_hue_direction_e { ZB_ZCL_CMD_COLOR_CONTROL_MOVE_TO_HUE_SHORTEST = 0x00, ZB_ZCL_CMD_COLOR_CONTROL_MOVE_TO_HUE_LONGEST = 0x01, ZB_ZCL_CMD_COLOR_CONTROL_MOVE_TO_HUE_UP = 0x02, ZB_ZCL_CMD_COLOR_CONTROL_MOVE_TO_HUE_DOWN = 0x03 }
 Direction of Move to Hue command. See ZCL8 spec 5.2.2.3.4.3. More...
 
enum  zb_zcl_color_control_color_loop_update_e { ZB_ZCL_CMD_COLOR_CONTROL_LOOP_UPDATE_ACTION = 1 << 0, ZB_ZCL_CMD_COLOR_CONTROL_LOOP_UPDATE_DIRECTION = 1 << 1, ZB_ZCL_CMD_COLOR_CONTROL_LOOP_UPDATE_TIME = 1 << 2, ZB_ZCL_CMD_COLOR_CONTROL_LOOP_UPDATE_START_HUE = 1 << 3 }
 Update flag for Color Loop Set command See ZCL specs 5.2.2.3.18.1. More...
 
enum  zb_zcl_color_control_color_loop_action_e { ZB_ZCL_CMD_COLOR_CONTROL_LOOP_ACTION_DEACTIVATE = 0, ZB_ZCL_CMD_COLOR_CONTROL_LOOP_ACTION_START_HUE = 1, ZB_ZCL_CMD_COLOR_CONTROL_LOOP_ACTION_CURRENT_HUE = 2 }
 Action enumerate for Color Loop Set command See ZCL specs 5.2.2.3.18.2. More...
 
enum  zb_zcl_color_control_color_loop_direction_e { ZB_ZCL_CMD_COLOR_CONTROL_LOOP_DIRECTION_DECREMENT = 0, ZB_ZCL_CMD_COLOR_CONTROL_LOOP_DIRECTION_INCREMENT = 1 }
 Direction enumerate for Color Loop Set command See ZCL specs 5.2.2.3.18.3. More...
 
typedef struct zb_zcl_color_control_req_options_s zb_zcl_color_control_req_options_t
 Structured representation of Level Control command payload (optional part) More...
 
typedef struct zb_zcl_color_control_move_to_hue_req_s zb_zcl_color_control_move_to_hue_req_t
 Structure representation of Move To Hue command payload. More...
 
typedef struct zb_zcl_color_control_move_hue_req_s zb_zcl_color_control_move_hue_req_t
 Structure representation of Move Hue command payload. More...
 
typedef struct zb_zcl_color_control_step_hue_req_s zb_zcl_color_control_step_hue_req_t
 Structure representation of Step Hue command payload. More...
 
typedef struct zb_zcl_color_control_move_to_saturation_req_s zb_zcl_color_control_move_to_saturation_req_t
 Structure representation of Move To Saturation command payload. More...
 
typedef struct zb_zcl_color_control_move_saturation_req_s zb_zcl_color_control_move_saturation_req_t
 Structure representation of Move Saturation command payload. More...
 
typedef struct zb_zcl_color_control_step_saturation_req_s zb_zcl_color_control_step_saturation_req_t
 Structure representation of Step Saturation command payload. More...
 
typedef struct zb_zcl_color_control_move_to_hue_saturation_req_s zb_zcl_color_control_move_to_hue_saturation_req_t
 Structure representation of Move To Hue and Saturation command payload. More...
 
typedef struct zb_zcl_color_control_move_to_color_req_s zb_zcl_color_control_move_to_color_req_t
 Structure representation of Move To Color command payload. More...
 
typedef struct zb_zcl_color_control_move_color_req_s zb_zcl_color_control_move_color_req_t
 Structure representation of Move Color command payload. More...
 
typedef struct zb_zcl_color_control_step_color_req_s zb_zcl_color_control_step_color_req_t
 Structure representation of Step Color command payload. More...
 
typedef struct zb_zcl_color_control_move_to_color_temperature_req_s zb_zcl_color_control_move_to_color_temperature_req_t
 Structure representation of Move To Color Temperature command payload. More...
 
typedef struct zb_zcl_color_control_enhanced_move_to_hue_req_s zb_zcl_color_control_enhanced_move_to_hue_req_t
 Structure representation of Enhanced Move To Hue command payload. More...
 
typedef struct zb_zcl_color_control_enhanced_move_hue_req_s zb_zcl_color_control_enhanced_move_hue_req_t
 Structure representation of Enhanced Move Hue command payload. More...
 
typedef struct zb_zcl_color_control_enhanced_step_hue_req_s zb_zcl_color_control_enhanced_step_hue_req_t
 Structure representation of Enhanced Step Hue command payload. More...
 
typedef struct zb_zcl_color_control_enhanced_move_to_hue_saturation_req_s zb_zcl_color_control_enhanced_move_to_hue_saturation_req_t
 Structure representation of Move To Hue and Saturation command payload. More...
 
typedef struct zb_zcl_color_control_color_loop_set_req_s zb_zcl_color_control_color_loop_set_req_t
 Structure representation of Color Loop Set command payload. More...
 
typedef struct zb_zcl_color_control_color_loop_set_s zb_zcl_color_control_color_loop_set_t
 
typedef struct zb_zcl_color_control_move_color_temp_req_s zb_zcl_color_control_move_color_temp_req_t
 Structure representation of Move color temperature command payload. More...
 
typedef struct zb_zcl_color_control_step_color_temp_req_s zb_zcl_color_control_step_color_temp_req_t
 Structure representation of Step color temperature command command payload. More...
 
void zb_zcl_color_control_send_move_to_hue_req_zcl8 (zb_bufid_t buffer, const zb_addr_u *dst_addr, zb_uint8_t dst_addr_mode, zb_uint8_t dst_ep, zb_uint8_t ep, zb_uint16_t prof_id, zb_uint8_t def_resp, zb_callback_t cb, zb_uint8_t hue, zb_uint8_t direction, zb_uint16_t transition_time, zb_uint8_t options_mask, zb_uint8_t options_override)
 Send Move to Hue command. More...
 
void zb_zcl_color_control_send_move_to_hue_req (zb_bufid_t buffer, const zb_addr_u *dst_addr, zb_uint8_t dst_addr_mode, zb_uint8_t dst_ep, zb_uint8_t ep, zb_uint16_t prof_id, zb_uint8_t def_resp, zb_callback_t cb, zb_uint8_t hue, zb_uint8_t direction, zb_uint16_t transition_time)
 Send Move to Hue command (pre-ZCL8) Use zb_zcl_color_control_send_move_to_hue_req_zcl8 for ZCL8 revision call. More...
 
void zb_zcl_color_control_send_move_hue_req_zcl8 (zb_bufid_t buffer, const zb_addr_u *dst_addr, zb_uint8_t dst_addr_mode, zb_uint8_t dst_ep, zb_uint8_t ep, zb_uint16_t prof_id, zb_uint8_t def_resp, zb_callback_t cb, zb_uint8_t move_mode, zb_uint8_t rate, zb_uint8_t options_mask, zb_uint8_t options_override)
 Send Move Hue command. More...
 
void zb_zcl_color_control_send_move_hue_req (zb_bufid_t buffer, const zb_addr_u *dst_addr, zb_uint8_t dst_addr_mode, zb_uint8_t dst_ep, zb_uint8_t ep, zb_uint16_t prof_id, zb_uint8_t def_resp, zb_callback_t cb, zb_uint8_t move_mode, zb_uint8_t rate)
 Send Move Hue command (pre-ZCL8) Use zb_zcl_color_control_send_move_hue_req_zcl8 for ZCL8 revision call. More...
 
void zb_zcl_color_control_send_step_hue_req_zcl8 (zb_bufid_t buffer, const zb_addr_u *dst_addr, zb_uint8_t dst_addr_mode, zb_uint8_t dst_ep, zb_uint8_t ep, zb_uint16_t prof_id, zb_uint8_t def_resp, zb_callback_t cb, zb_uint8_t step_mode, zb_uint8_t step_size, zb_uint8_t transition_time, zb_uint8_t options_mask, zb_uint8_t options_override)
 Send Step Hue command. More...
 
void zb_zcl_color_control_send_step_hue_req (zb_bufid_t buffer, const zb_addr_u *dst_addr, zb_uint8_t dst_addr_mode, zb_uint8_t dst_ep, zb_uint8_t ep, zb_uint16_t prof_id, zb_uint8_t def_resp, zb_callback_t cb, zb_uint8_t step_mode, zb_uint8_t step_size, zb_uint8_t transition_time)
 Send Step Hue command (pre-ZCL8) Use zb_zcl_color_control_send_step_hue_req_zcl8 for ZCL8 revision call. More...
 
void zb_zcl_color_control_send_move_to_saturation_req_zcl8 (zb_bufid_t buffer, const zb_addr_u *dst_addr, zb_uint8_t dst_addr_mode, zb_uint8_t dst_ep, zb_uint8_t ep, zb_uint16_t prof_id, zb_uint8_t def_resp, zb_callback_t cb, zb_uint8_t saturation, zb_uint16_t transition_time, zb_uint8_t options_mask, zb_uint8_t options_override)
 Send Move to Saturation command. More...
 
void zb_zcl_color_control_send_move_to_saturation_req (zb_bufid_t buffer, const zb_addr_u *dst_addr, zb_uint8_t dst_addr_mode, zb_uint8_t dst_ep, zb_uint8_t ep, zb_uint16_t prof_id, zb_uint8_t def_resp, zb_callback_t cb, zb_uint8_t saturation, zb_uint16_t transition_time)
 Send Move to Saturation command (pre-ZCL8) Use zb_zcl_color_control_send_move_to_saturation_req_zcl8 for ZCL8 revision call. More...
 
void zb_zcl_color_control_send_move_saturation_req_zcl8 (zb_bufid_t buffer, const zb_addr_u *dst_addr, zb_uint8_t dst_addr_mode, zb_uint8_t dst_ep, zb_uint8_t ep, zb_uint16_t prof_id, zb_uint8_t def_resp, zb_callback_t cb, zb_uint8_t move_mode, zb_uint8_t rate, zb_uint8_t options_mask, zb_uint8_t options_override)
 Send Move Saturation command. More...
 
void zb_zcl_color_control_send_move_saturation_req (zb_bufid_t buffer, const zb_addr_u *dst_addr, zb_uint8_t dst_addr_mode, zb_uint8_t dst_ep, zb_uint8_t ep, zb_uint16_t prof_id, zb_uint8_t def_resp, zb_callback_t cb, zb_uint8_t move_mode, zb_uint8_t rate)
 Send Move Saturation command (pew-ZCL8) Use zb_zcl_color_control_send_move_saturation_req_zcl8 for ZCL8 revision call. More...
 
void zb_zcl_color_control_send_step_saturation_req_zcl8 (zb_bufid_t buffer, const zb_addr_u *dst_addr, zb_uint8_t dst_addr_mode, zb_uint8_t dst_ep, zb_uint8_t ep, zb_uint16_t prof_id, zb_uint8_t def_resp, zb_callback_t cb, zb_uint8_t step_mode, zb_uint8_t step_size, zb_uint8_t transition_time, zb_uint8_t options_mask, zb_uint8_t options_override)
 Send Step Saturation command. More...
 
void zb_zcl_color_control_send_step_saturation_req (zb_bufid_t buffer, const zb_addr_u *dst_addr, zb_uint8_t dst_addr_mode, zb_uint8_t dst_ep, zb_uint8_t ep, zb_uint16_t prof_id, zb_uint8_t def_resp, zb_callback_t cb, zb_uint8_t step_mode, zb_uint8_t step_size, zb_uint8_t transition_time)
 Send Step Saturation command (pre-ZCL8) Use zb_zcl_color_control_send_step_saturation_req_zcl8 for ZCL8 revision call. More...
 
void zb_zcl_color_control_send_move_to_hue_saturation_req_zcl8 (zb_bufid_t buffer, const zb_addr_u *dst_addr, zb_uint8_t dst_addr_mode, zb_uint8_t dst_ep, zb_uint8_t ep, zb_uint16_t prof_id, zb_uint8_t def_resp, zb_callback_t cb, zb_uint8_t hue, zb_uint8_t saturation, zb_uint16_t transition_time, zb_uint8_t options_mask, zb_uint8_t options_override)
 Send Move to Hue and Saturation command. More...
 
void zb_zcl_color_control_send_move_to_hue_saturation_req (zb_bufid_t buffer, const zb_addr_u *dst_addr, zb_uint8_t dst_addr_mode, zb_uint8_t dst_ep, zb_uint8_t ep, zb_uint16_t prof_id, zb_uint8_t def_resp, zb_callback_t cb, zb_uint8_t hue, zb_uint8_t saturation, zb_uint16_t transition_time)
 Send Move to Hue and Saturation command (pre-ZCL8) Use zb_zcl_color_control_send_move_to_hue_saturation_req_zcl8 for ZCL8 revision call. More...
 
void zb_zcl_color_control_send_move_to_color_req_zcl8 (zb_bufid_t buffer, const zb_addr_u *dst_addr, zb_uint8_t dst_addr_mode, zb_uint8_t dst_ep, zb_uint8_t ep, zb_uint16_t prof_id, zb_uint8_t def_resp, zb_callback_t cb, zb_uint16_t color_x, zb_uint16_t color_y, zb_uint16_t transition_time, zb_uint8_t options_mask, zb_uint8_t options_override)
 Send Move to Color command. More...
 
void zb_zcl_color_control_send_move_to_color_req (zb_bufid_t buffer, const zb_addr_u *dst_addr, zb_uint8_t dst_addr_mode, zb_uint8_t dst_ep, zb_uint8_t ep, zb_uint16_t prof_id, zb_uint8_t def_resp, zb_callback_t cb, zb_uint16_t color_x, zb_uint16_t color_y, zb_uint16_t transition_time)
 Send Move to Color command (pre-ZCL8) Use zb_zcl_color_control_send_move_to_color_req_zcl8 for ZCL8 revision call. More...
 
void zb_zcl_color_control_send_move_color_req_zcl8 (zb_bufid_t buffer, const zb_addr_u *dst_addr, zb_uint8_t dst_addr_mode, zb_uint8_t dst_ep, zb_uint8_t ep, zb_uint16_t prof_id, zb_uint8_t def_resp, zb_callback_t cb, zb_uint16_t rate_x, zb_uint16_t rate_y, zb_uint8_t options_mask, zb_uint8_t options_override)
 Send Move Color command. More...
 
void zb_zcl_color_control_send_move_color_req (zb_bufid_t buffer, const zb_addr_u *dst_addr, zb_uint8_t dst_addr_mode, zb_uint8_t dst_ep, zb_uint8_t ep, zb_uint16_t prof_id, zb_uint8_t def_resp, zb_callback_t cb, zb_uint16_t rate_x, zb_uint16_t rate_y)
 Send Move Color command (pre-ZCL8) Use zb_zcl_color_control_send_move_color_req_zcl8 for ZCL8 revision call. More...
 
void zb_zcl_color_control_send_step_color_req_zcl8 (zb_bufid_t buffer, const zb_addr_u *dst_addr, zb_uint8_t dst_addr_mode, zb_uint8_t dst_ep, zb_uint8_t ep, zb_uint16_t prof_id, zb_uint8_t def_resp, zb_callback_t cb, zb_uint16_t step_x, zb_uint16_t step_y, zb_uint16_t transition_time, zb_uint8_t options_mask, zb_uint8_t options_override)
 Send Step Color command. More...
 
void zb_zcl_color_control_send_step_color_req (zb_bufid_t buffer, const zb_addr_u *dst_addr, zb_uint8_t dst_addr_mode, zb_uint8_t dst_ep, zb_uint8_t ep, zb_uint16_t prof_id, zb_uint8_t def_resp, zb_callback_t cb, zb_uint16_t step_x, zb_uint16_t step_y, zb_uint16_t transition_time)
 Send Step Color command (pre-ZCL8) Use zb_zcl_color_control_send_step_color_req_zcl8 for ZCL8 revision call. More...
 
void zb_zcl_color_control_send_move_to_color_temperature_req_zcl8 (zb_bufid_t buffer, const zb_addr_u *dst_addr, zb_uint8_t dst_addr_mode, zb_uint8_t dst_ep, zb_uint8_t ep, zb_uint16_t prof_id, zb_uint8_t def_resp, zb_callback_t cb, zb_uint16_t color_temperature, zb_uint16_t transition_time, zb_uint8_t options_mask, zb_uint8_t options_override)
 Send Move To Color Temperature command. More...
 
void zb_zcl_color_control_send_move_to_color_temperature_req (zb_bufid_t buffer, const zb_addr_u *dst_addr, zb_uint8_t dst_addr_mode, zb_uint8_t dst_ep, zb_uint8_t ep, zb_uint16_t prof_id, zb_uint8_t def_resp, zb_callback_t cb, zb_uint16_t color_temperature, zb_uint16_t transition_time)
 Send Move To Color Temperature command (pre-ZCL8) Use zb_zcl_color_control_send_move_to_color_temperature_req_zcl8 for ZCL8 revision call. More...
 
void zb_zcl_color_control_send_enhanced_move_to_hue_req_zcl8 (zb_bufid_t buffer, const zb_addr_u *dst_addr, zb_uint8_t dst_addr_mode, zb_uint8_t dst_ep, zb_uint8_t ep, zb_uint16_t prof_id, zb_uint8_t def_resp, zb_callback_t cb, zb_uint16_t enhanced_hue, zb_uint8_t direction, zb_uint16_t transition_time, zb_uint8_t options_mask, zb_uint8_t options_override)
 Send Enhanced Move to Hue command. More...
 
void zb_zcl_color_control_send_enhanced_move_to_hue_req (zb_bufid_t buffer, const zb_addr_u *dst_addr, zb_uint8_t dst_addr_mode, zb_uint8_t dst_ep, zb_uint8_t ep, zb_uint16_t prof_id, zb_uint8_t def_resp, zb_callback_t cb, zb_uint16_t enhanced_hue, zb_uint8_t direction, zb_uint16_t transition_time)
 Send Enhanced Move to Hue command (pre-ZCL8) Use zb_zcl_color_control_send_enhanced_move_to_hue_req_zcl8 for ZCL8 revision call. More...
 
void zb_zcl_color_control_send_enhanced_move_hue_req_zcl8 (zb_bufid_t buffer, const zb_addr_u *dst_addr, zb_uint8_t dst_addr_mode, zb_uint8_t dst_ep, zb_uint8_t ep, zb_uint16_t prof_id, zb_uint8_t def_resp, zb_callback_t cb, zb_uint8_t move_mode, zb_uint16_t rate, zb_uint8_t options_mask, zb_uint8_t options_override)
 Send Enhanced Move Hue command. More...
 
void zb_zcl_color_control_send_enhanced_move_hue_req (zb_bufid_t buffer, const zb_addr_u *dst_addr, zb_uint8_t dst_addr_mode, zb_uint8_t dst_ep, zb_uint8_t ep, zb_uint16_t prof_id, zb_uint8_t def_resp, zb_callback_t cb, zb_uint8_t move_mode, zb_uint16_t rate)
 Send Enhanced Move Hue command (pre-ZCL8) Use zb_zcl_color_control_send_enhanced_move_hue_req_zcl8 for ZCL8 revision call. More...
 
void zb_zcl_color_control_send_enhanced_step_hue_req_zcl8 (zb_bufid_t buffer, const zb_addr_u *dst_addr, zb_uint8_t dst_addr_mode, zb_uint8_t dst_ep, zb_uint8_t ep, zb_uint16_t prof_id, zb_uint8_t def_resp, zb_callback_t cb, zb_uint8_t step_mode, zb_uint16_t step_size, zb_uint16_t transition_time, zb_uint8_t options_mask, zb_uint8_t options_override)
 Send Enhanced Step Hue command. More...
 
void zb_zcl_color_control_send_enhanced_step_hue_req (zb_bufid_t buffer, const zb_addr_u *dst_addr, zb_uint8_t dst_addr_mode, zb_uint8_t dst_ep, zb_uint8_t ep, zb_uint16_t prof_id, zb_uint8_t def_resp, zb_callback_t cb, zb_uint8_t step_mode, zb_uint16_t step_size, zb_uint16_t transition_time)
 Send Enhanced Step Hue command (pre-ZCL8) Use zb_zcl_color_control_send_enhanced_step_hue_req_zcl8 for ZCL8 revision call. More...
 
void zb_zcl_color_control_send_enhanced_move_to_hue_saturation_req_zcl8 (zb_bufid_t buffer, const zb_addr_u *dst_addr, zb_uint8_t dst_addr_mode, zb_uint8_t dst_ep, zb_uint8_t ep, zb_uint16_t prof_id, zb_uint8_t def_resp, zb_callback_t cb, zb_uint16_t enhanced_hue, zb_uint8_t saturation, zb_uint16_t transition_time, zb_uint8_t options_mask, zb_uint8_t options_override)
 Send Enhanced Move to Hue and Saturation command. More...
 
void zb_zcl_color_control_send_enhanced_move_to_hue_saturation_req (zb_bufid_t buffer, const zb_addr_u *dst_addr, zb_uint8_t dst_addr_mode, zb_uint8_t dst_ep, zb_uint8_t ep, zb_uint16_t prof_id, zb_uint8_t def_resp, zb_callback_t cb, zb_uint16_t enhanced_hue, zb_uint8_t saturation, zb_uint16_t transition_time)
 Send Enhanced Move to Hue and Saturation command (pre-ZCL8) Use zb_zcl_color_control_send_enhanced_move_to_hue_saturation_req_zcl8 for ZCL8 revision call. More...
 
void zb_zcl_color_control_send_color_loop_set_req_zcl8 (zb_bufid_t buffer, const zb_addr_u *dst_addr, zb_uint8_t dst_addr_mode, zb_uint8_t dst_ep, zb_uint8_t ep, zb_uint16_t prof_id, zb_uint8_t def_resp, zb_callback_t cb, zb_uint8_t update_flags, zb_uint8_t action, zb_uint8_t direction, zb_uint16_t time, zb_uint16_t start_hue, zb_uint8_t options_mask, zb_uint8_t options_override)
 Send Color Loop Set command. More...
 
void zb_zcl_color_control_send_color_loop_set_req (zb_bufid_t buffer, const zb_addr_u *dst_addr, zb_uint8_t dst_addr_mode, zb_uint8_t dst_ep, zb_uint8_t ep, zb_uint16_t prof_id, zb_uint8_t def_resp, zb_callback_t cb, zb_uint8_t update_flags, zb_uint8_t action, zb_uint8_t direction, zb_uint16_t time, zb_uint16_t start_hue)
 Send Color Loop Set command (pre-ZCL8) Use zb_zcl_color_control_send_color_loop_set_req_zcl8 for ZCL8 revision call. More...
 
void zb_zcl_color_control_send_stop_move_step_req_zcl8 (zb_bufid_t buffer, const zb_addr_u *dst_addr, zb_uint8_t dst_addr_mode, zb_uint8_t dst_ep, zb_uint8_t ep, zb_uint16_t prof_id, zb_uint8_t def_resp, zb_callback_t cb, zb_uint8_t options_mask, zb_uint8_t options_override)
 Stop move step command, see ZCL8 spec 5.2.2.3.20. More...
 
void zb_zcl_color_control_send_stop_move_step_req (zb_bufid_t buffer, const zb_addr_u *dst_addr, zb_uint8_t dst_addr_mode, zb_uint8_t dst_ep, zb_uint8_t ep, zb_uint16_t prof_id, zb_uint8_t def_resp, zb_callback_t cb)
 Stop move step command (pre-ZCL8) Use zb_zcl_color_control_send_stop_move_step_req_zcl8 for ZCL8 revision call. More...
 
void zb_zcl_color_control_send_move_color_temp_req_zcl8 (zb_bufid_t buffer, const zb_addr_u *dst_addr, zb_uint8_t dst_addr_mode, zb_uint8_t dst_ep, zb_uint8_t ep, zb_uint16_t prof_id, zb_uint8_t def_resp, zb_callback_t cb, zb_uint8_t move_mode, zb_uint16_t rate, zb_uint16_t color_temp_min, zb_uint16_t color_temp_max, zb_uint8_t options_mask, zb_uint8_t options_override)
 Send Move color temperature command. More...
 
void zb_zcl_color_control_send_move_color_temp_req (zb_bufid_t buffer, const zb_addr_u *dst_addr, zb_uint8_t dst_addr_mode, zb_uint8_t dst_ep, zb_uint8_t ep, zb_uint16_t prof_id, zb_uint8_t def_resp, zb_callback_t cb, zb_uint8_t move_mode, zb_uint16_t rate, zb_uint16_t color_temp_min, zb_uint16_t color_temp_max)
 Send Move color temperature command (pre-ZCL8) Use zb_zcl_color_control_send_move_color_temp_req_zcl8 for ZCL8 revision call. More...
 
void zb_zcl_color_control_send_step_color_temp_req_zcl8 (zb_bufid_t buffer, const zb_addr_u *dst_addr, zb_uint8_t dst_addr_mode, zb_uint8_t dst_ep, zb_uint8_t ep, zb_uint16_t prof_id, zb_uint8_t def_resp, zb_callback_t cb, zb_uint8_t step_mode, zb_uint16_t step_size, zb_uint16_t transition_time, zb_uint16_t color_temp_min, zb_uint16_t color_temp_max, zb_uint8_t options_mask, zb_uint8_t options_override)
 Step color temperature command. More...
 
void zb_zcl_color_control_send_step_color_temp_req (zb_bufid_t buffer, const zb_addr_u *dst_addr, zb_uint8_t dst_addr_mode, zb_uint8_t dst_ep, zb_uint8_t ep, zb_uint16_t prof_id, zb_uint8_t def_resp, zb_callback_t cb, zb_uint8_t step_mode, zb_uint16_t step_size, zb_uint16_t transition_time, zb_uint16_t color_temp_min, zb_uint16_t color_temp_max)
 Step color temperature command (pre-ZCL8) Use zb_zcl_color_control_send_step_color_temp_req_zcl8 for ZCL8 revision call. More...
 

Macro Definition Documentation

§ ZB_ZCL_CLUSTER_ID_COLOR_CONTROL_CLIENT_ROLE_INIT

#define ZB_ZCL_CLUSTER_ID_COLOR_CONTROL_CLIENT_ROLE_INIT   zb_zcl_color_control_init_client

§ ZB_ZCL_CLUSTER_ID_COLOR_CONTROL_SERVER_ROLE_INIT

#define ZB_ZCL_CLUSTER_ID_COLOR_CONTROL_SERVER_ROLE_INIT   zb_zcl_color_control_init_server

Function Documentation

§ zb_zcl_color_control_init_client()

void zb_zcl_color_control_init_client ( void  )

§ zb_zcl_color_control_init_server()

void zb_zcl_color_control_init_server ( void  )