wiliot-certificate 4.5.0__py3-none-any.whl → 4.5.0a2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (125) hide show
  1. certificate/ag/wlt_types_ag_jsons/brg2brg_ota.json +211 -0
  2. certificate/ag/wlt_types_ag_jsons/brg2gw_hb.json +894 -0
  3. certificate/ag/wlt_types_ag_jsons/brg2gw_hb_sleep.json +184 -0
  4. certificate/ag/wlt_types_ag_jsons/calibration.json +490 -0
  5. certificate/ag/wlt_types_ag_jsons/custom.json +614 -0
  6. certificate/ag/wlt_types_ag_jsons/datapath.json +900 -0
  7. certificate/ag/wlt_types_ag_jsons/energy2400.json +670 -0
  8. certificate/ag/wlt_types_ag_jsons/energySub1g.json +691 -0
  9. certificate/ag/wlt_types_ag_jsons/externalSensor.json +727 -0
  10. certificate/ag/wlt_types_ag_jsons/interface.json +1095 -0
  11. certificate/ag/wlt_types_ag_jsons/powerManagement.json +1439 -0
  12. certificate/ag/wlt_types_ag_jsons/side_info_sensor.json +105 -0
  13. certificate/ag/wlt_types_ag_jsons/signal_indicator_data.json +77 -0
  14. certificate/ag/wlt_types_ag_jsons/unified_echo_ext_pkt.json +126 -0
  15. certificate/ag/wlt_types_ag_jsons/unified_echo_pkt.json +175 -0
  16. certificate/ag/wlt_types_ag_jsons/unified_sensor_pkt.json +65 -0
  17. certificate/cert_common.py +35 -65
  18. certificate/cert_config.py +18 -43
  19. certificate/cert_data_sim.py +9 -12
  20. certificate/cert_defines.py +0 -8
  21. certificate/cert_gw_sim.py +7 -32
  22. certificate/cert_mqtt.py +5 -15
  23. certificate/cert_prints.py +0 -1
  24. certificate/cert_results.py +37 -48
  25. certificate/cert_utils.py +15 -24
  26. certificate/certificate.py +5 -12
  27. certificate/certificate_cli.py +13 -10
  28. certificate/certificate_eth_test_list.txt +3 -4
  29. certificate/certificate_sanity_test_list.txt +2 -3
  30. certificate/certificate_test_list.txt +4 -4
  31. certificate/tests/calibration/interval_test/interval_test.json +0 -1
  32. certificate/tests/calibration/output_power_test/output_power_test.json +0 -1
  33. certificate/tests/calibration/pattern_test/pattern_test.json +0 -1
  34. certificate/tests/cloud_connectivity/acl_ext_adv_test/acl_ext_adv_test.json +0 -1
  35. certificate/tests/cloud_connectivity/acl_test/acl_test.json +0 -1
  36. certificate/tests/cloud_connectivity/acl_test/acl_test.py +15 -13
  37. certificate/tests/cloud_connectivity/brg_ota_test/brg_ota_test.json +1 -2
  38. certificate/tests/cloud_connectivity/brg_ota_test/brg_ota_test.py +6 -8
  39. certificate/tests/cloud_connectivity/channel_scan_behaviour_test/channel_scan_behaviour_test.json +0 -1
  40. certificate/tests/cloud_connectivity/channel_scan_behaviour_test/channel_scan_behaviour_test.py +3 -3
  41. certificate/tests/cloud_connectivity/connection_test/connection_test.json +0 -1
  42. certificate/tests/cloud_connectivity/connection_test/connection_test.py +13 -6
  43. certificate/tests/cloud_connectivity/deduplication_test/deduplication_test.json +0 -1
  44. certificate/tests/cloud_connectivity/deduplication_test/deduplication_test.py +11 -6
  45. certificate/tests/cloud_connectivity/downlink_test/downlink_test.json +0 -1
  46. certificate/tests/cloud_connectivity/downlink_test/downlink_test.py +4 -1
  47. certificate/tests/cloud_connectivity/ext_adv_stress_test/ext_adv_stress_test.json +0 -1
  48. certificate/tests/cloud_connectivity/ext_adv_stress_test/ext_adv_stress_test.py +9 -14
  49. certificate/tests/cloud_connectivity/reboot_test/reboot_test.json +0 -1
  50. certificate/tests/cloud_connectivity/reboot_test/reboot_test.py +0 -2
  51. certificate/tests/cloud_connectivity/registration_test/registration_test.json +0 -1
  52. certificate/tests/cloud_connectivity/registration_test/registration_test_cli.py +1 -1
  53. certificate/tests/cloud_connectivity/stress_test/stress_test.json +0 -1
  54. certificate/tests/cloud_connectivity/stress_test/stress_test.py +11 -15
  55. certificate/tests/cloud_connectivity/uplink_ext_adv_test/uplink_ext_adv_test.json +0 -1
  56. certificate/tests/cloud_connectivity/uplink_ext_adv_test/uplink_ext_adv_test.py +2 -1
  57. certificate/tests/cloud_connectivity/uplink_test/uplink_test.json +0 -1
  58. certificate/tests/cloud_connectivity/uplink_test/uplink_test.py +20 -27
  59. certificate/tests/datapath/aging_test/aging_test.json +0 -1
  60. certificate/tests/datapath/aging_test/aging_test.py +3 -7
  61. certificate/tests/datapath/event_ble5_test/event_ble5_test.json +2 -3
  62. certificate/tests/datapath/event_ble5_test/event_ble5_test.py +13 -7
  63. certificate/tests/datapath/event_test/event_test.json +2 -3
  64. certificate/tests/datapath/event_test/event_test.py +10 -5
  65. certificate/tests/datapath/num_of_tags_test/num_of_tags_test.json +1 -2
  66. certificate/tests/datapath/num_of_tags_test/num_of_tags_test.py +5 -9
  67. certificate/tests/datapath/output_power_test/output_power_test.json +0 -1
  68. certificate/tests/datapath/pacer_interval_ble5_test/pacer_interval_ble5_test.json +0 -1
  69. certificate/tests/datapath/pacer_interval_ble5_test/pacer_interval_ble5_test.py +4 -4
  70. certificate/tests/datapath/pacer_interval_test/pacer_interval_test.json +0 -1
  71. certificate/tests/datapath/pattern_test/pattern_test.json +0 -1
  72. certificate/tests/datapath/pkt_filter_ble5_chl21_test/pkt_filter_ble5_chl21_test.json +0 -1
  73. certificate/tests/datapath/pkt_filter_ble5_chl21_test/pkt_filter_ble5_chl21_test.py +5 -5
  74. certificate/tests/datapath/pkt_filter_ble5_test/pkt_filter_ble5_test.json +0 -1
  75. certificate/tests/datapath/pkt_filter_ble5_test/pkt_filter_ble5_test.py +5 -5
  76. certificate/tests/datapath/pkt_filter_brg2gw_ext_adv_test/pkt_filter_brg2gw_ext_adv_test.json +0 -1
  77. certificate/tests/datapath/pkt_filter_brg2gw_ext_adv_test/pkt_filter_brg2gw_ext_adv_test.py +8 -10
  78. certificate/tests/datapath/pkt_filter_gen3_test/pkt_filter_gen3_test.json +0 -1
  79. certificate/tests/datapath/pkt_filter_test/pkt_filter_test.json +0 -1
  80. certificate/tests/datapath/rssi_threshold_test/rssi_threshold_test.json +0 -1
  81. certificate/tests/datapath/rx_channel_hopping_test/rx_channel_hopping_test.json +0 -1
  82. certificate/tests/datapath/rx_channel_test/rx_channel_test.json +0 -1
  83. certificate/tests/datapath/rx_rate_gen2_test/rx_rate_gen2_test.json +0 -1
  84. certificate/tests/datapath/rx_rate_gen2_test/rx_rate_gen2_test.py +1 -1
  85. certificate/tests/datapath/rx_rate_gen3_test/rx_rate_gen3_test.json +0 -1
  86. certificate/tests/datapath/stress_gen3_test/stress_gen3_test.json +0 -1
  87. certificate/tests/datapath/stress_gen3_test/stress_gen3_test.py +0 -3
  88. certificate/tests/datapath/stress_test/stress_test.json +0 -1
  89. certificate/tests/datapath/stress_test/stress_test.py +0 -3
  90. certificate/tests/datapath/tx_repetition_test/tx_repetition_test.json +0 -1
  91. certificate/tests/edge_mgmt/action_blink_test/action_blink_test.json +0 -1
  92. certificate/tests/edge_mgmt/action_get_battery_sensor_test/action_get_battery_sensor_test.json +0 -1
  93. certificate/tests/edge_mgmt/action_get_module_test/action_get_module_test.json +0 -1
  94. certificate/tests/edge_mgmt/action_get_pof_data_test/action_get_pof_data_test.json +0 -1
  95. certificate/tests/edge_mgmt/action_gw_hb_test/action_gw_hb_test.json +0 -1
  96. certificate/tests/edge_mgmt/action_reboot_test/action_reboot_test.json +0 -1
  97. certificate/tests/edge_mgmt/action_restore_defaults_test/action_restore_defaults_test.json +0 -1
  98. certificate/tests/edge_mgmt/action_send_hb_test/action_send_hb_test.json +0 -1
  99. certificate/tests/edge_mgmt/action_send_hb_test/action_send_hb_test.py +14 -18
  100. certificate/tests/edge_mgmt/periodic_msgs_test/periodic_msgs_test.json +0 -1
  101. certificate/tests/energy2400/duty_cycle_test/duty_cycle_test.json +0 -1
  102. certificate/tests/energy2400/output_power_test/output_power_test.json +0 -1
  103. certificate/tests/energy2400/pattern_test/pattern_test.json +0 -1
  104. certificate/tests/energy2400/signal_indicator_ble5_test/signal_indicator_ble5_test.json +0 -1
  105. certificate/tests/energy2400/signal_indicator_ble5_test/signal_indicator_ble5_test.py +3 -4
  106. certificate/tests/energy2400/signal_indicator_ext_adv_test/signal_indicator_ext_adv_test.json +9 -9
  107. certificate/tests/energy2400/signal_indicator_ext_adv_test/signal_indicator_ext_adv_test.py +271 -113
  108. certificate/tests/energy2400/signal_indicator_test/signal_indicator_test.json +0 -1
  109. certificate/tests/energy2400/signal_indicator_test/signal_indicator_test.py +1 -1
  110. certificate/tests/energy_sub1g/duty_cycle_test/duty_cycle_test.json +0 -1
  111. certificate/tests/energy_sub1g/pattern_test/pattern_test.json +0 -1
  112. certificate/tests/pwr_mgmt/pwr_mgmt_test/pwr_mgmt_test.json +0 -1
  113. certificate/tests/sensors/ext_sensor_test/ext_sensor_test.json +0 -1
  114. certificate/tests/sensors/ext_sensor_test/ext_sensor_test.py +9 -4
  115. common/api_if/api_validation.py +0 -6
  116. common/web/templates/generator.html +79 -141
  117. common/web/web_utils.py +56 -78
  118. gui_certificate/server.py +78 -283
  119. gui_certificate/templates/cert_run.html +113 -179
  120. {wiliot_certificate-4.5.0.dist-info → wiliot_certificate-4.5.0a2.dist-info}/METADATA +22 -7
  121. {wiliot_certificate-4.5.0.dist-info → wiliot_certificate-4.5.0a2.dist-info}/RECORD +125 -109
  122. {wiliot_certificate-4.5.0.dist-info → wiliot_certificate-4.5.0a2.dist-info}/WHEEL +0 -0
  123. {wiliot_certificate-4.5.0.dist-info → wiliot_certificate-4.5.0a2.dist-info}/entry_points.txt +0 -0
  124. {wiliot_certificate-4.5.0.dist-info → wiliot_certificate-4.5.0a2.dist-info}/licenses/LICENSE +0 -0
  125. {wiliot_certificate-4.5.0.dist-info → wiliot_certificate-4.5.0a2.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,614 @@
1
+ {
2
+ "versions": [
3
+ {
4
+ "version": "13",
5
+ "packetFields": [
6
+ {
7
+ "name": "moduleType",
8
+ "byteOffset": 5,
9
+ "byteLength": 1,
10
+ "bitOffset": 4,
11
+ "bitLength": 4,
12
+ "outType": "uint"
13
+ },
14
+ {
15
+ "name": "msgType",
16
+ "byteOffset": 5,
17
+ "byteLength": 1,
18
+ "bitOffset": 0,
19
+ "bitLength": 4,
20
+ "outType": "uint"
21
+ },
22
+ {
23
+ "name": "apiVersion",
24
+ "byteOffset": 6,
25
+ "byteLength": 1,
26
+ "bitOffset": 0,
27
+ "bitLength": 8,
28
+ "outType": "uint"
29
+ },
30
+ {
31
+ "name": "seqId",
32
+ "byteOffset": 7,
33
+ "byteLength": 1,
34
+ "bitOffset": 0,
35
+ "bitLength": 8,
36
+ "outType": "uint"
37
+ },
38
+ {
39
+ "name": "brgMac",
40
+ "byteOffset": 8,
41
+ "byteLength": 6,
42
+ "bitOffset": 0,
43
+ "bitLength": 48,
44
+ "outType": "string"
45
+ },
46
+ {
47
+ "name": "stateThreshold",
48
+ "byteOffset": 14,
49
+ "byteLength": 1,
50
+ "bitOffset": 0,
51
+ "bitLength": 8,
52
+ "outType": "uint",
53
+ "calculations": [
54
+ {
55
+ "operator": "*",
56
+ "operand": 31
57
+ },
58
+ {
59
+ "operator": "+",
60
+ "operand": 0
61
+ }
62
+ ]
63
+ },
64
+ {
65
+ "name": "wakeUpDuration",
66
+ "byteOffset": 15,
67
+ "byteLength": 1,
68
+ "bitOffset": 0,
69
+ "bitLength": 8,
70
+ "outType": "uint",
71
+ "calculations": [
72
+ {
73
+ "operator": "*",
74
+ "operand": 3
75
+ },
76
+ {
77
+ "operator": "+",
78
+ "operand": 0
79
+ }
80
+ ]
81
+ },
82
+ {
83
+ "name": "sleepDuration",
84
+ "byteOffset": 16,
85
+ "byteLength": 1,
86
+ "bitOffset": 0,
87
+ "bitLength": 8,
88
+ "outType": "uint",
89
+ "calculations": [
90
+ {
91
+ "operator": "*",
92
+ "operand": 5
93
+ },
94
+ {
95
+ "operator": "+",
96
+ "operand": 0
97
+ }
98
+ ]
99
+ }
100
+ ]
101
+ },
102
+ {
103
+ "version": "12",
104
+ "packetFields": [
105
+ {
106
+ "name": "moduleType",
107
+ "byteOffset": 5,
108
+ "byteLength": 1,
109
+ "bitOffset": 4,
110
+ "bitLength": 4,
111
+ "outType": "uint"
112
+ },
113
+ {
114
+ "name": "msgType",
115
+ "byteOffset": 5,
116
+ "byteLength": 1,
117
+ "bitOffset": 0,
118
+ "bitLength": 4,
119
+ "outType": "uint"
120
+ },
121
+ {
122
+ "name": "apiVersion",
123
+ "byteOffset": 6,
124
+ "byteLength": 1,
125
+ "bitOffset": 0,
126
+ "bitLength": 8,
127
+ "outType": "uint"
128
+ },
129
+ {
130
+ "name": "seqId",
131
+ "byteOffset": 7,
132
+ "byteLength": 1,
133
+ "bitOffset": 0,
134
+ "bitLength": 8,
135
+ "outType": "uint"
136
+ },
137
+ {
138
+ "name": "brgMac",
139
+ "byteOffset": 8,
140
+ "byteLength": 6,
141
+ "bitOffset": 0,
142
+ "bitLength": 48,
143
+ "outType": "string"
144
+ },
145
+ {
146
+ "name": "stateThreshold",
147
+ "byteOffset": 14,
148
+ "byteLength": 1,
149
+ "bitOffset": 0,
150
+ "bitLength": 8,
151
+ "outType": "uint",
152
+ "calculations": [
153
+ {
154
+ "operator": "*",
155
+ "operand": 31
156
+ },
157
+ {
158
+ "operator": "+",
159
+ "operand": 0
160
+ }
161
+ ]
162
+ },
163
+ {
164
+ "name": "wakeUpDuration",
165
+ "byteOffset": 15,
166
+ "byteLength": 1,
167
+ "bitOffset": 0,
168
+ "bitLength": 8,
169
+ "outType": "uint",
170
+ "calculations": [
171
+ {
172
+ "operator": "*",
173
+ "operand": 3
174
+ },
175
+ {
176
+ "operator": "+",
177
+ "operand": 0
178
+ }
179
+ ]
180
+ },
181
+ {
182
+ "name": "sleepDuration",
183
+ "byteOffset": 16,
184
+ "byteLength": 1,
185
+ "bitOffset": 0,
186
+ "bitLength": 8,
187
+ "outType": "uint",
188
+ "calculations": [
189
+ {
190
+ "operator": "*",
191
+ "operand": 5
192
+ },
193
+ {
194
+ "operator": "+",
195
+ "operand": 0
196
+ }
197
+ ]
198
+ }
199
+ ]
200
+ },
201
+ {
202
+ "version": "11",
203
+ "packetFields": [
204
+ {
205
+ "name": "moduleType",
206
+ "byteOffset": 5,
207
+ "byteLength": 1,
208
+ "bitOffset": 4,
209
+ "bitLength": 4,
210
+ "outType": "uint"
211
+ },
212
+ {
213
+ "name": "msgType",
214
+ "byteOffset": 5,
215
+ "byteLength": 1,
216
+ "bitOffset": 0,
217
+ "bitLength": 4,
218
+ "outType": "uint"
219
+ },
220
+ {
221
+ "name": "apiVersion",
222
+ "byteOffset": 6,
223
+ "byteLength": 1,
224
+ "bitOffset": 0,
225
+ "bitLength": 8,
226
+ "outType": "uint"
227
+ },
228
+ {
229
+ "name": "seqId",
230
+ "byteOffset": 7,
231
+ "byteLength": 1,
232
+ "bitOffset": 0,
233
+ "bitLength": 8,
234
+ "outType": "uint"
235
+ },
236
+ {
237
+ "name": "brgMac",
238
+ "byteOffset": 8,
239
+ "byteLength": 6,
240
+ "bitOffset": 0,
241
+ "bitLength": 48,
242
+ "outType": "string"
243
+ },
244
+ {
245
+ "name": "stateThreshold",
246
+ "byteOffset": 14,
247
+ "byteLength": 1,
248
+ "bitOffset": 0,
249
+ "bitLength": 8,
250
+ "outType": "uint",
251
+ "calculations": [
252
+ {
253
+ "operator": "*",
254
+ "operand": 31
255
+ },
256
+ {
257
+ "operator": "+",
258
+ "operand": 0
259
+ }
260
+ ]
261
+ },
262
+ {
263
+ "name": "wakeUpDuration",
264
+ "byteOffset": 15,
265
+ "byteLength": 1,
266
+ "bitOffset": 0,
267
+ "bitLength": 8,
268
+ "outType": "uint",
269
+ "calculations": [
270
+ {
271
+ "operator": "*",
272
+ "operand": 3
273
+ },
274
+ {
275
+ "operator": "+",
276
+ "operand": 0
277
+ }
278
+ ]
279
+ },
280
+ {
281
+ "name": "sleepDuration",
282
+ "byteOffset": 16,
283
+ "byteLength": 1,
284
+ "bitOffset": 0,
285
+ "bitLength": 8,
286
+ "outType": "uint",
287
+ "calculations": [
288
+ {
289
+ "operator": "*",
290
+ "operand": 5
291
+ },
292
+ {
293
+ "operator": "+",
294
+ "operand": 0
295
+ }
296
+ ]
297
+ }
298
+ ]
299
+ },
300
+ {
301
+ "version": "10",
302
+ "packetFields": [
303
+ {
304
+ "name": "moduleType",
305
+ "byteOffset": 5,
306
+ "byteLength": 1,
307
+ "bitOffset": 4,
308
+ "bitLength": 4,
309
+ "outType": "uint"
310
+ },
311
+ {
312
+ "name": "msgType",
313
+ "byteOffset": 5,
314
+ "byteLength": 1,
315
+ "bitOffset": 0,
316
+ "bitLength": 4,
317
+ "outType": "uint"
318
+ },
319
+ {
320
+ "name": "apiVersion",
321
+ "byteOffset": 6,
322
+ "byteLength": 1,
323
+ "bitOffset": 0,
324
+ "bitLength": 8,
325
+ "outType": "uint"
326
+ },
327
+ {
328
+ "name": "seqId",
329
+ "byteOffset": 7,
330
+ "byteLength": 1,
331
+ "bitOffset": 0,
332
+ "bitLength": 8,
333
+ "outType": "uint"
334
+ },
335
+ {
336
+ "name": "brgMac",
337
+ "byteOffset": 8,
338
+ "byteLength": 6,
339
+ "bitOffset": 0,
340
+ "bitLength": 48,
341
+ "outType": "string"
342
+ },
343
+ {
344
+ "name": "stateThreshold",
345
+ "byteOffset": 14,
346
+ "byteLength": 1,
347
+ "bitOffset": 0,
348
+ "bitLength": 8,
349
+ "outType": "uint",
350
+ "calculations": [
351
+ {
352
+ "operator": "*",
353
+ "operand": 31
354
+ },
355
+ {
356
+ "operator": "+",
357
+ "operand": 0
358
+ }
359
+ ]
360
+ },
361
+ {
362
+ "name": "wakeUpDuration",
363
+ "byteOffset": 15,
364
+ "byteLength": 1,
365
+ "bitOffset": 0,
366
+ "bitLength": 8,
367
+ "outType": "uint",
368
+ "calculations": [
369
+ {
370
+ "operator": "*",
371
+ "operand": 3
372
+ },
373
+ {
374
+ "operator": "+",
375
+ "operand": 0
376
+ }
377
+ ]
378
+ },
379
+ {
380
+ "name": "sleepDuration",
381
+ "byteOffset": 16,
382
+ "byteLength": 1,
383
+ "bitOffset": 0,
384
+ "bitLength": 8,
385
+ "outType": "uint",
386
+ "calculations": [
387
+ {
388
+ "operator": "*",
389
+ "operand": 5
390
+ },
391
+ {
392
+ "operator": "+",
393
+ "operand": 0
394
+ }
395
+ ]
396
+ }
397
+ ]
398
+ },
399
+ {
400
+ "version": "9",
401
+ "packetFields": [
402
+ {
403
+ "name": "moduleType",
404
+ "byteOffset": 5,
405
+ "byteLength": 1,
406
+ "bitOffset": 4,
407
+ "bitLength": 4,
408
+ "outType": "uint"
409
+ },
410
+ {
411
+ "name": "msgType",
412
+ "byteOffset": 5,
413
+ "byteLength": 1,
414
+ "bitOffset": 0,
415
+ "bitLength": 4,
416
+ "outType": "uint"
417
+ },
418
+ {
419
+ "name": "apiVersion",
420
+ "byteOffset": 6,
421
+ "byteLength": 1,
422
+ "bitOffset": 0,
423
+ "bitLength": 8,
424
+ "outType": "uint"
425
+ },
426
+ {
427
+ "name": "seqId",
428
+ "byteOffset": 7,
429
+ "byteLength": 1,
430
+ "bitOffset": 0,
431
+ "bitLength": 8,
432
+ "outType": "uint"
433
+ },
434
+ {
435
+ "name": "brgMac",
436
+ "byteOffset": 8,
437
+ "byteLength": 6,
438
+ "bitOffset": 0,
439
+ "bitLength": 48,
440
+ "outType": "string"
441
+ },
442
+ {
443
+ "name": "version",
444
+ "byteOffset": 15,
445
+ "byteLength": 1,
446
+ "bitOffset": 0,
447
+ "bitLength": 8,
448
+ "outType": "uint"
449
+ },
450
+ {
451
+ "name": "stateThreshold",
452
+ "byteOffset": 16,
453
+ "byteLength": 1,
454
+ "bitOffset": 0,
455
+ "bitLength": 8,
456
+ "outType": "uint",
457
+ "calculations": [
458
+ {
459
+ "operator": "*",
460
+ "operand": 31
461
+ },
462
+ {
463
+ "operator": "+",
464
+ "operand": 0
465
+ }
466
+ ]
467
+ },
468
+ {
469
+ "name": "wakeUpDuration",
470
+ "byteOffset": 17,
471
+ "byteLength": 1,
472
+ "bitOffset": 0,
473
+ "bitLength": 8,
474
+ "outType": "uint",
475
+ "calculations": [
476
+ {
477
+ "operator": "*",
478
+ "operand": 3
479
+ },
480
+ {
481
+ "operator": "+",
482
+ "operand": 0
483
+ }
484
+ ]
485
+ },
486
+ {
487
+ "name": "sleepDuration",
488
+ "byteOffset": 18,
489
+ "byteLength": 1,
490
+ "bitOffset": 0,
491
+ "bitLength": 8,
492
+ "outType": "uint",
493
+ "calculations": [
494
+ {
495
+ "operator": "*",
496
+ "operand": 5
497
+ },
498
+ {
499
+ "operator": "+",
500
+ "operand": 0
501
+ }
502
+ ]
503
+ }
504
+ ]
505
+ },
506
+ {
507
+ "version": "8",
508
+ "packetFields": [
509
+ {
510
+ "name": "moduleType",
511
+ "byteOffset": 5,
512
+ "byteLength": 1,
513
+ "bitOffset": 4,
514
+ "bitLength": 4,
515
+ "outType": "uint"
516
+ },
517
+ {
518
+ "name": "msgType",
519
+ "byteOffset": 5,
520
+ "byteLength": 1,
521
+ "bitOffset": 0,
522
+ "bitLength": 4,
523
+ "outType": "uint"
524
+ },
525
+ {
526
+ "name": "apiVersion",
527
+ "byteOffset": 6,
528
+ "byteLength": 1,
529
+ "bitOffset": 0,
530
+ "bitLength": 8,
531
+ "outType": "uint"
532
+ },
533
+ {
534
+ "name": "seqId",
535
+ "byteOffset": 7,
536
+ "byteLength": 1,
537
+ "bitOffset": 0,
538
+ "bitLength": 8,
539
+ "outType": "uint"
540
+ },
541
+ {
542
+ "name": "brgMac",
543
+ "byteOffset": 8,
544
+ "byteLength": 6,
545
+ "bitOffset": 0,
546
+ "bitLength": 48,
547
+ "outType": "string"
548
+ },
549
+ {
550
+ "name": "version",
551
+ "byteOffset": 15,
552
+ "byteLength": 1,
553
+ "bitOffset": 0,
554
+ "bitLength": 8,
555
+ "outType": "uint"
556
+ },
557
+ {
558
+ "name": "stateThreshold",
559
+ "byteOffset": 16,
560
+ "byteLength": 1,
561
+ "bitOffset": 0,
562
+ "bitLength": 8,
563
+ "outType": "uint",
564
+ "calculations": [
565
+ {
566
+ "operator": "*",
567
+ "operand": 31
568
+ },
569
+ {
570
+ "operator": "+",
571
+ "operand": 0
572
+ }
573
+ ]
574
+ },
575
+ {
576
+ "name": "wakeUpDuration",
577
+ "byteOffset": 17,
578
+ "byteLength": 1,
579
+ "bitOffset": 0,
580
+ "bitLength": 8,
581
+ "outType": "uint",
582
+ "calculations": [
583
+ {
584
+ "operator": "*",
585
+ "operand": 3
586
+ },
587
+ {
588
+ "operator": "+",
589
+ "operand": 0
590
+ }
591
+ ]
592
+ },
593
+ {
594
+ "name": "sleepDuration",
595
+ "byteOffset": 18,
596
+ "byteLength": 1,
597
+ "bitOffset": 0,
598
+ "bitLength": 8,
599
+ "outType": "uint",
600
+ "calculations": [
601
+ {
602
+ "operator": "*",
603
+ "operand": 5
604
+ },
605
+ {
606
+ "operator": "+",
607
+ "operand": 0
608
+ }
609
+ ]
610
+ }
611
+ ]
612
+ }
613
+ ]
614
+ }