2 * Copyright (c) 2016 Samsung Electronics Co., Ltd. All rights reserved.
4 * Contact: Suresh Kumar N (suresh.n@samsung.com)
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
10 * http://www.apache.org/licenses/LICENSE-2.0
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
19 #ifndef __ZIGBEE_ZCL_COLOR_TYPE_H__
20 #define __ZIGBEE_ZCL_COLOR_TYPE_H__
23 * @brief Definition for Zcl color move to hue structure.
27 short node_id; /**< Node ID */
28 char dest_ep; /**< Destination endpoint */
30 char direction; /**< Direction */
31 short transition_time; /**< Transtion time */
32 } ZigbeeZclColorMoveToHue_t;
35 * @brief Definition for Zcl color move hue structure.
39 short node_id; /**< Node ID */
40 char dest_ep; /**< Destination endpoint */
41 char move_mode; /**< Move mode */
42 char rate; /**< Rate */
43 } ZigbeeZclColorMoveHue_t;
46 * @brief Definition for Zcl color step hue structure.
50 short node_id; /**< Node ID */
51 char dest_ep; /**< Destination endpoint */
52 char step_mode; /**< Step mode */
53 char step_zize; /**< Step size */
54 short transition_time; /**< Transtion time */
55 } ZigbeeZclColorStepHue_t;
58 * @brief Definition for Zcl color move to staturation structure.
62 short node_id; /**< Node ID */
63 char dest_ep; /**< Destination endpoint */
64 char saturation; /**< Saturation */
65 short transition_time; /**< Transtion time */
66 } ZigbeeZclColorMoveToSaturation_t;
69 * @brief Definition for Zcl color move staturation structure.
73 short node_id; /**< Node ID */
74 char dest_ep; /**< Destination endpoint */
75 char move_mode; /**< Move mode */
76 char rate; /**< Rate */
77 } ZigbeeZclColorMoveSaturation_t;
80 * @brief Definition for Zcl color step saturation structure.
84 short node_id; /**< Node ID */
85 char dest_ep; /**< Destination endpoint */
86 char step_mode; /**< Step mode */
87 char step_zize; /**< Step size */
88 short transition_time; /**< Transtion time */
89 } ZigbeeZclColorStepSaturation_t;
92 * @brief Definition for Zcl color move to hue and saturation structure.
96 short node_id; /**< Node ID */
97 char dest_ep; /**< Destination endpoint */
99 char saturation; /**< Saturation */
100 short transition_time; /**< Transtion time */
101 } ZigbeeZclColorMoveToHueAndSaturation_t;
104 * @brief Definition for Zcl color move to color structure.
108 short node_id; /**< Node ID */
109 char dest_ep; /**< Destination endpoint */
110 short color_x; /**< Color X */
111 short color_y; /**< Color Y */
112 short transition_time; /**< Transtion time */
113 } ZigbeeZclColorMoveToColor_t;
116 * @brief Definition for Zcl color move color structure.
120 short node_id; /**< Node ID */
121 char dest_ep; /**< Destination endpoint */
122 short rate_x; /**< Rate X */
123 short rate_y; /**< Rate Y */
124 } ZigbeeZclColorMoveColor_t;
127 * @brief Definition for Zcl color step color structure.
131 short node_id; /**< Node ID */
132 char dest_ep; /**< Destination endpoint */
133 short rate_x; /**< Rate X */
134 short rate_y; /**< Rate Y */
135 short transition_time; /**< Transtion time */
136 } ZigbeeZclColorStepColor_t;
139 * @brief Definition for Zcl color move color temperature structure.
143 short node_id; /**< Node ID */
144 char dest_ep; /**< Destination endpoint */
145 short color_temperature; /**< Color temperature*/
146 short transition_time; /**< Transtion time */
147 } ZigbeeZclColorMoveColorTemperature_t;
149 #endif /* __ZIGBEE_ZCL_COLOR_TYPE_H__ */