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,691 +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": "sub1gEnergyPattern",
48
- "byteOffset": 14,
49
- "byteLength": 1,
50
- "bitOffset": 0,
51
- "bitLength": 8,
52
- "outType": "string",
53
- "map": {
54
- "00":"No Energizing",
55
- "01":"Single Tone 915MHz",
56
- "02":"FCC (Hopping)",
57
- "03":"Japan1W",
58
- "04":"Japan350mW",
59
- "05":"Korea",
60
- "06":"Single tone 916300MHz",
61
- "07":"Single tone 917500MHz",
62
- "08":"Australia",
63
- "09":"Israel",
64
- "0A":"NZ (Hopping)"
65
- }
66
- },
67
- {
68
- "name": "dutyCycle",
69
- "byteOffset": 15,
70
- "byteLength": 1,
71
- "bitOffset": 0,
72
- "bitLength": 8,
73
- "outType": "uint"
74
- },
75
- {
76
- "name": "signalIndicatorCycle",
77
- "byteOffset": 16,
78
- "byteLength": 2,
79
- "bitOffset": 2,
80
- "bitLength": 14,
81
- "outType": "uint"
82
- },
83
- {
84
- "name": "signalIndicatorRep",
85
- "byteOffset": 17,
86
- "byteLength": 1,
87
- "bitOffset": 0,
88
- "bitLength": 2,
89
- "outType": "uint",
90
- "map": {
91
- "0":1,
92
- "1":2,
93
- "2":3,
94
- "3":4
95
- }
96
- }
97
- ]
98
- },
99
- {
100
- "version": "12",
101
- "packetFields": [
102
- {
103
- "name": "moduleType",
104
- "byteOffset": 5,
105
- "byteLength": 1,
106
- "bitOffset": 4,
107
- "bitLength": 4,
108
- "outType": "uint"
109
- },
110
- {
111
- "name": "msgType",
112
- "byteOffset": 5,
113
- "byteLength": 1,
114
- "bitOffset": 0,
115
- "bitLength": 4,
116
- "outType": "uint"
117
- },
118
- {
119
- "name": "apiVersion",
120
- "byteOffset": 6,
121
- "byteLength": 1,
122
- "bitOffset": 0,
123
- "bitLength": 8,
124
- "outType": "uint"
125
- },
126
- {
127
- "name": "seqId",
128
- "byteOffset": 7,
129
- "byteLength": 1,
130
- "bitOffset": 0,
131
- "bitLength": 8,
132
- "outType": "uint"
133
- },
134
- {
135
- "name": "brgMac",
136
- "byteOffset": 8,
137
- "byteLength": 6,
138
- "bitOffset": 0,
139
- "bitLength": 48,
140
- "outType": "string"
141
- },
142
- {
143
- "name": "sub1gEnergyPattern",
144
- "byteOffset": 14,
145
- "byteLength": 1,
146
- "bitOffset": 0,
147
- "bitLength": 8,
148
- "outType": "string",
149
- "map": {
150
- "00":"No Energizing",
151
- "01":"Single Tone 915MHz",
152
- "02":"FCC (Hopping)",
153
- "03":"Japan1W",
154
- "04":"Japan350mW",
155
- "05":"Korea",
156
- "06":"Single tone 916300MHz",
157
- "07":"Single tone 917500MHz",
158
- "08":"Australia",
159
- "09":"Israel",
160
- "0A":"NZ (Hopping)"
161
- }
162
- },
163
- {
164
- "name": "dutyCycle",
165
- "byteOffset": 15,
166
- "byteLength": 1,
167
- "bitOffset": 0,
168
- "bitLength": 8,
169
- "outType": "uint"
170
- },
171
- {
172
- "name": "signalIndicatorCycle",
173
- "byteOffset": 16,
174
- "byteLength": 2,
175
- "bitOffset": 2,
176
- "bitLength": 14,
177
- "outType": "uint"
178
- },
179
- {
180
- "name": "signalIndicatorRep",
181
- "byteOffset": 17,
182
- "byteLength": 1,
183
- "bitOffset": 0,
184
- "bitLength": 2,
185
- "outType": "uint",
186
- "map": {
187
- "0":1,
188
- "1":2,
189
- "2":3,
190
- "3":4
191
- }
192
- }
193
- ]
194
- },
195
- {
196
- "version": "11",
197
- "packetFields": [
198
- {
199
- "name": "moduleType",
200
- "byteOffset": 5,
201
- "byteLength": 1,
202
- "bitOffset": 4,
203
- "bitLength": 4,
204
- "outType": "uint"
205
- },
206
- {
207
- "name": "msgType",
208
- "byteOffset": 5,
209
- "byteLength": 1,
210
- "bitOffset": 0,
211
- "bitLength": 4,
212
- "outType": "uint"
213
- },
214
- {
215
- "name": "apiVersion",
216
- "byteOffset": 6,
217
- "byteLength": 1,
218
- "bitOffset": 0,
219
- "bitLength": 8,
220
- "outType": "uint"
221
- },
222
- {
223
- "name": "seqId",
224
- "byteOffset": 7,
225
- "byteLength": 1,
226
- "bitOffset": 0,
227
- "bitLength": 8,
228
- "outType": "uint"
229
- },
230
- {
231
- "name": "brgMac",
232
- "byteOffset": 8,
233
- "byteLength": 6,
234
- "bitOffset": 0,
235
- "bitLength": 48,
236
- "outType": "string"
237
- },
238
- {
239
- "name": "outputPower",
240
- "byteOffset": 14,
241
- "byteLength": 1,
242
- "bitOffset": 0,
243
- "bitLength": 8,
244
- "outType": "uint",
245
- "map": {
246
- "0":14,
247
- "1":17,
248
- "2":20,
249
- "3":23,
250
- "4":26,
251
- "5":29,
252
- "6":32
253
- }
254
- },
255
- {
256
- "name": "sub1gEnergyPattern",
257
- "byteOffset": 15,
258
- "byteLength": 1,
259
- "bitOffset": 0,
260
- "bitLength": 8,
261
- "outType": "string",
262
- "map": {
263
- "00":"No Energizing",
264
- "01":"Single Tone 915MHz",
265
- "02":"FCC (Hopping)",
266
- "03":"Japan1W",
267
- "04":"Japan350mW",
268
- "05":"Korea",
269
- "06":"Single tone 916300MHz",
270
- "07":"Single tone 917500MHz",
271
- "08":"Australia",
272
- "09":"Israel",
273
- "0A":"NZ (Hopping)"
274
- }
275
- },
276
- {
277
- "name": "cycle",
278
- "byteOffset": 16,
279
- "byteLength": 1,
280
- "bitOffset": 0,
281
- "bitLength": 8,
282
- "outType": "uint"
283
- },
284
- {
285
- "name": "dutyCycle",
286
- "byteOffset": 17,
287
- "byteLength": 1,
288
- "bitOffset": 0,
289
- "bitLength": 8,
290
- "outType": "uint"
291
- },
292
- {
293
- "name": "signalIndicatorCycle",
294
- "byteOffset": 18,
295
- "byteLength": 2,
296
- "bitOffset": 2,
297
- "bitLength": 14,
298
- "outType": "uint"
299
- },
300
- {
301
- "name": "signalIndicatorRep",
302
- "byteOffset": 19,
303
- "byteLength": 1,
304
- "bitOffset": 0,
305
- "bitLength": 2,
306
- "outType": "uint",
307
- "map": {
308
- "0":1,
309
- "1":2,
310
- "2":3,
311
- "3":4
312
- }
313
- }
314
- ]
315
- },
316
- {
317
- "version": "10",
318
- "packetFields": [
319
- {
320
- "name": "moduleType",
321
- "byteOffset": 5,
322
- "byteLength": 1,
323
- "bitOffset": 4,
324
- "bitLength": 4,
325
- "outType": "uint"
326
- },
327
- {
328
- "name": "msgType",
329
- "byteOffset": 5,
330
- "byteLength": 1,
331
- "bitOffset": 0,
332
- "bitLength": 4,
333
- "outType": "uint"
334
- },
335
- {
336
- "name": "apiVersion",
337
- "byteOffset": 6,
338
- "byteLength": 1,
339
- "bitOffset": 0,
340
- "bitLength": 8,
341
- "outType": "uint"
342
- },
343
- {
344
- "name": "seqId",
345
- "byteOffset": 7,
346
- "byteLength": 1,
347
- "bitOffset": 0,
348
- "bitLength": 8,
349
- "outType": "uint"
350
- },
351
- {
352
- "name": "brgMac",
353
- "byteOffset": 8,
354
- "byteLength": 6,
355
- "bitOffset": 0,
356
- "bitLength": 48,
357
- "outType": "string"
358
- },
359
- {
360
- "name": "outputPower",
361
- "byteOffset": 14,
362
- "byteLength": 1,
363
- "bitOffset": 0,
364
- "bitLength": 8,
365
- "outType": "uint",
366
- "map": {
367
- "0":14,
368
- "1":17,
369
- "2":20,
370
- "3":23,
371
- "4":26,
372
- "5":29,
373
- "6":32
374
- }
375
- },
376
- {
377
- "name": "sub1gEnergyPattern",
378
- "byteOffset": 15,
379
- "byteLength": 1,
380
- "bitOffset": 0,
381
- "bitLength": 8,
382
- "outType": "string",
383
- "map": {
384
- "00":"No Energizing",
385
- "01":"Single Tone 915MHz",
386
- "02":"FCC (Hopping)",
387
- "03":"Japan1W",
388
- "04":"Japan350mW",
389
- "05":"Korea",
390
- "06":"Single tone 916300MHz",
391
- "07":"Single tone 917500MHz",
392
- "08":"Australia",
393
- "09":"Israel",
394
- "0A":"NZ (Hopping)"
395
- }
396
- },
397
- {
398
- "name": "cycle",
399
- "byteOffset": 16,
400
- "byteLength": 1,
401
- "bitOffset": 0,
402
- "bitLength": 8,
403
- "outType": "uint"
404
- },
405
- {
406
- "name": "dutyCycle",
407
- "byteOffset": 17,
408
- "byteLength": 1,
409
- "bitOffset": 0,
410
- "bitLength": 8,
411
- "outType": "uint"
412
- },
413
- {
414
- "name": "signalIndicatorCycle",
415
- "byteOffset": 18,
416
- "byteLength": 2,
417
- "bitOffset": 2,
418
- "bitLength": 14,
419
- "outType": "uint"
420
- },
421
- {
422
- "name": "signalIndicatorRep",
423
- "byteOffset": 19,
424
- "byteLength": 1,
425
- "bitOffset": 0,
426
- "bitLength": 2,
427
- "outType": "uint",
428
- "map": {
429
- "0":1,
430
- "1":2,
431
- "2":3,
432
- "3":4
433
- }
434
- }
435
- ]
436
- },
437
- {
438
- "version": "9",
439
- "packetFields": [
440
- {
441
- "name": "moduleType",
442
- "byteOffset": 5,
443
- "byteLength": 1,
444
- "bitOffset": 4,
445
- "bitLength": 4,
446
- "outType": "uint"
447
- },
448
- {
449
- "name": "msgType",
450
- "byteOffset": 5,
451
- "byteLength": 1,
452
- "bitOffset": 0,
453
- "bitLength": 4,
454
- "outType": "uint"
455
- },
456
- {
457
- "name": "apiVersion",
458
- "byteOffset": 6,
459
- "byteLength": 1,
460
- "bitOffset": 0,
461
- "bitLength": 8,
462
- "outType": "uint"
463
- },
464
- {
465
- "name": "seqId",
466
- "byteOffset": 7,
467
- "byteLength": 1,
468
- "bitOffset": 0,
469
- "bitLength": 8,
470
- "outType": "uint"
471
- },
472
- {
473
- "name": "brgMac",
474
- "byteOffset": 8,
475
- "byteLength": 6,
476
- "bitOffset": 0,
477
- "bitLength": 48,
478
- "outType": "string"
479
- },
480
- {
481
- "name": "outputPower",
482
- "byteOffset": 14,
483
- "byteLength": 1,
484
- "bitOffset": 0,
485
- "bitLength": 8,
486
- "outType": "uint",
487
- "map": {
488
- "0":14,
489
- "1":17,
490
- "2":20,
491
- "3":23,
492
- "4":26,
493
- "5":29,
494
- "6":32
495
- }
496
- },
497
- {
498
- "name": "sub1gEnergyPattern",
499
- "byteOffset": 15,
500
- "byteLength": 1,
501
- "bitOffset": 0,
502
- "bitLength": 8,
503
- "outType": "string",
504
- "map": {
505
- "00":"No Energizing",
506
- "01":"Single Tone 915MHz",
507
- "02":"FCC (Hopping)",
508
- "03":"Japan1W",
509
- "04":"Japan350mW",
510
- "05":"Korea",
511
- "06":"Single tone 916300MHz",
512
- "07":"Single tone 917500MHz",
513
- "08":"Australia",
514
- "09":"Israel",
515
- "0A":"NZ (Hopping)"
516
- }
517
- },
518
- {
519
- "name": "cycle",
520
- "byteOffset": 16,
521
- "byteLength": 1,
522
- "bitOffset": 0,
523
- "bitLength": 8,
524
- "outType": "uint"
525
- },
526
- {
527
- "name": "dutyCycle",
528
- "byteOffset": 17,
529
- "byteLength": 1,
530
- "bitOffset": 0,
531
- "bitLength": 8,
532
- "outType": "uint"
533
- }
534
- ]
535
- },
536
- {
537
- "version": "8",
538
- "packetFields": [
539
- {
540
- "name": "moduleType",
541
- "byteOffset": 5,
542
- "byteLength": 1,
543
- "bitOffset": 4,
544
- "bitLength": 4,
545
- "outType": "uint"
546
- },
547
- {
548
- "name": "msgType",
549
- "byteOffset": 5,
550
- "byteLength": 1,
551
- "bitOffset": 0,
552
- "bitLength": 4,
553
- "outType": "uint"
554
- },
555
- {
556
- "name": "apiVersion",
557
- "byteOffset": 6,
558
- "byteLength": 1,
559
- "bitOffset": 0,
560
- "bitLength": 8,
561
- "outType": "uint"
562
- },
563
- {
564
- "name": "seqId",
565
- "byteOffset": 7,
566
- "byteLength": 1,
567
- "bitOffset": 0,
568
- "bitLength": 8,
569
- "outType": "uint"
570
- },
571
- {
572
- "name": "brgMac",
573
- "byteOffset": 8,
574
- "byteLength": 6,
575
- "bitOffset": 0,
576
- "bitLength": 48,
577
- "outType": "string"
578
- },
579
- {
580
- "name": "outputPower",
581
- "byteOffset": 14,
582
- "byteLength": 1,
583
- "bitOffset": 0,
584
- "bitLength": 8,
585
- "outType": "uint",
586
- "map": {
587
- "0":14,
588
- "1":17,
589
- "2":20,
590
- "3":23,
591
- "4":26,
592
- "5":29,
593
- "6":32
594
- }
595
- },
596
- {
597
- "name": "frequency",
598
- "byteOffset": 15,
599
- "byteLength": 1,
600
- "bitOffset": 0,
601
- "bitLength": 8,
602
- "outType": "uint",
603
- "map": {
604
- "0":915000,
605
- "2":916300,
606
- "3":917500,
607
- "4":918000,
608
- "5":919100
609
- }
610
- }
611
- ]
612
- },
613
- {
614
- "version": "7",
615
- "packetFields": [
616
- {
617
- "name": "moduleType",
618
- "byteOffset": 5,
619
- "byteLength": 1,
620
- "bitOffset": 4,
621
- "bitLength": 4,
622
- "outType": "uint"
623
- },
624
- {
625
- "name": "msgType",
626
- "byteOffset": 5,
627
- "byteLength": 1,
628
- "bitOffset": 0,
629
- "bitLength": 4,
630
- "outType": "uint"
631
- },
632
- {
633
- "name": "apiVersion",
634
- "byteOffset": 6,
635
- "byteLength": 1,
636
- "bitOffset": 0,
637
- "bitLength": 8,
638
- "outType": "uint"
639
- },
640
- {
641
- "name": "seqId",
642
- "byteOffset": 7,
643
- "byteLength": 1,
644
- "bitOffset": 0,
645
- "bitLength": 8,
646
- "outType": "uint"
647
- },
648
- {
649
- "name": "brgMac",
650
- "byteOffset": 8,
651
- "byteLength": 6,
652
- "bitOffset": 0,
653
- "bitLength": 48,
654
- "outType": "string"
655
- },
656
- {
657
- "name": "outputPower",
658
- "byteOffset": 14,
659
- "byteLength": 1,
660
- "bitOffset": 0,
661
- "bitLength": 8,
662
- "outType": "uint",
663
- "map": {
664
- "0":14,
665
- "1":17,
666
- "2":20,
667
- "3":23,
668
- "4":26,
669
- "5":29,
670
- "6":32
671
- }
672
- },
673
- {
674
- "name": "frequency",
675
- "byteOffset": 15,
676
- "byteLength": 1,
677
- "bitOffset": 0,
678
- "bitLength": 8,
679
- "outType": "uint",
680
- "map": {
681
- "0":915000,
682
- "2":916300,
683
- "3":917500,
684
- "4":918000,
685
- "5":919100
686
- }
687
- }
688
- ]
689
- }
690
- ]
691
- }