dsm-api-v2
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
dsm-api-const.h
Go to the documentation of this file.
1 
2 /*
3  This file is part of the digitalSTROM dsm-api library.
4 
5  Copyright (C) 2010 digitalSTROM.org, Schlieren, Switzerland
6 
7  digitalSTROM dsm-api library is free software: you can redistribute it and/or modify
8  it under the terms of the GNU Lesser General Public License as published by
9  the Free Software Foundation, either version 3 of the License, or
10  (at your option) any later version.
11 
12  digitalSTROM dsm-api library is distributed in the hope that it will be useful,
13  but WITHOUT ANY WARRANTY; without even the implied warranty of
14  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  GNU Lesser General Public License for more details.
16 
17  You should have received a copy of the GNU Lesser General Public License
18  along with digitalSTROM dsm-api library. If not, see <http://www.gnu.org/licenses/>.
19 
20  NOTE: The dsm-api library and it's script bindings are unsupported interfaces and
21  subject to change without further notice.
22 
23  */
24  /*
25  * DO NOT MANUALLY MODIFY!
26  *
27  * THIS FILE IS AUTOGENERATED FROM THE dSM-API XML DEFINITIONS IN
28  * dsm-api.xml.
29  * Make any changes in the XML definition and regenerate this file.
30  */
31 #ifndef DSM_API_CONST_H
32 #define DSM_API_CONST_H
33 
34 #ifdef __cplusplus
35 extern "C" {
36 #endif
37 
39  ZONE_COUNT = 0x00,
40  ZONE_INFO = 0x01,
41  ZONE_MODIFY = 0x02,
51  DEVICE_INFO = 0x20,
52  DEVICE_STATE = 0x21,
61  DEVICE_CONFIG = 0x53,
62  DEVICE_SENSOR = 0x52,
78  DSM_INFO = 0x90,
80  DSM_STATE = 0x92,
81  DSM_CONFIG = 0xf0,
83  DSM_REBOOT = 0xf4,
90  EVENT_DSLINK = 0x7b,
94 };
95 
96 
97 typedef enum {
101 
102 typedef enum {
107 
108 typedef enum {
113 
114 typedef enum {
119 
120 typedef enum {
124 
125 typedef enum {
129 
130 typedef enum {
135 
136 
137 
138 typedef enum {
141 
142 typedef enum {
158 
159 
160 
161 typedef enum {
167 
168 
169 
170 typedef enum {
173 
174 typedef enum {
184 
185 typedef enum {
188 
189 typedef enum {
193 
194 typedef enum {
198 
199 typedef enum {
202 
203 
204 
205 typedef enum {
216 
217 typedef enum {
221 
222 typedef enum {
226 
227 
228 
229 typedef enum {
234 
235 
236 
237 
238 
239 typedef enum {
243 
244 
245 
246 
247 
248 
249 
250 
251 
252 typedef enum {
258 
259 
260 
261 
262 
263 typedef enum {
269 
270 typedef enum {
276 
277 typedef enum {
280 
281 
282 
283 typedef enum {
300 
301 
302 
303 typedef enum {
309 
310 typedef enum {
320 
321 
322 
323 
324 
325 typedef enum {
331 
332 typedef enum {
336 
337 
338 
339 typedef enum {
343 
344 typedef enum {
350 
351 typedef enum {
355 
356 typedef enum {
370 
371 typedef enum {
379 
380 
381 
383  ERROR_OK = 0x00,
396  ERROR_TIMEOUT = 0x0d,
408 };
410  NAME_LEN = 21,
411  DSID_LEN = 12,
412  DATA_LEN_ = 122,
416  DATA_LEN = 64,
417 };
418 
419 #ifdef __cplusplus
420 }
421 #endif
422 
423 #endif /* DSM_API_CONST_H */