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_ZCLGLOBAL_CONTROL_TYPE_H__
20 #define __ZIGBEE_ZCLGLOBAL_CONTROL_TYPE_H__
23 * @brief Definition for Zclglobal control read attributes request structure.
27 char *attribute_id; /**< Atttribute ID */
28 int attribute_id_len; /**< Atttribute ID length */
29 short node_id; /**< Node ID */
30 char cluster_id; /**< Cluster ID */
31 char zcl_frame_ctrl; /**< ZCL frame control */
32 char dest_ep; /**< Destination endpoint */
33 } ZigbeeZclglobalControlReadAttributesRequest_t;
36 * @brief Definition for Zclglobal control write attributes request structure.
40 char *write_records; /**< Write records */
41 int records_len; /**< Records length */
42 short node_id; /**< Node ID */
43 char cluster_id; /**< Cluster ID */
44 char zcl_frame_ctrl; /**< ZCL frame control */
45 char src_ep; /**< Source endpoint */
46 char dest_ep; /**< Destination endpoint */
47 } ZigbeeZclglobalControlWriteAttributesRequest_t;
50 * @brief Definition for Zclglobal control write attributes undividied request structure.
54 char *write_records; /**< Write records */
55 int records_len; /**< Records length */
56 short node_id; /**< Node ID */
57 char cluster_id; /**< Cluster ID */
58 char zcl_frame_ctrl; /**< ZCL frame control */
59 char src_ep; /**< Source endpoint */
60 char dest_ep; /**< Destination endpoint */
61 } ZigbeeZclglobalControlWriteAttributesUndividedRequest_t;
64 * @brief Definition for Zclglobal control write attributes no response structure.
68 char *write_records; /**< Write records */
69 int records_len; /**< Records length */
70 short node_id; /**< Node ID */
71 char cluster_id; /**< Cluster ID */
72 char zcl_frame_ctrl; /**< ZCL frame control */
73 char src_ep; /**< Source endpoint */
74 char dest_ep; /**< Destination endpoint */
75 } ZigbeeZclglobalControlWriteAttributesNoResponse_t;
78 * @brief Definition for Zclglobal control write attritbutes structured structure.
82 char *write_records; /**< Write records */
83 int records_len; /**< Records length */
84 short node_id; /**< Node ID */
85 char cluster_id; /**< Cluster ID */
86 char zcl_frame_ctrl; /**< ZCL frame control */
87 char src_ep; /**< Source endpoint */
88 char dest_ep; /**< Destination endpoint */
89 } ZigbeeZclglobalControlWriteAttributesStructed_t;
92 * @brief Definition forZclglobal control read attributes structured structure.
96 char *read_records; /**< Read records */
97 int records_len; /**< Records length */
98 short node_id; /**< Node ID */
99 char cluster_id; /**< Cluster ID */
100 char zcl_frame_ctrl; /**< ZCL frame control */
101 char src_ep; /**< Source endpoint */
102 char dest_ep; /**< Destination endpoint */
103 } ZigbeeZclglobalControlReadAttributesStructed_t;
106 * @brief Definition for Zclglobal control configure reporting request structure.
110 char *read_records; /**< Read records */
111 int records_len; /**< Records length */
112 short node_id; /**< Node ID */
113 char cluster_id; /**< Cluster ID */
114 char zcl_frame_ctrl; /**< ZCL frame control */
115 char src_ep; /**< Source endpoint */
116 char dest_ep; /**< Destination endpoint */
117 } ZigbeeZclglobalControlConfigureReportingReq_t;
120 * @brief Definition for Zclglobal control read configure reporting structure.
124 char *read_records; /**< Read records */
125 int records_len; /**< Records length */
126 short node_id; /**< Node ID */
127 char cluster_id; /**< Cluster ID */
128 char zcl_frame_ctrl; /**< ZCL frame control */
129 char src_ep; /**< Source endpoint */
130 char dest_ep; /**< Destination endpoint */
131 } ZigbeeZclglobalControlReadConfigureReporting_t;
134 * @brief Definition for Zclglobal control discover attributes structure.
138 short node_id; /**< Node ID */
139 char dest_ep; /**< Destination endpoint */
140 char zcl_frame_ctrl; /**< ZCL frame control */
141 char cluster_id; /**< Cluster ID */
142 char start_attribute; /**< Start attribute */
143 char max; /**< Maximum */
144 } ZigbeeZclglobalControlDiscoverAttributes_t;
147 * @brief Definition for Zclglobal control discover attributes extended structure.
151 short node_id; /**< Node ID */
152 char dest_ep; /**< Destination endpoint */
153 char zcl_frame_ctrl; /**< ZCL frame control */
154 char cluster_id; /**< Cluster ID */
155 char start_attribute; /**< Start attribute */
156 char max; /**< Maximum */
157 } ZigbeeZclglobalControlDiscoverAttributesExtended_t;
160 * @brief Definition for Zclglobal control discover commands received structure.
164 short node_id; /**< Node ID */
165 char dest_ep; /**< Destination endpoint */
166 char zcl_frame_ctrl; /**< ZCL frame control */
167 char cluster_id; /**< Cluster ID */
168 char start_attribute; /**< Start attribute */
169 char max; /**< Maximum */
170 } ZigbeeZclglobalControlDiscoverCommandsReceived_t;
173 * @brief Definition for Zclglobal control discover commands generated structure.
177 short node_id; /**< Node ID */
178 char dest_ep; /**< Destination endpoint */
179 char zcl_frame_ctrl; /**< ZCL frame control */
180 char cluster_id; /**< Cluster ID */
181 char start_attribute; /**< Start attribute */
182 char max; /**< Maximum */
183 } ZigbeeZclglobalControlDiscoverCommandsGenerated_t;
186 #endif /* __ZIGBEE_ZCLGLOBAL_CONTROL_TYPE_H__ */