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