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,184 +0,0 @@
1
- {
2
- "versions": [
3
- {
4
- "version": "13",
5
- "packetFields": [
6
- {
7
- "name": "msgType",
8
- "byteOffset": 5,
9
- "byteLength": 1,
10
- "bitOffset": 0,
11
- "bitLength": 8,
12
- "outType": "uint"
13
- },
14
- {
15
- "name": "apiVersion",
16
- "byteOffset": 6,
17
- "byteLength": 1,
18
- "bitOffset": 0,
19
- "bitLength": 8,
20
- "outType": "uint"
21
- },
22
- {
23
- "name": "seqId",
24
- "byteOffset": 7,
25
- "byteLength": 1,
26
- "bitOffset": 0,
27
- "bitLength": 8,
28
- "outType": "uint"
29
- },
30
- {
31
- "name": "brgMac",
32
- "byteOffset": 8,
33
- "byteLength": 6,
34
- "bitOffset": 0,
35
- "bitLength": 48,
36
- "outType": "string"
37
- },
38
- {
39
- "name": "dynamic",
40
- "byteOffset": 14,
41
- "byteLength": 1,
42
- "bitOffset": 0,
43
- "bitLength": 1,
44
- "outType": "boolean"
45
- }
46
- ]
47
- },
48
- {
49
- "version": "12",
50
- "packetFields": [
51
- {
52
- "name": "msgType",
53
- "byteOffset": 5,
54
- "byteLength": 1,
55
- "bitOffset": 0,
56
- "bitLength": 8,
57
- "outType": "uint"
58
- },
59
- {
60
- "name": "apiVersion",
61
- "byteOffset": 6,
62
- "byteLength": 1,
63
- "bitOffset": 0,
64
- "bitLength": 8,
65
- "outType": "uint"
66
- },
67
- {
68
- "name": "seqId",
69
- "byteOffset": 7,
70
- "byteLength": 1,
71
- "bitOffset": 0,
72
- "bitLength": 8,
73
- "outType": "uint"
74
- },
75
- {
76
- "name": "brgMac",
77
- "byteOffset": 8,
78
- "byteLength": 6,
79
- "bitOffset": 0,
80
- "bitLength": 48,
81
- "outType": "string"
82
- },
83
- {
84
- "name": "dynamic",
85
- "byteOffset": 14,
86
- "byteLength": 1,
87
- "bitOffset": 0,
88
- "bitLength": 1,
89
- "outType": "boolean"
90
- }
91
- ]
92
- },
93
- {
94
- "version": "11",
95
- "packetFields": [
96
- {
97
- "name": "msgType",
98
- "byteOffset": 5,
99
- "byteLength": 1,
100
- "bitOffset": 0,
101
- "bitLength": 8,
102
- "outType": "uint"
103
- },
104
- {
105
- "name": "apiVersion",
106
- "byteOffset": 6,
107
- "byteLength": 1,
108
- "bitOffset": 0,
109
- "bitLength": 8,
110
- "outType": "uint"
111
- },
112
- {
113
- "name": "seqId",
114
- "byteOffset": 7,
115
- "byteLength": 1,
116
- "bitOffset": 0,
117
- "bitLength": 8,
118
- "outType": "uint"
119
- },
120
- {
121
- "name": "brgMac",
122
- "byteOffset": 8,
123
- "byteLength": 6,
124
- "bitOffset": 0,
125
- "bitLength": 48,
126
- "outType": "string"
127
- },
128
- {
129
- "name": "dynamic",
130
- "byteOffset": 14,
131
- "byteLength": 1,
132
- "bitOffset": 0,
133
- "bitLength": 1,
134
- "outType": "boolean"
135
- }
136
- ]
137
- },
138
- {
139
- "version": "10",
140
- "packetFields": [
141
- {
142
- "name": "msgType",
143
- "byteOffset": 5,
144
- "byteLength": 1,
145
- "bitOffset": 0,
146
- "bitLength": 8,
147
- "outType": "uint"
148
- },
149
- {
150
- "name": "apiVersion",
151
- "byteOffset": 6,
152
- "byteLength": 1,
153
- "bitOffset": 0,
154
- "bitLength": 8,
155
- "outType": "uint"
156
- },
157
- {
158
- "name": "seqId",
159
- "byteOffset": 7,
160
- "byteLength": 1,
161
- "bitOffset": 0,
162
- "bitLength": 8,
163
- "outType": "uint"
164
- },
165
- {
166
- "name": "brgMac",
167
- "byteOffset": 8,
168
- "byteLength": 6,
169
- "bitOffset": 0,
170
- "bitLength": 48,
171
- "outType": "string"
172
- },
173
- {
174
- "name": "dynamic",
175
- "byteOffset": 14,
176
- "byteLength": 1,
177
- "bitOffset": 0,
178
- "bitLength": 1,
179
- "outType": "boolean"
180
- }
181
- ]
182
- }
183
- ]
184
- }
@@ -1,490 +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": "interval",
48
- "byteOffset": 14,
49
- "byteLength": 1,
50
- "bitOffset": 0,
51
- "bitLength": 8,
52
- "outType": "uint"
53
- },
54
- {
55
- "name": "outputPower",
56
- "byteOffset": 15,
57
- "byteLength": 1,
58
- "bitOffset": 0,
59
- "bitLength": 8,
60
- "outType": "string",
61
- "map": {
62
- "00":"Maximum",
63
- "02":"Maximum - 2 dBm",
64
- "03":"Maximum - 3 dBm",
65
- "04":"Maximum - 4 dBm",
66
- "06":"Maximum - 6 dBm",
67
- "07":"Maximum - 7 dBm",
68
- "08":"Maximum - 8 dBm",
69
- "0A":"Maximum - 10 dBm",
70
- "0B":"Maximum - 11 dBm",
71
- "0C":"Maximum - 12 dBm",
72
- "0E":"Maximum - 14 dBm",
73
- "0F":"Maximum - 15 dBm",
74
- "10":"Maximum - 16 dBm",
75
- "12":"Maximum - 18 dBm",
76
- "13":"Maximum - 19 dBm",
77
- "14":"Maximum - 20 dBm",
78
- "16":"Maximum - 22 dBm",
79
- "17":"Maximum - 23 dBm",
80
- "1A":"Maximum - 26 dBm"
81
- }
82
- },
83
- {
84
- "name": "pattern",
85
- "byteOffset": 16,
86
- "byteLength": 1,
87
- "bitOffset": 4,
88
- "bitLength": 4,
89
- "outType": "string",
90
- "map": {
91
- "00":"Standard beaconing",
92
- "01":"No Beacons on Channel 37",
93
- "02":"EU pattern",
94
- "03":"Disable calibration beaconing"
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": "interval",
144
- "byteOffset": 14,
145
- "byteLength": 1,
146
- "bitOffset": 0,
147
- "bitLength": 8,
148
- "outType": "uint"
149
- },
150
- {
151
- "name": "outputPower",
152
- "byteOffset": 15,
153
- "byteLength": 1,
154
- "bitOffset": 0,
155
- "bitLength": 8,
156
- "outType": "int"
157
- },
158
- {
159
- "name": "pattern",
160
- "byteOffset": 16,
161
- "byteLength": 1,
162
- "bitOffset": 4,
163
- "bitLength": 4,
164
- "outType": "string",
165
- "map": {
166
- "00":"Standard beaconing",
167
- "01":"No Beacons on Channel 37",
168
- "02":"EU pattern",
169
- "03":"Disable calibration beaconing"
170
- }
171
- }
172
- ]
173
- },
174
- {
175
- "version": "11",
176
- "packetFields": [
177
- {
178
- "name": "moduleType",
179
- "byteOffset": 5,
180
- "byteLength": 1,
181
- "bitOffset": 4,
182
- "bitLength": 4,
183
- "outType": "uint"
184
- },
185
- {
186
- "name": "msgType",
187
- "byteOffset": 5,
188
- "byteLength": 1,
189
- "bitOffset": 0,
190
- "bitLength": 4,
191
- "outType": "uint"
192
- },
193
- {
194
- "name": "apiVersion",
195
- "byteOffset": 6,
196
- "byteLength": 1,
197
- "bitOffset": 0,
198
- "bitLength": 8,
199
- "outType": "uint"
200
- },
201
- {
202
- "name": "seqId",
203
- "byteOffset": 7,
204
- "byteLength": 1,
205
- "bitOffset": 0,
206
- "bitLength": 8,
207
- "outType": "uint"
208
- },
209
- {
210
- "name": "brgMac",
211
- "byteOffset": 8,
212
- "byteLength": 6,
213
- "bitOffset": 0,
214
- "bitLength": 48,
215
- "outType": "string"
216
- },
217
- {
218
- "name": "interval",
219
- "byteOffset": 14,
220
- "byteLength": 1,
221
- "bitOffset": 0,
222
- "bitLength": 8,
223
- "outType": "uint"
224
- },
225
- {
226
- "name": "outputPower",
227
- "byteOffset": 15,
228
- "byteLength": 1,
229
- "bitOffset": 0,
230
- "bitLength": 8,
231
- "outType": "int"
232
- },
233
- {
234
- "name": "pattern",
235
- "byteOffset": 16,
236
- "byteLength": 1,
237
- "bitOffset": 4,
238
- "bitLength": 4,
239
- "outType": "string",
240
- "map": {
241
- "00":"Standard beaconing",
242
- "01":"No Beacons on Channel 37",
243
- "02":"EU pattern",
244
- "03":"Disable calibration beaconing"
245
- }
246
- }
247
- ]
248
- },
249
- {
250
- "version": "10",
251
- "packetFields": [
252
- {
253
- "name": "moduleType",
254
- "byteOffset": 5,
255
- "byteLength": 1,
256
- "bitOffset": 4,
257
- "bitLength": 4,
258
- "outType": "uint"
259
- },
260
- {
261
- "name": "msgType",
262
- "byteOffset": 5,
263
- "byteLength": 1,
264
- "bitOffset": 0,
265
- "bitLength": 4,
266
- "outType": "uint"
267
- },
268
- {
269
- "name": "apiVersion",
270
- "byteOffset": 6,
271
- "byteLength": 1,
272
- "bitOffset": 0,
273
- "bitLength": 8,
274
- "outType": "uint"
275
- },
276
- {
277
- "name": "seqId",
278
- "byteOffset": 7,
279
- "byteLength": 1,
280
- "bitOffset": 0,
281
- "bitLength": 8,
282
- "outType": "uint"
283
- },
284
- {
285
- "name": "brgMac",
286
- "byteOffset": 8,
287
- "byteLength": 6,
288
- "bitOffset": 0,
289
- "bitLength": 48,
290
- "outType": "string"
291
- },
292
- {
293
- "name": "calibInterval",
294
- "byteOffset": 14,
295
- "byteLength": 1,
296
- "bitOffset": 0,
297
- "bitLength": 8,
298
- "outType": "uint"
299
- },
300
- {
301
- "name": "calibOutputPower",
302
- "byteOffset": 15,
303
- "byteLength": 1,
304
- "bitOffset": 0,
305
- "bitLength": 8,
306
- "outType": "int"
307
- },
308
- {
309
- "name": "calibPattern",
310
- "byteOffset": 16,
311
- "byteLength": 1,
312
- "bitOffset": 4,
313
- "bitLength": 4,
314
- "outType": "string",
315
- "map": {
316
- "00":"Standard beaconing",
317
- "01":"No Beacons on Channel 37",
318
- "02":"EU pattern",
319
- "03":"Disable calibration beaconing"
320
- }
321
- }
322
- ]
323
- },
324
- {
325
- "version": "9",
326
- "packetFields": [
327
- {
328
- "name": "moduleType",
329
- "byteOffset": 5,
330
- "byteLength": 1,
331
- "bitOffset": 4,
332
- "bitLength": 4,
333
- "outType": "uint"
334
- },
335
- {
336
- "name": "msgType",
337
- "byteOffset": 5,
338
- "byteLength": 1,
339
- "bitOffset": 0,
340
- "bitLength": 4,
341
- "outType": "uint"
342
- },
343
- {
344
- "name": "apiVersion",
345
- "byteOffset": 6,
346
- "byteLength": 1,
347
- "bitOffset": 0,
348
- "bitLength": 8,
349
- "outType": "uint"
350
- },
351
- {
352
- "name": "seqId",
353
- "byteOffset": 7,
354
- "byteLength": 1,
355
- "bitOffset": 0,
356
- "bitLength": 8,
357
- "outType": "uint"
358
- },
359
- {
360
- "name": "brgMac",
361
- "byteOffset": 8,
362
- "byteLength": 6,
363
- "bitOffset": 0,
364
- "bitLength": 48,
365
- "outType": "string"
366
- },
367
- {
368
- "name": "calibInterval",
369
- "byteOffset": 14,
370
- "byteLength": 1,
371
- "bitOffset": 0,
372
- "bitLength": 8,
373
- "outType": "uint"
374
- },
375
- {
376
- "name": "calibOutputPower",
377
- "byteOffset": 15,
378
- "byteLength": 1,
379
- "bitOffset": 0,
380
- "bitLength": 8,
381
- "outType": "int"
382
- },
383
- {
384
- "name": "calibPattern",
385
- "byteOffset": 16,
386
- "byteLength": 1,
387
- "bitOffset": 4,
388
- "bitLength": 4,
389
- "outType": "string",
390
- "map": {
391
- "00":"Standard beaconing",
392
- "01":"No Beacons on Channel 37",
393
- "02":"EU pattern",
394
- "03":"Disable calibration beaconing"
395
- }
396
- }
397
- ]
398
- },
399
- {
400
- "version": "8",
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
- },
444
- {
445
- "version": "7",
446
- "packetFields": [
447
- {
448
- "name": "moduleType",
449
- "byteOffset": 5,
450
- "byteLength": 1,
451
- "bitOffset": 4,
452
- "bitLength": 4,
453
- "outType": "uint"
454
- },
455
- {
456
- "name": "msgType",
457
- "byteOffset": 5,
458
- "byteLength": 1,
459
- "bitOffset": 0,
460
- "bitLength": 4,
461
- "outType": "uint"
462
- },
463
- {
464
- "name": "apiVersion",
465
- "byteOffset": 6,
466
- "byteLength": 1,
467
- "bitOffset": 0,
468
- "bitLength": 8,
469
- "outType": "uint"
470
- },
471
- {
472
- "name": "seqId",
473
- "byteOffset": 7,
474
- "byteLength": 1,
475
- "bitOffset": 0,
476
- "bitLength": 8,
477
- "outType": "uint"
478
- },
479
- {
480
- "name": "brgMac",
481
- "byteOffset": 8,
482
- "byteLength": 6,
483
- "bitOffset": 0,
484
- "bitLength": 48,
485
- "outType": "string"
486
- }
487
- ]
488
- }
489
- ]
490
- }