![]() |
nRF5 SDK for Thread and Zigbee v1.0.0
|
Data Structures | |
struct | zb_zcl_color_control_move_loop_s |
struct | zb_zcl_color_control_move_to_loop_s |
struct | zb_zcl_color_control_step_loop_s |
struct | zb_zcl_color_control_move_to_hue_req_s |
Structure representsation of Move To Hue command payload. More... | |
struct | zb_zcl_color_control_move_hue_req_s |
Structure representsation of Move Hue command payload. More... | |
struct | zb_zcl_color_control_step_hue_req_s |
Structure representsation of Step Hue command payload. More... | |
struct | zb_zcl_color_control_move_to_saturation_req_s |
Structure representsation of Move To Saturation command payload. More... | |
struct | zb_zcl_color_control_move_saturation_req_s |
Structure representsation of Move Saturation command payload. More... | |
struct | zb_zcl_color_control_step_saturation_req_s |
Structure representsation of Step Saturation command payload. More... | |
struct | zb_zcl_color_control_move_to_hue_saturation_req_s |
Structure representsation of Move To Hue and Saturation command payload. More... | |
struct | zb_zcl_color_control_move_to_color_req_s |
Structure representsation of Move To Color command payload. More... | |
struct | zb_zcl_color_control_move_color_req_s |
Structure representsation of Move Color command payload. More... | |
struct | zb_zcl_color_control_step_color_req_s |
Structure representsation of Step Color command payload. More... | |
struct | zb_zcl_color_control_move_to_color_temperature_req_s |
Structure representsation of Move To Color Temperature command payload. More... | |
Color Control cluster attributes | |
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_COLOR_TEMPERATURE_ID = 0x0007, ZB_ZCL_ATTR_COLOR_CONTROL_COLOR_MODE_ID = 0x0008, 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 } |
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... | |
#define | ZB_ZCL_COLOR_CONTROL_CURRENT_HUE_MIN_VALUE 0 |
Current Hue attribute minimum value. | |
#define | ZB_ZCL_COLOR_CONTROL_CURRENT_HUE_MAX_VALUE 0xfe |
Current Hue attribute maximum value. | |
#define | ZB_ZCL_COLOR_CONTROL_CURRENT_SATURATION_MIN_VALUE 0 |
Current Saturation attribute minimum value. | |
#define | ZB_ZCL_COLOR_CONTROL_CURRENT_SATURATION_MAX_VALUE 0xfe |
Current Saturation attribute maximum value. | |
#define | ZB_ZCL_COLOR_CONTROL_REMAINING_TIME_MIN_VALUE 0 |
Remaining Time attribute minimum value. | |
#define | ZB_ZCL_COLOR_CONTROL_REMAINING_TIME_MAX_VALUE 0xfffe |
Remaining Time attribute maximum value. | |
#define | ZB_ZCL_COLOR_CONTROL_CURRENT_X_DEF_VALUE 0x616b |
Current X attribute default value. | |
#define | ZB_ZCL_COLOR_CONTROL_CURRENT_X_MIN_VALUE 0 |
Current X attribute minimum value. | |
#define | ZB_ZCL_COLOR_CONTROL_CURRENT_X_MAX_VALUE 0xfeff |
Current X attribute maximum value. | |
#define | ZB_ZCL_COLOR_CONTROL_CURRENT_Y_DEF_VALUE 0x607d |
Current Y attribute default value. | |
#define | ZB_ZCL_COLOR_CONTROL_CURRENT_Y_MIN_VALUE 0 |
Current Y attribute minimum value. | |
#define | ZB_ZCL_COLOR_CONTROL_CURRENT_Y_MAX_VALUE 0xfeff |
Current Y attribute maximum value. | |
#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. | |
#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. | |
#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. | |
#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. | |
#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. | |
#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. | |
#define | ZB_ZCL_COLOR_CONTROL_COLOR_TEMPERATURE_DEF_VALUE 0x00fa |
Color Temperature default value (4000K) | |
#define | ZB_ZCL_COLOR_CONTROL_COLOR_TEMPERATURE_MIN_VALUE 0 |
Color Temperature minimum value. | |
#define | ZB_ZCL_COLOR_CONTROL_COLOR_TEMPERATURE_MAX_VALUE 0xfeff |
Color Temperature maximum value. | |
#define | ZB_ZCL_COLOR_CONTROL_NUMBER_OF_PRIMARIES_MAX_VALUE 6 |
Number Of Primaries attribute maximum value. | |
#define | ZB_ZCL_COLOR_CONTROL_PRIMARY_X_MAX_VALUE 0xfeff |
Primary X attribute maximum value. | |
#define | ZB_ZCL_COLOR_CONTROL_PRIMARY_Y_MAX_VALUE 0xfeff |
Primary Y attribute maximum value. | |
#define | ZB_ZCL_COLOR_CONTROL_PRIMARY_INTENSITY_MAX_VALUE 0xfe |
Primary Intensity attribute maximum value. | |
#define | ZB_ZCL_COLOR_CONTROL_PRIMARY_INTENSITY_NON_USED_VALUE 0xff |
Primary Intensity attribute not used value. | |
Color Control cluster internals | |
typedef struct zb_zcl_color_control_move_loop_s | zb_zcl_color_control_move_loop_t |
typedef struct zb_zcl_color_control_move_to_loop_s | zb_zcl_color_control_move_to_loop_t |
typedef struct zb_zcl_color_control_step_loop_s | zb_zcl_color_control_step_loop_t |
#define | ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_COLOR_CONTROL_CURRENT_HUE_ID(data_ptr) |
#define | ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_COLOR_CONTROL_CURRENT_SATURATION_ID(data_ptr) |
#define | ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_COLOR_CONTROL_REMAINING_TIME_ID(data_ptr) |
#define | ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_COLOR_CONTROL_CURRENT_X_ID(data_ptr) |
#define | ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_COLOR_CONTROL_CURRENT_Y_ID(data_ptr) |
#define | ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_COLOR_CONTROL_COLOR_TEMPERATURE_ID(data_ptr) |
#define | ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_COLOR_CONTROL_COLOR_MODE_ID(data_ptr) |
#define | ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_COLOR_CONTROL_NUMBER_OF_PRIMARIES_ID(data_ptr) |
#define | ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_COLOR_CONTROL_PRIMARY_1_X_ID(data_ptr) |
#define | ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_COLOR_CONTROL_PRIMARY_1_Y_ID(data_ptr) |
#define | ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_COLOR_CONTROL_PRIMARY_1_INTENSITY_ID(data_ptr) |
#define | ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_COLOR_CONTROL_PRIMARY_2_X_ID(data_ptr) |
#define | ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_COLOR_CONTROL_PRIMARY_2_Y_ID(data_ptr) |
#define | ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_COLOR_CONTROL_PRIMARY_2_INTENSITY_ID(data_ptr) |
#define | ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_COLOR_CONTROL_PRIMARY_3_X_ID(data_ptr) |
#define | ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_COLOR_CONTROL_PRIMARY_3_Y_ID(data_ptr) |
#define | ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_COLOR_CONTROL_PRIMARY_3_INTENSITY_ID(data_ptr) |
#define | ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_COLOR_CONTROL_PRIMARY_4_X_ID(data_ptr) |
#define | ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_COLOR_CONTROL_PRIMARY_4_Y_ID(data_ptr) |
#define | ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_COLOR_CONTROL_PRIMARY_4_INTENSITY_ID(data_ptr) |
#define | ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_COLOR_CONTROL_PRIMARY_5_X_ID(data_ptr) |
#define | ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_COLOR_CONTROL_PRIMARY_5_Y_ID(data_ptr) |
#define | ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_COLOR_CONTROL_PRIMARY_5_INTENSITY_ID(data_ptr) |
#define | ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_COLOR_CONTROL_PRIMARY_6_X_ID(data_ptr) |
#define | ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_COLOR_CONTROL_PRIMARY_6_Y_ID(data_ptr) |
#define | ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_COLOR_CONTROL_PRIMARY_6_INTENSITY_ID(data_ptr) |
#define | ZB_ZCL_COLOR_CONTROL_FILL_MOVE_DATA(buf, cmd_info_,attr_id_, rate_, limit_) |
#define | ZB_ZCL_COLOR_CONTROL_FILL_MOVE_TO_DATA(buf, cmd_info_,attr_id_, start_, finish_, incr_direction_, transition_time_) |
#define | ZB_ZCL_COLOR_CONTROL_FILL_STEP_DATA(buf, cmd_info_,attr_id_, rate_,transition_time, limit_) |
#define | ZB_ZCL_DECLARE_COLOR_CONTROL_ATTRIB_LIST(attr_list, current_hue,current_saturation, remaining_time, current_X, current_Y, color_temperature,color_mode, 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) |
#define | ZB_ZCL_DECLARE_COLOR_CONTROL_MANDATORY_ATTRIB_LIST(attr_list, current_X, current_Y) |
#define | ZB_ZCL_COLOR_CONTROL_REPORT_ATTR_COUNT 5 |
Color Control cluster commands | |
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 } |
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 spec 5.2.2.3.2.3. More... | |
typedef struct zb_zcl_color_control_move_to_hue_req_s | zb_zcl_color_control_move_to_hue_req_t |
Structure representsation 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 representsation 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 representsation 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 representsation 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 representsation 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 representsation 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 representsation 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 representsation 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 representsation 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 representsation 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 representsation of Move To Color Temperature command payload. More... | |
#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) |
Send Move to Hue command. More... | |
#define | ZB_ZCL_COLOR_CONTROL_GET_MOVE_TO_HUE_REQ(data_ptr, buffer, status) |
Macro for getting Move to Hue command. More... | |
#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) |
Send Move Hue command. More... | |
#define | ZB_ZCL_COLOR_CONTROL_GET_MOVE_HUE_REQ(data_ptr, buffer, status) |
Macro for getting Move Hue command. More... | |
#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) |
Send Step Hue command. More... | |
#define | ZB_ZCL_COLOR_CONTROL_GET_STEP_HUE_REQ(data_ptr, buffer, status) |
Macro for getting Step Hue command. More... | |
#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) |
Send Move to Saturation command. More... | |
#define | ZB_ZCL_COLOR_CONTROL_GET_MOVE_TO_SATURATION_REQ(data_ptr, buffer, status) |
Macro for getting Move To Saturation command. More... | |
#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) |
Send Move Saturation command. More... | |
#define | ZB_ZCL_COLOR_CONTROL_GET_MOVE_SATURATION_REQ(data_ptr, buffer, status) |
Macro for getting Move Saturation command. More... | |
#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) |
Send Step Saturation command. More... | |
#define | ZB_ZCL_COLOR_CONTROL_GET_STEP_SATURATION_REQ(data_ptr, buffer, status) |
Macro for getting Step Saturation command. More... | |
#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) |
Send Move to Hue and Saturation command. More... | |
#define | ZB_ZCL_COLOR_CONTROL_GET_MOVE_TO_HUE_SATURATION_REQ(data_ptr, buffer, status) |
Macro for getting Move To Hue and Saturation command. More... | |
#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) |
Send Move to Color command. More... | |
#define | ZB_ZCL_COLOR_CONTROL_GET_MOVE_TO_COLOR_REQ(data_ptr, buffer, status) |
Macro for getting Move To Color command. More... | |
#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) |
Send Move Color command. More... | |
#define | ZB_ZCL_COLOR_CONTROL_GET_MOVE_COLOR_REQ(data_ptr, buffer, status) |
Macro for getting Move Color command. More... | |
#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) |
Send Step Color command. More... | |
#define | ZB_ZCL_COLOR_CONTROL_GET_STEP_COLOR_REQ(data_ptr, buffer, status) |
Macro for getting Step Color command. More... | |
#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) |
Send Move To Color Temperature command. More... | |
#define | ZB_ZCL_COLOR_CONTROL_GET_MOVE_TO_COLOR_TEMPERATURE_REQ(data_ptr, buffer, status) |
Macro for getting Step Color Temperature command. More... | |
#define ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_COLOR_CONTROL_COLOR_MODE_ID | ( | data_ptr | ) |
#define ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_COLOR_CONTROL_COLOR_TEMPERATURE_ID | ( | data_ptr | ) |
#define ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_COLOR_CONTROL_CURRENT_HUE_ID | ( | data_ptr | ) |
#define ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_COLOR_CONTROL_CURRENT_SATURATION_ID | ( | data_ptr | ) |
#define ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_COLOR_CONTROL_CURRENT_X_ID | ( | data_ptr | ) |
#define ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_COLOR_CONTROL_CURRENT_Y_ID | ( | data_ptr | ) |
#define ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_COLOR_CONTROL_NUMBER_OF_PRIMARIES_ID | ( | data_ptr | ) |
#define ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_COLOR_CONTROL_PRIMARY_1_INTENSITY_ID | ( | data_ptr | ) |
#define ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_COLOR_CONTROL_PRIMARY_1_X_ID | ( | data_ptr | ) |
#define ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_COLOR_CONTROL_PRIMARY_1_Y_ID | ( | data_ptr | ) |
#define ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_COLOR_CONTROL_PRIMARY_2_INTENSITY_ID | ( | data_ptr | ) |
#define ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_COLOR_CONTROL_PRIMARY_2_X_ID | ( | data_ptr | ) |
#define ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_COLOR_CONTROL_PRIMARY_2_Y_ID | ( | data_ptr | ) |
#define ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_COLOR_CONTROL_PRIMARY_3_INTENSITY_ID | ( | data_ptr | ) |
#define ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_COLOR_CONTROL_PRIMARY_3_X_ID | ( | data_ptr | ) |
#define ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_COLOR_CONTROL_PRIMARY_3_Y_ID | ( | data_ptr | ) |
#define ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_COLOR_CONTROL_PRIMARY_4_INTENSITY_ID | ( | data_ptr | ) |
#define ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_COLOR_CONTROL_PRIMARY_4_X_ID | ( | data_ptr | ) |
#define ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_COLOR_CONTROL_PRIMARY_4_Y_ID | ( | data_ptr | ) |
#define ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_COLOR_CONTROL_PRIMARY_5_INTENSITY_ID | ( | data_ptr | ) |
#define ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_COLOR_CONTROL_PRIMARY_5_X_ID | ( | data_ptr | ) |
#define ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_COLOR_CONTROL_PRIMARY_5_Y_ID | ( | data_ptr | ) |
#define ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_COLOR_CONTROL_PRIMARY_6_INTENSITY_ID | ( | data_ptr | ) |
#define ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_COLOR_CONTROL_PRIMARY_6_X_ID | ( | data_ptr | ) |
#define ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_COLOR_CONTROL_PRIMARY_6_Y_ID | ( | data_ptr | ) |
#define ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_COLOR_CONTROL_REMAINING_TIME_ID | ( | data_ptr | ) |
#define ZB_ZCL_COLOR_CONTROL_FILL_MOVE_DATA | ( | buf, | |
cmd_info_, | |||
attr_id_, | |||
rate_, | |||
limit_ | |||
) |
#define ZB_ZCL_COLOR_CONTROL_FILL_MOVE_TO_DATA | ( | buf, | |
cmd_info_, | |||
attr_id_, | |||
start_, | |||
finish_, | |||
incr_direction_, | |||
transition_time_ | |||
) |
#define ZB_ZCL_COLOR_CONTROL_FILL_STEP_DATA | ( | buf, | |
cmd_info_, | |||
attr_id_, | |||
rate_, | |||
transition_time, | |||
limit_ | |||
) |
#define ZB_ZCL_COLOR_CONTROL_GET_MOVE_COLOR_REQ | ( | data_ptr, | |
buffer, | |||
status | |||
) |
Macro for getting Move Color command.
data_ptr | - pointer to a variable of type zb_zcl_color_control_move_color_req_s. |
buffer | containing the packet (by pointer). |
status | - variable to put parse status to (see zb_zcl_parse_status_t). |
#define ZB_ZCL_COLOR_CONTROL_GET_MOVE_HUE_REQ | ( | data_ptr, | |
buffer, | |||
status | |||
) |
Macro for getting Move Hue command.
data_ptr | - pointer to a variable of type zb_zcl_color_control_move_hue_req_s. |
buffer | containing the packet (by pointer). |
status | - variable to put parse status to (see zb_zcl_parse_status_t). |
#define ZB_ZCL_COLOR_CONTROL_GET_MOVE_SATURATION_REQ | ( | data_ptr, | |
buffer, | |||
status | |||
) |
Macro for getting Move Saturation command.
data_ptr | - pointer to a variable of type zb_zcl_color_control_move_saturation_req_s. |
buffer | containing the packet (by pointer). |
status | - variable to put parse status to (see zb_zcl_parse_status_t). |
#define ZB_ZCL_COLOR_CONTROL_GET_MOVE_TO_COLOR_REQ | ( | data_ptr, | |
buffer, | |||
status | |||
) |
Macro for getting Move To Color command.
data_ptr | - pointer to a variable of type zb_zcl_color_control_move_to_color_req_s. |
buffer | containing the packet (by pointer). |
status | - variable to put parse status to (see zb_zcl_parse_status_t). |
#define ZB_ZCL_COLOR_CONTROL_GET_MOVE_TO_COLOR_TEMPERATURE_REQ | ( | data_ptr, | |
buffer, | |||
status | |||
) |
Macro for getting Step Color Temperature command.
data_ptr | - pointer to a variable of type zb_zcl_color_control_move_to_color_temperature_req_s. |
buffer | containing the packet (by pointer). |
status | - variable to put parse status to (see zb_zcl_parse_status_t). |
#define ZB_ZCL_COLOR_CONTROL_GET_MOVE_TO_HUE_REQ | ( | data_ptr, | |
buffer, | |||
status | |||
) |
Macro for getting Move to Hue command.
data_ptr | - pointer to a variable of type zb_zcl_color_control_move_to_hue_req_s. |
buffer | containing the packet (by pointer). |
status | - variable to put parse status to (see zb_zcl_parse_status_t). |
#define ZB_ZCL_COLOR_CONTROL_GET_MOVE_TO_HUE_SATURATION_REQ | ( | data_ptr, | |
buffer, | |||
status | |||
) |
Macro for getting Move To Hue and Saturation command.
data_ptr | - pointer to a variable of type zb_zcl_color_control_move_to_hue_saturation_req_s. |
buffer | containing the packet (by pointer). |
status | - variable to put parse status to (see zb_zcl_parse_status_t). |
#define ZB_ZCL_COLOR_CONTROL_GET_MOVE_TO_SATURATION_REQ | ( | data_ptr, | |
buffer, | |||
status | |||
) |
Macro for getting Move To Saturation command.
data_ptr | - pointer to a variable of type zb_zcl_color_control_move_to_saturation_req_s. |
buffer | containing the packet (by pointer). |
status | - variable to put parse status to (see zb_zcl_parse_status_t). |
#define ZB_ZCL_COLOR_CONTROL_GET_STEP_COLOR_REQ | ( | data_ptr, | |
buffer, | |||
status | |||
) |
Macro for getting Step Color command.
data_ptr | - pointer to a variable of type zb_zcl_color_control_step_color_req_s. |
buffer | containing the packet (by pointer). |
status | - variable to put parse status to (see zb_zcl_parse_status_t). |
#define ZB_ZCL_COLOR_CONTROL_GET_STEP_HUE_REQ | ( | data_ptr, | |
buffer, | |||
status | |||
) |
Macro for getting Step Hue command.
data_ptr | - pointer to a variable of type zb_zcl_color_control_step_hue_req_s. |
buffer | containing the packet (by pointer). |
status | - variable to put parse status to (see zb_zcl_parse_status_t). |
#define ZB_ZCL_COLOR_CONTROL_GET_STEP_SATURATION_REQ | ( | data_ptr, | |
buffer, | |||
status | |||
) |
Macro for getting Step Saturation command.
data_ptr | - pointer to a variable of type zb_zcl_color_control_step_saturation_req_s. |
buffer | containing the packet (by pointer). |
status | - variable to put parse status to (see zb_zcl_parse_status_t). |
#define ZB_ZCL_COLOR_CONTROL_REPORT_ATTR_COUNT 5 |
Number of attributes mandatory for reporting in Color Control cluster Attribute: CurrentX, CurrentY, CurrentHue, CurrentSaturation, ColorTemperature
#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 | |||
) |
Send Move Color command.
buffer | - to put packet to |
addr | - address to send packet to |
dst_addr_mode | - addressing mode |
dst_ep | - destination endpoint |
ep | - sending endpoint |
prfl_id | - profile identifier |
def_resp | - enable/disable default response |
cb | - callback for getting command send status |
rate_x | - RateX |
rate_y | - RateY |
#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 | |||
) |
Send Move Hue command.
buffer | - to put packet to |
addr | - address to send packet to |
dst_addr_mode | - addressing mode |
dst_ep | - destination endpoint |
ep | - sending endpoint |
prfl_id | - profile identifier |
def_resp | - enable/disable default response |
cb | - callback for getting command send status |
move_mode | - Move mode, see zb_zcl_color_control_move_direction_e |
rate | - Rate |
#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 | |||
) |
Send Move Saturation command.
buffer | - to put packet to |
addr | - address to send packet to |
dst_addr_mode | - addressing mode |
dst_ep | - destination endpoint |
ep | - sending endpoint |
prfl_id | - profile identifier |
def_resp | - enable/disable default response |
cb | - callback for getting command send status |
move_mode | - Move mode, see zb_zcl_color_control_move_direction_e |
rate | - Rate |
#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 | |||
) |
Send Move to Color command.
buffer | - to put packet to |
addr | - address to send packet to |
dst_addr_mode | - addressing mode |
dst_ep | - destination endpoint |
ep | - sending endpoint |
prfl_id | - profile identifier |
def_resp | - enable/disable default response |
cb | - callback for getting command send status |
color_x | - colorX |
color_y | - colorY |
transition_time | - Transition Time value |
#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 | |||
) |
Send Move To Color Temperature command.
buffer | - to put packet to |
addr | - address to send packet to |
dst_addr_mode | - addressing mode |
dst_ep | - destination endpoint |
ep | - sending endpoint |
prfl_id | - profile identifier |
def_resp | - enable/disable default response |
cb | - callback for getting command send status |
color_temperature | - Color Temperature |
transition_time | - Transition Time value |
#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 | |||
) |
Send Move to Hue command.
buffer | - to put packet to |
addr | - address to send packet to |
dst_addr_mode | - addressing mode |
dst_ep | - destination endpoint |
ep | - sending endpoint |
prfl_id | - profile identifier |
def_resp | - enable/disable default response |
cb | - callback for getting command send status |
hue | - Hue value |
direction | - Direction value, see zb_zcl_color_control_move_to_hue_direction_e |
transition_time | - Transition Time value |
#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 | |||
) |
Send Move to Hue and Saturation command.
buffer | - to put packet to |
addr | - address to send packet to |
dst_addr_mode | - addressing mode |
dst_ep | - destination endpoint |
ep | - sending endpoint |
prfl_id | - profile identifier |
def_resp | - enable/disable default response |
cb | - callback for getting command send status |
hue | - hue |
saturation | - saturation |
transition_time | - Transition Time value |
#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 | |||
) |
Send Move to Saturation command.
buffer | - to put packet to |
addr | - address to send packet to |
dst_addr_mode | - addressing mode |
dst_ep | - destination endpoint |
ep | - sending endpoint |
prfl_id | - profile identifier |
def_resp | - enable/disable default response |
cb | - callback for getting command send status |
saturation | - saturation |
transition_time | - Transition Time value |
#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 | |||
) |
Send Step Color command.
buffer | - to put packet to |
addr | - address to send packet to |
dst_addr_mode | - addressing mode |
dst_ep | - destination endpoint |
ep | - sending endpoint |
prfl_id | - profile identifier |
def_resp | - enable/disable default response |
cb | - callback for getting command send status |
step_x | - StepX |
step_y | - StepY |
transition_time | - Transition Time value |
#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 | |||
) |
Send Step Hue command.
buffer | - to put packet to |
addr | - address to send packet to |
dst_addr_mode | - addressing mode |
dst_ep | - destination endpoint |
ep | - sending endpoint |
prfl_id | - profile identifier |
def_resp | - enable/disable default response |
cb | - callback for getting command send status |
step_mode | - step mode value, see zb_zcl_color_control_step_mode_e |
step_size | - step size value |
transition_time | - Transition Time value |
#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 | |||
) |
Send Step Saturation command.
buffer | - to put packet to |
addr | - address to send packet to |
dst_addr_mode | - addressing mode |
dst_ep | - destination endpoint |
ep | - sending endpoint |
prfl_id | - profile identifier |
def_resp | - enable/disable default response |
cb | - callback for getting command send status |
step_mode | - step mode value, see zb_zcl_color_control_step_mode_e |
step_size | - step size value |
transition_time | - Transition Time value |
#define ZB_ZCL_DECLARE_COLOR_CONTROL_ATTRIB_LIST | ( | attr_list, | |
current_hue, | |||
current_saturation, | |||
remaining_time, | |||
current_X, | |||
current_Y, | |||
color_temperature, | |||
color_mode, | |||
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 | |||
) |
Declare attribute list for Color Control cluster
attr_list | - attribure list name |
current_hue | - pointer to variable to store current_hue attribute value |
current_saturation | - pointer to variable to store current_saturation attribute value |
remaining_time | - pointer to variable to store remaining_time attribute value |
current_X | - pointer to variable to store current_X attribute value |
current_Y | - pointer to variable to store current_Y attribute value |
color_temperature | - pointer to variable to store color_temperature attribute value |
color_mode | - pointer to variable to store color_mode attribute value |
number_primaries | - pointer to variable to store number_primaries attribute value |
primary_1_X | - pointer to variable to store primary_1_X attribute value |
primary_1_Y | - pointer to variable to store primary_1_Y attribute value |
primary_1_intensity | - pointer to variable to store primary_1_intensity attribute value |
primary_2_X | - pointer to variable to store primary_2_X attribute value |
primary_2_Y | - pointer to variable to store primary_2_Y attribute value |
primary_2_intensity | - pointer to variable to store primary_2_intensity attribute value |
primary_3_X | - pointer to variable to store primary_3_X attribute value |
primary_3_Y | - pointer to variable to store primary_3_Y attribute value |
primary_3_intensity | - pointer to variable to store primary_3_intensity attribute value |
primary_4_X | - pointer to variable to store primary_4_X attribute value |
primary_4_Y | - pointer to variable to store primary_4_Y attribute value |
primary_4_intensity | - pointer to variable to store primary_4_intensity attribute value |
primary_5_X | - pointer to variable to store primary_5_X attribute value |
primary_5_Y | - pointer to variable to store primary_5_Y attribute value |
primary_5_intensity | - pointer to variable to store primary_5_intensity attribute value |
primary_6_X | - pointer to variable to store primary_6_X attribute value |
primary_6_Y | - pointer to variable to store primary_6_Y attribute value |
primary_6_intensity | - pointer to variable to store primary_6_intensity attribute value |
#define ZB_ZCL_DECLARE_COLOR_CONTROL_MANDATORY_ATTRIB_LIST | ( | attr_list, | |
current_X, | |||
current_Y | |||
) |
Declare mandatory attribute list for Color Control cluster
attr_list | - attribure list name |
current_X | - pointer to variable to store current_X attribute value |
current_Y | - pointer to variable to store current_Y attribute value |
Structure representsation of Move Color command payload.
Structure representsation of Move Hue command payload.
typedef struct zb_zcl_color_control_move_saturation_req_s zb_zcl_color_control_move_saturation_req_t |
Structure representsation of Move Saturation command payload.
Structure representsation of Move To Color command payload.
typedef struct zb_zcl_color_control_move_to_color_temperature_req_s zb_zcl_color_control_move_to_color_temperature_req_t |
Structure representsation of Move To Color Temperature command payload.
Structure representsation of Move To Hue command payload.
typedef struct zb_zcl_color_control_move_to_hue_saturation_req_s zb_zcl_color_control_move_to_hue_saturation_req_t |
Structure representsation of Move To Hue and Saturation command payload.
typedef struct zb_zcl_color_control_move_to_saturation_req_s zb_zcl_color_control_move_to_saturation_req_t |
Structure representsation of Move To Saturation command payload.
Structure representsation of Step Color command payload.
Structure representsation of Step Hue command payload.
typedef struct zb_zcl_color_control_step_saturation_req_s zb_zcl_color_control_step_saturation_req_t |
Structure representsation of Step Saturation command payload.
Color Control cluster information attribute identifiers.
Color control cluster command identifiers.