-
Notifications
You must be signed in to change notification settings - Fork 4
/
kdevice_KNX_EnOcean_Gateway.h
392 lines (389 loc) · 14.4 KB
/
kdevice_KNX_EnOcean_Gateway.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
#define MANUFACTURER_ID 57005
#define DEVICE_ID 7
#define REVISION 2
#define COMOBJ_null 0
#define COMOBJ_null 1
#define COMOBJ_null 2
#define COMOBJ_null 3
#define COMOBJ_null 4
#define COMOBJ_null 5
#define COMOBJ_null 6
#define COMOBJ_null 7
#define COMOBJ_null 8
#define COMOBJ_null 9
#define COMOBJ_null 10
#define COMOBJ_null 11
#define COMOBJ_null 12
#define COMOBJ_null 13
#define COMOBJ_null 14
#define COMOBJ_null 15
#define COMOBJ_null 16
#define COMOBJ_null 17
#define COMOBJ_null 18
#define COMOBJ_null 19
#define COMOBJ_null 20
#define COMOBJ_null 21
#define COMOBJ_null 22
#define COMOBJ_null 23
#define COMOBJ_null 24
#define COMOBJ_null 25
#define COMOBJ_null 26
#define COMOBJ_null 27
#define COMOBJ_null 28
#define COMOBJ_null 29
#define COMOBJ_null 30
#define COMOBJ_null 31
#define COMOBJ_null 32
#define COMOBJ_null 33
#define COMOBJ_null 34
#define COMOBJ_null 35
#define COMOBJ_null 36
#define COMOBJ_null 37
#define COMOBJ_null 38
#define COMOBJ_null 39
#define COMOBJ_null 40
#define COMOBJ_null 41
#define COMOBJ_null 42
#define COMOBJ_null 43
#define COMOBJ_null 44
#define COMOBJ_null 45
#define COMOBJ_null 46
#define COMOBJ_null 47
#define COMOBJ_null 48
#define COMOBJ_null 49
#define COMOBJ_null 50
#define COMOBJ_null 51
#define COMOBJ_null 52
#define COMOBJ_null 53
#define COMOBJ_null 54
#define COMOBJ_null 55
#define COMOBJ_null 56
#define COMOBJ_null 57
#define COMOBJ_null 58
#define COMOBJ_null 59
#define COMOBJ_null 60
#define COMOBJ_null 61
#define COMOBJ_null 62
#define COMOBJ_null 63
#define COMOBJ_null 64
#define COMOBJ_null 65
#define COMOBJ_null 66
#define COMOBJ_null 67
#define COMOBJ_null 68
#define COMOBJ_null 69
#define COMOBJ_null 70
#define COMOBJ_null 71
#define COMOBJ_null 72
#define COMOBJ_null 73
#define COMOBJ_null 74
#define COMOBJ_null 75
#define COMOBJ_null 76
#define COMOBJ_null 77
#define COMOBJ_null 78
#define COMOBJ_null 79
#define COMOBJ_null 80
#define COMOBJ_null 81
#define COMOBJ_null 82
#define COMOBJ_null 83
#define COMOBJ_null 84
#define COMOBJ_null 85
#define COMOBJ_null 86
#define COMOBJ_null 87
#define COMOBJ_null 88
#define COMOBJ_null 89
#define COMOBJ_null 90
#define COMOBJ_null 91
#define COMOBJ_null 92
#define COMOBJ_null 93
#define COMOBJ_null 94
#define COMOBJ_null 95
#define COMOBJ_null 96
#define COMOBJ_null 97
#define COMOBJ_null 98
#define COMOBJ_null 99
#define COMOBJ_null 100
#define COMOBJ_null 101
#define COMOBJ_null 102
#define COMOBJ_null 103
#define COMOBJ_null 104
#define COMOBJ_null 105
#define COMOBJ_null 106
#define COMOBJ_null 107
#define COMOBJ_null 108
#define COMOBJ_null 109
#define COMOBJ_null 110
#define COMOBJ_null 111
#define COMOBJ_null 112
#define COMOBJ_null 113
#define COMOBJ_null 114
#define COMOBJ_null 115
#define COMOBJ_null 116
#define COMOBJ_null 117
#define COMOBJ_null 118
#define COMOBJ_null 119
#define PARAM_null 0
#define PARAM_null 1
#define PARAM_null 2
#define PARAM_null 3
#define PARAM_null 4
#define PARAM_null 5
#define PARAM_null 6
#define PARAM_null 7
#define PARAM_null 8
#define PARAM_null 9
#define PARAM_null 10
#define PARAM_null 11
#define PARAM_null 12
#define PARAM_null 13
#define PARAM_null 14
#define PARAM_null 15
#define PARAM_null 16
#define PARAM_null 17
#define PARAM_null 18
#define PARAM_null 19
#define PARAM_null 20
#define PARAM_null 21
#define PARAM_null 22
#define PARAM_null 23
#define PARAM_null 24
#define PARAM_null 25
#define PARAM_null 26
#define PARAM_null 27
#define PARAM_null 28
#define PARAM_null 29
#define PARAM_null 30
#define PARAM_null 31
#define PARAM_null 32
#define PARAM_null 33
#define PARAM_null 34
#define PARAM_null 35
#define PARAM_null 36
#define PARAM_null 37
#define PARAM_null 38
#define PARAM_null 39
#define PARAM_null 40
#define PARAM_null 41
#define PARAM_null 42
#define PARAM_null 43
#define PARAM_null 44
#define PARAM_null 45
#define PARAM_null 46
#define PARAM_null 47
#define PARAM_null 48
#define PARAM_null 49
#define PARAM_null 50
#define PARAM_null 51
#define PARAM_null 52
#define PARAM_null 53
#define PARAM_null 54
#define PARAM_null 55
#define PARAM_null 56
#define PARAM_null 57
#define PARAM_null 58
#define PARAM_null 59
#define PARAM_null 60
#define PARAM_null 61
#define PARAM_null 62
#define PARAM_null 63
#define PARAM_null 64
#define PARAM_null 65
#define PARAM_null 66
#define PARAM_null 67
#define PARAM_null 68
#define PARAM_null 69
KnxComObject KnxDevice::_comObjectsList[] = {
/* Index 0 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 1 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 2 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 3 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 4 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 5 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 6 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 7 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 8 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 9 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 10 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 11 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 12 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 13 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 14 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 15 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 16 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 17 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 18 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 19 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 20 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 21 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 22 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 23 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 24 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 25 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 26 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 27 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 28 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 29 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 30 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 31 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 32 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 33 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 34 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 35 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 36 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 37 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 38 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 39 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 40 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 41 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 42 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 43 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 44 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 45 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 46 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 47 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 48 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 49 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 50 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 51 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 52 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 53 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 54 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 55 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 56 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 57 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 58 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 59 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 60 - null */ KnxComObject(KNX_DPT_1_001, 0x2a),
/* Index 61 - null */ KnxComObject(KNX_DPT_1_001, 0x2a),
/* Index 62 - null */ KnxComObject(KNX_DPT_1_001, 0x2a),
/* Index 63 - null */ KnxComObject(KNX_DPT_1_001, 0x2a),
/* Index 64 - null */ KnxComObject(KNX_DPT_1_001, 0x2a),
/* Index 65 - null */ KnxComObject(KNX_DPT_1_001, 0x2a),
/* Index 66 - null */ KnxComObject(KNX_DPT_1_001, 0x2a),
/* Index 67 - null */ KnxComObject(KNX_DPT_1_001, 0x2a),
/* Index 68 - null */ KnxComObject(KNX_DPT_1_001, 0x2a),
/* Index 69 - null */ KnxComObject(KNX_DPT_1_001, 0x2a),
/* Index 70 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 71 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 72 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 73 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 74 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 75 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 76 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 77 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 78 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 79 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 80 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 81 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 82 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 83 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 84 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 85 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 86 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 87 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 88 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 89 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 90 - null */ KnxComObject(KNX_DPT_1_009, 0x34),
/* Index 91 - null */ KnxComObject(KNX_DPT_1_009, 0x34),
/* Index 92 - null */ KnxComObject(KNX_DPT_1_009, 0x34),
/* Index 93 - null */ KnxComObject(KNX_DPT_1_009, 0x34),
/* Index 94 - null */ KnxComObject(KNX_DPT_1_009, 0x34),
/* Index 95 - null */ KnxComObject(KNX_DPT_1_009, 0x34),
/* Index 96 - null */ KnxComObject(KNX_DPT_1_009, 0x34),
/* Index 97 - null */ KnxComObject(KNX_DPT_1_009, 0x34),
/* Index 98 - null */ KnxComObject(KNX_DPT_1_009, 0x34),
/* Index 99 - null */ KnxComObject(KNX_DPT_1_009, 0x34),
/* Index 100 - null */ KnxComObject(KNX_DPT_9_001, 0x34),
/* Index 101 - null */ KnxComObject(KNX_DPT_9_007, 0x34),
/* Index 102 - null */ KnxComObject(KNX_DPT_9_008, 0x34),
/* Index 103 - null */ KnxComObject(KNX_DPT_9_020, 0x34),
/* Index 104 - null */ KnxComObject(KNX_DPT_9_001, 0x34),
/* Index 105 - null */ KnxComObject(KNX_DPT_9_007, 0x34),
/* Index 106 - null */ KnxComObject(KNX_DPT_9_008, 0x34),
/* Index 107 - null */ KnxComObject(KNX_DPT_9_020, 0x34),
/* Index 108 - null */ KnxComObject(KNX_DPT_9_001, 0x34),
/* Index 109 - null */ KnxComObject(KNX_DPT_9_007, 0x34),
/* Index 110 - null */ KnxComObject(KNX_DPT_9_008, 0x34),
/* Index 111 - null */ KnxComObject(KNX_DPT_9_020, 0x34),
/* Index 112 - null */ KnxComObject(KNX_DPT_9_001, 0x34),
/* Index 113 - null */ KnxComObject(KNX_DPT_9_007, 0x34),
/* Index 114 - null */ KnxComObject(KNX_DPT_9_008, 0x34),
/* Index 115 - null */ KnxComObject(KNX_DPT_9_020, 0x34),
/* Index 116 - null */ KnxComObject(KNX_DPT_9_001, 0x34),
/* Index 117 - null */ KnxComObject(KNX_DPT_9_007, 0x34),
/* Index 118 - null */ KnxComObject(KNX_DPT_9_008, 0x34),
/* Index 119 - null */ KnxComObject(KNX_DPT_9_020, 0x34)
};
const byte KnxDevice::_numberOfComObjects = sizeof (_comObjectsList) / sizeof (KnxComObject); // do not change this code
byte KonnektingDevice::_paramSizeList[] = {
/* Index 0 - null */ PARAM_RAW4,
/* Index 1 - null */ PARAM_RAW4,
/* Index 2 - null */ PARAM_RAW4,
/* Index 3 - null */ PARAM_RAW4,
/* Index 4 - null */ PARAM_RAW4,
/* Index 5 - null */ PARAM_RAW4,
/* Index 6 - null */ PARAM_RAW4,
/* Index 7 - null */ PARAM_RAW4,
/* Index 8 - null */ PARAM_RAW4,
/* Index 9 - null */ PARAM_RAW4,
/* Index 10 - null */ PARAM_RAW4,
/* Index 11 - null */ PARAM_RAW4,
/* Index 12 - null */ PARAM_RAW4,
/* Index 13 - null */ PARAM_RAW4,
/* Index 14 - null */ PARAM_RAW4,
/* Index 15 - null */ PARAM_RAW4,
/* Index 16 - null */ PARAM_RAW4,
/* Index 17 - null */ PARAM_RAW4,
/* Index 18 - null */ PARAM_RAW4,
/* Index 19 - null */ PARAM_RAW4,
/* Index 20 - null */ PARAM_RAW4,
/* Index 21 - null */ PARAM_UINT8,
/* Index 22 - null */ PARAM_RAW4,
/* Index 23 - null */ PARAM_UINT8,
/* Index 24 - null */ PARAM_RAW4,
/* Index 25 - null */ PARAM_UINT8,
/* Index 26 - null */ PARAM_RAW4,
/* Index 27 - null */ PARAM_UINT8,
/* Index 28 - null */ PARAM_RAW4,
/* Index 29 - null */ PARAM_UINT8,
/* Index 30 - null */ PARAM_RAW4,
/* Index 31 - null */ PARAM_UINT8,
/* Index 32 - null */ PARAM_RAW4,
/* Index 33 - null */ PARAM_UINT8,
/* Index 34 - null */ PARAM_RAW4,
/* Index 35 - null */ PARAM_UINT8,
/* Index 36 - null */ PARAM_RAW4,
/* Index 37 - null */ PARAM_UINT8,
/* Index 38 - null */ PARAM_RAW4,
/* Index 39 - null */ PARAM_UINT8,
/* Index 40 - null */ PARAM_RAW4,
/* Index 41 - null */ PARAM_UINT8,
/* Index 42 - null */ PARAM_RAW4,
/* Index 43 - null */ PARAM_UINT8,
/* Index 44 - null */ PARAM_RAW4,
/* Index 45 - null */ PARAM_UINT8,
/* Index 46 - null */ PARAM_RAW4,
/* Index 47 - null */ PARAM_UINT8,
/* Index 48 - null */ PARAM_RAW4,
/* Index 49 - null */ PARAM_UINT8,
/* Index 50 - null */ PARAM_RAW4,
/* Index 51 - null */ PARAM_UINT8,
/* Index 52 - null */ PARAM_RAW4,
/* Index 53 - null */ PARAM_UINT8,
/* Index 54 - null */ PARAM_RAW4,
/* Index 55 - null */ PARAM_UINT8,
/* Index 56 - null */ PARAM_RAW4,
/* Index 57 - null */ PARAM_UINT8,
/* Index 58 - null */ PARAM_RAW4,
/* Index 59 - null */ PARAM_UINT8,
/* Index 60 - null */ PARAM_RAW4,
/* Index 61 - null */ PARAM_UINT8,
/* Index 62 - null */ PARAM_RAW4,
/* Index 63 - null */ PARAM_UINT8,
/* Index 64 - null */ PARAM_RAW4,
/* Index 65 - null */ PARAM_UINT8,
/* Index 66 - null */ PARAM_RAW4,
/* Index 67 - null */ PARAM_UINT8,
/* Index 68 - null */ PARAM_RAW4,
/* Index 69 - null */ PARAM_UINT8
};
const int KonnektingDevice::_numberOfParams = sizeof (_paramSizeList); // do not change this code