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_LEVEL_CONTROL_TYPE_H__
20 #define __ZIGBEE_LEVEL_CONTROL_TYPE_H__
23 * @brief Definition for level control move to level structure.
27 short node_id; /**< Node ID */
28 char endpoint; /**< Endpoint */
29 char level; /**< Level */
30 short transition; /**< Transition time */
31 } ZigbeeLevelControlMoveToLevel_t;
34 * @brief Definition for level control move structure.
38 short node_id; /**< Node ID */
39 char endpoint; /**< Endpoint */
40 char move_mode; /**< Move mode */
41 char rate; /**< Rate of movement */
42 } ZigbeeLevelControlMove_t;
45 * @brief Definition for level control step structure.
49 short node_id; /**< Node ID */
50 char endpoint; /**< Endpoint */
51 char step_mode; /**< Step mode */
52 char move_mode; /**< Move mode */
53 short transition_time; /**< Transition time */
54 } ZigbeeLevelControlStep_t;
57 * @brief Definition for level control move to level with on/off structure.
61 short node_id; /**< Node ID */
62 char endpoint; /**< Endpoint */
63 char level; /**< Level */
64 short transition; /**< Transition time */
65 } ZigbeeLevelControlMoveToLevelWithOnOff_t;
68 * @brief Definition for level control move with on/off structure.
72 short node_id; /**< Node ID */
73 char endpoint; /**< Endpoint */
74 char move_mode; /**< Move mode */
75 char rate; /**< Rate of movement */
76 } ZigbeeLevelControlMoveOnOff_t;
79 * @brief Definition for level control step with on/off structure.
83 short node_id; /**< Node ID */
84 char endpoint; /**< Endpoint */
85 char step_mode; /**< Step mode */
86 char move_mode; /**< Move mode */
87 short transition_time; /**< Transition time */
88 } ZigbeeLevelControlStepWithOnOff_t;
91 * @brief Definition for level control stop structure.
95 short node_id; /**< Node ID */
96 char endpoint; /**< Endpoint */
97 } ZigbeeLevelControlStop_t;
99 #endif /* __ZIGBEE_LEVEL_CONTROL_TYPE_H__ */