wiliot-certificate 4.5.0a2__py3-none-any.whl → 4.5.0a4__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 (65) hide show
  1. certificate/cert_common.py +35 -18
  2. certificate/cert_config.py +6 -6
  3. certificate/cert_data_sim.py +12 -9
  4. certificate/cert_defines.py +6 -0
  5. certificate/cert_gw_sim.py +3 -3
  6. certificate/cert_mqtt.py +5 -4
  7. certificate/cert_results.py +42 -32
  8. certificate/cert_utils.py +9 -10
  9. certificate/certificate.py +7 -5
  10. certificate/certificate_cli.py +9 -12
  11. certificate/certificate_eth_test_list.txt +3 -2
  12. certificate/certificate_sanity_test_list.txt +3 -2
  13. certificate/certificate_test_list.txt +3 -3
  14. certificate/tests/cloud_connectivity/acl_test/acl_test.py +13 -15
  15. certificate/tests/cloud_connectivity/brg_ota_test/brg_ota_test.json +1 -1
  16. certificate/tests/cloud_connectivity/channel_scan_behaviour_test/channel_scan_behaviour_test.py +2 -2
  17. certificate/tests/cloud_connectivity/connection_test/connection_test.py +4 -13
  18. certificate/tests/cloud_connectivity/deduplication_test/deduplication_test.py +1 -2
  19. certificate/tests/cloud_connectivity/downlink_test/downlink_test.py +1 -4
  20. certificate/tests/cloud_connectivity/ext_adv_stress_test/ext_adv_stress_test.py +12 -6
  21. certificate/tests/cloud_connectivity/registration_test/registration_test_cli.py +1 -1
  22. certificate/tests/cloud_connectivity/stress_test/stress_test.py +12 -7
  23. certificate/tests/cloud_connectivity/uplink_ext_adv_test/uplink_ext_adv_test.py +1 -2
  24. certificate/tests/cloud_connectivity/uplink_test/uplink_test.py +26 -20
  25. certificate/tests/datapath/event_ble5_test/event_ble5_test.json +1 -1
  26. certificate/tests/datapath/event_ble5_test/event_ble5_test.py +7 -13
  27. certificate/tests/datapath/event_test/event_test.json +1 -1
  28. certificate/tests/datapath/event_test/event_test.py +5 -10
  29. certificate/tests/datapath/pacer_interval_ble5_test/pacer_interval_ble5_test.py +4 -4
  30. certificate/tests/datapath/pkt_filter_ble5_chl21_test/pkt_filter_ble5_chl21_test.py +5 -5
  31. certificate/tests/datapath/pkt_filter_ble5_test/pkt_filter_ble5_test.py +5 -5
  32. certificate/tests/datapath/pkt_filter_brg2gw_ext_adv_test/pkt_filter_brg2gw_ext_adv_test.py +10 -8
  33. certificate/tests/datapath/rx_rate_gen2_test/rx_rate_gen2_test.py +1 -1
  34. certificate/tests/energy2400/signal_indicator_ble5_test/signal_indicator_ble5_test.py +4 -3
  35. certificate/tests/energy2400/signal_indicator_ext_adv_test/signal_indicator_ext_adv_test.json +8 -9
  36. certificate/tests/energy2400/signal_indicator_ext_adv_test/signal_indicator_ext_adv_test.py +113 -271
  37. certificate/tests/energy2400/signal_indicator_test/signal_indicator_test.py +1 -1
  38. certificate/tests/sensors/ext_sensor_test/ext_sensor_test.py +4 -9
  39. common/api_if/api_validation.py +6 -0
  40. common/web/templates/generator.html +141 -79
  41. common/web/web_utils.py +78 -56
  42. gui_certificate/server.py +255 -70
  43. gui_certificate/templates/cert_run.html +128 -98
  44. {wiliot_certificate-4.5.0a2.dist-info → wiliot_certificate-4.5.0a4.dist-info}/METADATA +6 -11
  45. {wiliot_certificate-4.5.0a2.dist-info → wiliot_certificate-4.5.0a4.dist-info}/RECORD +49 -65
  46. certificate/ag/wlt_types_ag_jsons/brg2brg_ota.json +0 -211
  47. certificate/ag/wlt_types_ag_jsons/brg2gw_hb.json +0 -894
  48. certificate/ag/wlt_types_ag_jsons/brg2gw_hb_sleep.json +0 -184
  49. certificate/ag/wlt_types_ag_jsons/calibration.json +0 -490
  50. certificate/ag/wlt_types_ag_jsons/custom.json +0 -614
  51. certificate/ag/wlt_types_ag_jsons/datapath.json +0 -900
  52. certificate/ag/wlt_types_ag_jsons/energy2400.json +0 -670
  53. certificate/ag/wlt_types_ag_jsons/energySub1g.json +0 -691
  54. certificate/ag/wlt_types_ag_jsons/externalSensor.json +0 -727
  55. certificate/ag/wlt_types_ag_jsons/interface.json +0 -1095
  56. certificate/ag/wlt_types_ag_jsons/powerManagement.json +0 -1439
  57. certificate/ag/wlt_types_ag_jsons/side_info_sensor.json +0 -105
  58. certificate/ag/wlt_types_ag_jsons/signal_indicator_data.json +0 -77
  59. certificate/ag/wlt_types_ag_jsons/unified_echo_ext_pkt.json +0 -126
  60. certificate/ag/wlt_types_ag_jsons/unified_echo_pkt.json +0 -175
  61. certificate/ag/wlt_types_ag_jsons/unified_sensor_pkt.json +0 -65
  62. {wiliot_certificate-4.5.0a2.dist-info → wiliot_certificate-4.5.0a4.dist-info}/WHEEL +0 -0
  63. {wiliot_certificate-4.5.0a2.dist-info → wiliot_certificate-4.5.0a4.dist-info}/entry_points.txt +0 -0
  64. {wiliot_certificate-4.5.0a2.dist-info → wiliot_certificate-4.5.0a4.dist-info}/licenses/LICENSE +0 -0
  65. {wiliot_certificate-4.5.0a2.dist-info → wiliot_certificate-4.5.0a4.dist-info}/top_level.txt +0 -0
@@ -1,614 +0,0 @@
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
- }