Chagne DBus object name following Zigbee Specification
[platform/core/connectivity/zigbee-manager.git] / common / include / zigbee_zcl_color_type.h
1 /*
2  * Copyright (c) 2016 Samsung Electronics Co., Ltd. All rights reserved.
3  *
4  * Contact: Suresh Kumar N (suresh.n@samsung.com)
5  *
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
9  *
10  * http://www.apache.org/licenses/LICENSE-2.0
11  *
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.
17  */
18
19 #ifndef __ZIGBEE_ZCL_COLOR_TYPE_H__
20 #define __ZIGBEE_ZCL_COLOR_TYPE_H__
21
22 #include <zigbee_types.h>
23
24 /**
25  * @brief Definition for Zcl color move to hue structure.
26  * @since_tizen 3.0
27  */
28 typedef struct {
29         short node_id; /**< Node ID */
30         char dest_ep; /**< Destination endpoint */
31         char hue; /**< Hue */
32         char direction; /**< Direction */
33         short transition_time; /**< Transtion time */
34 } ZigbeeZclColorMoveToHue_t;
35
36 /**
37  * @brief Definition for Zcl color move hue structure.
38  * @since_tizen 3.0
39  */
40 typedef struct {
41         short node_id; /**< Node ID */
42         char dest_ep; /**< Destination endpoint */
43         char move_mode; /**< Move mode */
44         char rate; /**< Rate */
45 } ZigbeeZclColorMoveHue_t;
46
47 /**
48  * @brief Definition for Zcl color step hue structure.
49  * @since_tizen 3.0
50  */
51 typedef struct {
52         short node_id; /**< Node ID */
53         char dest_ep; /**< Destination endpoint */
54         char step_mode; /**< Step mode */
55         char step_size; /**< Step size */
56         short transition_time; /**< Transtion time */
57 } ZigbeeZclColorStepHue_t;
58
59 /**
60  * @brief Definition for Zcl color move to staturation structure.
61  * @since_tizen 3.0
62  */
63 typedef struct {
64         short node_id; /**< Node ID */
65         char dest_ep; /**< Destination endpoint */
66         char saturation; /**< Saturation */
67         short transition_time; /**< Transtion time */
68 } ZigbeeZclColorMoveToSaturation_t;
69
70 /**
71  * @brief Definition for Zcl color move staturation structure.
72  * @since_tizen 3.0
73  */
74 typedef struct {
75         short node_id; /**< Node ID */
76         char dest_ep; /**< Destination endpoint */
77         char move_mode; /**< Move mode */
78         char rate; /**< Rate */
79 } ZigbeeZclColorMoveSaturation_t;
80
81 /**
82  * @brief Definition for Zcl color step saturation structure.
83  * @since_tizen 3.0
84  */
85 typedef struct {
86         short node_id; /**< Node ID */
87         char dest_ep; /**< Destination endpoint */
88         char step_mode; /**< Step mode */
89         char step_size; /**< Step size */
90         short transition_time; /**< Transtion time */
91 } ZigbeeZclColorStepSaturation_t;
92
93 /**
94  * @brief Definition for Zcl color move to hue and saturation structure.
95  * @since_tizen 3.0
96  */
97 typedef struct {
98         short node_id; /**< Node ID */
99         char dest_ep; /**< Destination endpoint */
100         char hue; /**< Hue */
101         char saturation; /**< Saturation */
102         short transition_time; /**< Transtion time */
103 } ZigbeeZclColorMoveToHueAndSaturation_t;
104
105 /**
106  * @brief Definition for Zcl color move to color structure.
107  * @since_tizen 3.0
108  */
109 typedef struct {
110         short node_id; /**< Node ID */
111         char dest_ep; /**< Destination endpoint */
112         short color_x; /**< Color X */
113         short color_y; /**< Color Y */
114         short transition_time; /**< Transtion time */
115 } ZigbeeZclColorMoveToColor_t;
116
117 /**
118  * @brief Definition for Zcl color move color structure.
119  * @since_tizen 3.0
120  */
121 typedef struct {
122         short node_id; /**< Node ID */
123         char dest_ep; /**< Destination endpoint */
124         short rate_x; /**< Rate X */
125         short rate_y; /**< Rate Y */
126 } ZigbeeZclColorMoveColor_t;
127
128 /**
129  * @brief Definition for Zcl color step color structure.
130  * @since_tizen 3.0
131  */
132 typedef struct {
133         short node_id; /**< Node ID */
134         char dest_ep; /**< Destination endpoint */
135         short rate_x; /**< Rate X */
136         short rate_y; /**< Rate Y */
137         short transition_time; /**< Transtion time */
138 } ZigbeeZclColorStepColor_t;
139
140 /**
141  * @brief Definition for Zcl color move color temperature structure.
142  * @since_tizen 3.0
143  */
144 typedef struct {
145         short node_id; /**< Node ID */
146         char dest_ep; /**< Destination endpoint */
147         short color_temperature; /**< Color temperature*/
148         short transition_time; /**< Transtion time */
149 } ZigbeeZclColorMoveColorTemperature_t;
150
151 #endif /* __ZIGBEE_ZCL_COLOR_TYPE_H__ */