5.5 Color control cluster
5.5.4 Color control cluster structures
5.5.4.18 ZbZclColorClientStepSatReqT Step Saturation command structure
Table 64. ZbZclColorClientStepSatReqT parameters
Parameter Description
uint8_t step_mode Step mode
uint8_t step_size Step size
uint8_t transition_time Transition time
uint8_t mask Options mask
uint8_t override Options override
5.5.4.19 ZbZclColorClientStopMoveStepReqT Stop Move Step command structure
Table 65. ZbZclColorClientStopMoveStepReqT Parameters
Parameter Description
uint8_t mask Options mask
uint8_t override Options override
5.5.4.20 ZbZclColorServerCallbacksT
Color Control Server callbacks configuration
Table 66. ZbZclColorServerCallbacksT Parameters Parameter Decription
move_to_hue (callback function pointer)
enum ZclStatusCodeT (*move_to_hue)(struct ZbZclClusterT*cluster, struct ZbZclColorClientMoveToHueReqT *req, struct ZbZclAddrInfoT
*srcInfo, void *arg)
Callback to application, invoked on receipt of Move to Hue command.
The application is expected to update ZCL_COLOR_ATTR_CURRENT_HUE, and ZCL_COLOR_ATTR_REMAINING_TIME
move_hue
(callback function pointer)
enum ZclStatusCodeT (*move_hue)(struct ZbZclClusterT*cluster, struct ZbZclColorClientMoveHueReqT *req, struct ZbZclAddrInfoT *srcInfo, void *arg)
Callback to application, invoked on receipt of Move Hue command. The application is expected to update ZCL_COLOR_ATTR_CURRENT_HUE, and ZCL_COLOR_ATTR_REMAINING_TIME
step_hue
(callback function pointer)
enum ZclStatusCodeT (*step_hue)(struct ZbZclClusterT*cluster, struct ZbZclColorClientStepHueReqT *req, struct ZbZclAddrInfoT *srcInfo, void *arg)
Callback to application, invoked on receipt of Step Hue command. The application is expected to update ZCL_COLOR_ATTR_CURRENT_HUE, and ZCL_COLOR_ATTR_REMAINING_TIME
move_to_sat (callback function pointer)
enum ZclStatusCodeT (*move_to_sat)(struct ZbZclClusterT*cluster, struct ZbZclColorClientMoveToSatReqT *req, struct ZbZclAddrInfoT
*srcInfo, void *arg)
Callback to application, invoked on receipt of Move to Saturation command.
The application is expected to update ZCL_COLOR_ATTR_CURRENT_SAT, and ZCL_COLOR_ATTR_REMAINING_TIME
move_sat
(callback function pointer)
enum ZclStatusCodeT (*move_sat)(struct ZbZclClusterT*cluster, struct ZbZclColorClientMoveSatReqT *req, struct ZbZclAddrInfoT *srcInfo, void *arg)
Callback to application, invoked on receipt of Move Saturation command.
The application is expected to update ZCL_COLOR_ATTR_CURRENT_SAT, and ZCL_COLOR_ATTR_REMAINING_TIME
step_sat
(callback function pointer)
enum ZclStatusCodeT (*step_sat)(struct ZbZclClusterT*cluster, struct ZbZclColorClientStepSatReqT *req, struct ZbZclAddrInfoT *srcInfo, void *arg)
Callback to application, invoked on receipt of Step Saturation command.
The application is expected to update ZCL_COLOR_ATTR_CURRENT_SAT, and ZCL_COLOR_ATTR_REMAINING_TIME
Parameter Decription
move_to_hue_sat (callback function pointer)
enum ZclStatusCodeT (*move_to_hue_sat)(struct ZbZclClusterT
*cluster, struct ZbZclColorClientMoveToHueSatReqT *req, struct ZbZclAddrInfoT *srcInfo, void *arg)
Callback to application, invoked on receipt of Move to Hue and Saturation
command. The application is expected to update ZCL_COLOR_ATTR_CURRENT_HUE, ZCL_COLOR_ATTR_CURRENT_SAT, and ZCL_COLOR_ATTR_REMAINING_TIME
move_to_color_xy (callback function pointer)
enum ZclStatusCodeT (*move_to_color_xy)(struct
ZbZclClusterT*cluster,struct ZbZclColorClientMoveToColorXYReqT *req, struct ZbZclAddrInfoT *srcInfo, void *arg)
Callback to application, invoked on receipt of Move to Color command. The application is expected to update ZCL_COLOR_ATTR_CURRENT_X, ZCL_COLOR_ATTR_CURRENT_Y, and ZCL_COLOR_ATTR_REMAINING_TIME
move_color_xy (callback function pointer)
enum ZclStatusCodeT (*move_color_xy)(struct ZbZclClusterT
*cluster,struct ZbZclColorClientMoveColorXYReqT *req, struct ZbZclAddrInfoT *srcInfo, void *arg)
Callback to application, invoked on receipt of Move Color command. The application is expected to update ZCL_COLOR_ATTR_CURRENT_X, ZCL_COLOR_ATTR_CURRENT_Y, and ZCL_COLOR_ATTR_REMAINING_TIME
step_color_xy (callback function pointer)
enum ZclStatusCodeT (*step_color_xy)(struct ZbZclClusterT
*cluster,struct ZbZclColorClientStepColorXYReqT *req, struct ZbZclAddrInfoT *srcInfo, void *arg)
Callback to application, invoked on receipt of Step Color command. The application is expected to update ZCL_COLOR_ATTR_CURRENT_X, ZCL_COLOR_ATTR_CURRENT_Y, and ZCL_COLOR_ATTR_REMAINING_TIME
move_to_color_temp (callback function pointer)
enum ZclStatusCodeT (*move_to_color_temp)(struct ZbZclClusterT
*cluster, struct ZbZclColorClientMoveToColorTempReqT *req, struct ZbZclAddrInfoT *srcInfo, void *arg)
Callback to application, invoked on receipt of Move to Color Temperature command.
The application is expected to update ZCL_COLOR_ATTR_COLOR_TEMP_MIREDS, and ZCL_COLOR_ATTR_REMAINING_TIME
move_to_hue_enh (callback function pointer)
enum ZclStatusCodeT (*move_to_hue_enh)(struct ZbZclClusterT
*cluster,struct ZbZclColorClientMoveToHueEnhReqT *req, struct ZbZclAddrInfoT *srcInfo, void *arg)
Callback to application, invoked on receipt of Enhanced Move to Hue command.
The application is expected to update ZCL_COLOR_ATTR_ENH_CURR_HUE, and ZCL_COLOR_ATTR_REMAINING_TIME
move_hue_enh (callback function pointer)
enum ZclStatusCodeT (*move_hue_enh)(struct ZbZclClusterT*cluster, struct ZbZclColorClientMoveHueEnhReqT *req, struct ZbZclAddrInfoT
*srcInfo, void *arg)
Callback to application, invoked on receipt of Move Hue command. The application is expected to update ZCL_COLOR_ATTR_ENH_CURR_HUE, and ZCL_COLOR_ATTR_REMAINING_TIME
step_hue_enh (callback function pointer)
enum ZclStatusCodeT (*step_hue_enh)(struct ZbZclClusterT*cluster, struct ZbZclColorClientStepHueEnhReqT *req, struct ZbZclAddrInfoT
*srcInfo, void *arg)
Callback to application, invoked on receipt of Enhanced Step Hue command.
The application is expected to update ZCL_COLOR_ATTR_ENH_CURR_HUE, and ZCL_COLOR_ATTR_REMAINING_TIME
move_to_hue_sat_enh (callback function pointer)
enum ZclStatusCodeT (*move_to_hue_sat_enh)(struct ZbZclClusterT
*cluster, struct ZbZclColorClientMoveToHueSatEnhReqT *req, struct ZbZclAddrInfoT *srcInfo, void *arg)
Parameter Decription
Callback to application, invoked on receipt of Enhanced Move to Hue and Saturation command. Theapplication is expected to update ZCL_COLOR_ATTR_ENH_CURR_HUE, ZCL_COLOR_ATTR_CURRENT_SAT, and ZCL_COLOR_ATTR_REMAINING_TIME
color_loop_set (callback function pointer)
enum ZclStatusCodeT (*color_loop_set)(struct ZbZclClusterT *cluster, struct ZbZclColorClientColorLoopSetReqT *req, struct ZbZclAddrInfoT
*srcInfo, void *arg)
Callback to application, invoked on receipt of Color Loop Set command. The application is expected to update the following attributes according to the update flags and action fields:
• ZCL_COLOR_ATTR_COLOR_LOOP_ACTIVE
enum ZclStatusCodeT (*stop_move_step)(struct ZbZclClusterT
*cluster,struct ZbZclColorClientStopMoveStepReqT *req, struct ZbZclAddrInfoT *srcInfo, void *arg)
Callback to application, invoked on receipt of Stop Move Step command. The application is expected to update ZCL_COLOR_ATTR_REMAINING_TIME
move_color_temp (callback function pointer)
enum ZclStatusCodeT (*move_color_temp)(struct ZbZclClusterT
*cluster, struct ZbZclColorClientMoveColorTempReqT *req, struct ZbZclAddrInfoT *srcInfo, void *arg)
Callback to application, invoked on receipt of Move Color Temperature command.
The application is expected to update ZCL_COLOR_ATTR_COLOR_TEMP_MIREDS, and ZCL_COLOR_ATTR_REMAINING_TIME
step_color_temp (callback function pointer)
enum ZclStatusCodeT (*step_color_temp)(struct ZbZclClusterT
*cluster,struct ZbZclColorClientStepColorTempReqT *req, struct ZbZclAddrInfoT *srcInfo, void *arg)
Callback to application, invoked on receipt of Step Color Temperature command.
The application is expected to update ZCL_COLOR_ATTR_COLOR_TEMP_MIREDS, and ZCL_COLOR_ATTR_REMAINING_TIME