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_SCENE_TYPE_H__
20 #define __ZIGBEE_ZCL_SCENE_TYPE_H__
22 #include <zigbee_types.h>
25 * @brief Definition for ZCL scene add scene structure.
29 short node_id; /**< Node ID */
30 char dest_ep; /**< Destination endpoint */
31 short group_id; /**< Group ID */
32 char scene_id; /**< Scene ID */
33 short transition_time; /**< Transition time */
34 char scene_name[ZIGBEE_ZCL_SCENE_NAME_MAX_LEN + 1]; /**< Scene name (NULL terminated */
35 short ext_field_set_len; /**< Extended field set length */
36 short *ext_field_set; /**< Extended field set */
37 } ZigbeeZclSceneAddScene_t;
40 * @brief Definition for ZCL scene view scene structure.
44 short node_id; /**< Node ID */
45 char dest_ep; /**< Destination endpoint */
46 short group_id; /**< Group ID */
47 char scene_id; /**< Scene ID */
48 } ZigbeeZclSceneViewScene_t;
51 * @brief Definition for ZCL scene remove scene structure.
55 short node_id; /**< Node ID */
56 char dest_ep; /**< Destination endpoint */
57 short group_id; /**< Group ID */
58 char scene_id; /**< Scene ID */
59 } ZigbeeZclSceneRemoveScene_t;
62 * @brief Definition for ZCL scene store scene structure.
66 short node_id; /**< Node ID */
67 char dest_ep; /**< Destination endpoint */
68 short group_id; /**< Group ID */
69 char scene_id; /**< Scene ID */
70 } ZigbeeZclSceneStoreScene_t;
73 * @brief Definition for ZCL scene recall scene structure.
77 short node_id; /**< Node ID */
78 char dest_ep; /**< Destination endpoint */
79 short group_id; /**< Group ID */
80 char scene_id; /**< Scene ID */
81 } ZigbeeZclSceneRecallScene_t;
84 * @brief Definition for ZCL scene remove all scene structure.
88 short node_id; /**< Node ID */
89 char dest_ep; /**< Destination endpoint */
90 short group_id; /**< Group ID */
91 } ZigbeeZclSceneRemoveAllScene_t;
94 * @brief Definition for ZCL scene get scene membership structure.
98 short node_id; /**< Node ID */
99 char dest_ep; /**< Destination endpoint */
100 short group_id; /**< Group ID */
101 } ZigbeeZclSceneGetSceneMembership_t;
103 #endif /* __ZIGBEE_ZCL_SCENE_TYPE_H__ */