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__
23 * @brief Definition for maximum size of Zcl scene name (16).
26 #define ZIGBEE_ZCL_SCENE_NAME_MAX_LEN 16
29 * @brief Definition for Zcl scene add scene structure.
33 short node_id; /**< Node ID */
34 char dest_ep; /**< Destination endpoint */
35 short group_id; /**< Group ID */
36 char scene_id; /**< Scene ID */
37 short transition_time; /**< Transition time */
38 char scene_name[ZIGBEE_ZCL_SCENE_NAME_MAX_LEN + 1]; /**< Scene name (NULL terminated */
39 short ext_field_set_len; /**< Extended field set length */
40 short *ext_field_set; /**< Extended field set */
41 } ZigbeeZclSceneAddScene_t;
44 * @brief Definition for Zcl scene view scene structure.
48 short node_id; /**< Node ID */
49 char dest_ep; /**< Destination endpoint */
50 short group_id; /**< Group ID */
51 char scene_id; /**< Scene ID */
52 } ZigbeeZclSceneViewScene_t;
55 * @brief Definition for Zcl scene remove scene structure.
59 short node_id; /**< Node ID */
60 char dest_ep; /**< Destination endpoint */
61 short group_id; /**< Group ID */
62 char scene_id; /**< Scene ID */
63 } ZigbeeZclSceneRemoveScene_t;
66 * @brief Definition for Zcl scene store scene structure.
70 short node_id; /**< Node ID */
71 char dest_ep; /**< Destination endpoint */
72 short group_id; /**< Group ID */
73 char scene_id; /**< Scene ID */
74 } ZigbeeZclSceneStoreScene_t;
77 * @brief Definition for Zcl scene recall scene structure.
81 short node_id; /**< Node ID */
82 char dest_ep; /**< Destination endpoint */
83 short group_id; /**< Group ID */
84 char scene_id; /**< Scene ID */
85 } ZigbeeZclSceneRecallScene_t;
88 * @brief Definition for Zcl scene remove all scene structure.
92 short node_id; /**< Node ID */
93 char dest_ep; /**< Destination endpoint */
94 short group_id; /**< Group ID */
95 } ZigbeeZclSceneRemoveAllScene_t;
98 * @brief Definition for Zcl scene get scene membership structure.
102 short node_id; /**< Node ID */
103 char dest_ep; /**< Destination endpoint */
104 short group_id; /**< Group ID */
105 } ZigbeeZclSceneGetSceneMembership_t;
107 #endif /* __ZIGBEE_ZCL_SCENE_TYPE_H__ */