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,105 +0,0 @@
1
- {
2
- "versions": [
3
- {
4
- "version": "0",
5
- "packetFields": [
6
- {
7
- "name": "bridgeId",
8
- "byteOffset": 5,
9
- "byteLength": 6,
10
- "bitOffset": 0,
11
- "bitLength": 48,
12
- "outType": "string"
13
- },
14
- {
15
- "name": "nfpkt",
16
- "byteOffset": 11,
17
- "byteLength": 2,
18
- "bitOffset": 0,
19
- "bitLength": 16,
20
- "outType": "uint"
21
- },
22
- {
23
- "name": "rssi",
24
- "byteOffset": 13,
25
- "byteLength": 1,
26
- "bitOffset": 0,
27
- "bitLength": 8,
28
- "outType": "uint"
29
- },
30
- {
31
- "name": "sensorId",
32
- "byteOffset": 15,
33
- "byteLength": 6,
34
- "bitOffset": 0,
35
- "bitLength": 48,
36
- "outType": "string"
37
- },
38
- {
39
- "name": "sensorServiceId",
40
- "byteOffset": 21,
41
- "byteLength": 1,
42
- "bitOffset": 0,
43
- "bitLength": 8,
44
- "outType": "uint"
45
- },
46
- {
47
- "name": "sensorUuidMsb",
48
- "byteOffset": 22,
49
- "byteLength": 1,
50
- "bitOffset": 0,
51
- "bitLength": 8,
52
- "outType": "uint"
53
- },
54
- {
55
- "name": "sensorUuidLsb",
56
- "byteOffset": 23,
57
- "byteLength": 1,
58
- "bitOffset": 0,
59
- "bitLength": 8,
60
- "outType": "uint"
61
- },
62
- {
63
- "name": "apiVersion",
64
- "byteOffset": 24,
65
- "byteLength": 1,
66
- "bitOffset": 4,
67
- "bitLength": 4,
68
- "outType": "uint"
69
- },
70
- {
71
- "name": "scrambled",
72
- "byteOffset": 24,
73
- "byteLength": 1,
74
- "bitOffset": 2,
75
- "bitLength": 1,
76
- "outType": "boolean"
77
- },
78
- {
79
- "name": "embedded",
80
- "byteOffset": 24,
81
- "byteLength": 1,
82
- "bitOffset": 1,
83
- "bitLength": 1,
84
- "outType": "boolean"
85
- },
86
- {
87
- "name": "isSensor",
88
- "byteOffset": 24,
89
- "byteLength": 1,
90
- "bitOffset": 0,
91
- "bitLength": 1,
92
- "outType": "boolean"
93
- },
94
- {
95
- "name": "pktId",
96
- "byteOffset": 25,
97
- "byteLength": 4,
98
- "bitOffset": 0,
99
- "bitLength": 32,
100
- "outType": "string"
101
- }
102
- ]
103
- }
104
- ]
105
- }
@@ -1,77 +0,0 @@
1
- {
2
- "versions": [
3
- {
4
- "version": "1",
5
- "packetFields": [
6
- {
7
- "name": "groupId",
8
- "byteOffset": 2,
9
- "byteLength": 3,
10
- "bitOffset": 0,
11
- "bitLength": 24,
12
- "outType": "uint"
13
- },
14
- {
15
- "name": "version",
16
- "byteOffset": 5,
17
- "byteLength": 1,
18
- "bitOffset": 0,
19
- "bitLength": 8,
20
- "outType": "uint"
21
- },
22
- {
23
- "name": "msgType",
24
- "byteOffset": 6,
25
- "byteLength": 1,
26
- "bitOffset": 0,
27
- "bitLength": 8,
28
- "outType": "uint"
29
- },
30
- {
31
- "name": "outputPower",
32
- "byteOffset": 7,
33
- "byteLength": 1,
34
- "bitOffset": 0,
35
- "bitLength": 8,
36
- "outType": "int"
37
- },
38
- {
39
- "name": "antennaType",
40
- "byteOffset": 8,
41
- "byteLength": 1,
42
- "bitOffset": 0,
43
- "bitLength": 8,
44
- "outType": "uint",
45
- "map": {
46
- "0":"2_4 Antenna",
47
- "1":"Sub1g Antenna"
48
- }
49
- },
50
- {
51
- "name": "txAntenna",
52
- "byteOffset": 9,
53
- "byteLength": 1,
54
- "bitOffset": 0,
55
- "bitLength": 8,
56
- "outType": "uint"
57
- },
58
- {
59
- "name": "rxAntenna",
60
- "byteOffset": 10,
61
- "byteLength": 1,
62
- "bitOffset": 0,
63
- "bitLength": 8,
64
- "outType": "uint"
65
- },
66
- {
67
- "name": "seqId",
68
- "byteOffset": 11,
69
- "byteLength": 1,
70
- "bitOffset": 0,
71
- "bitLength": 8,
72
- "outType": "uint"
73
- }
74
- ]
75
- }
76
- ]
77
- }
@@ -1,126 +0,0 @@
1
- {
2
- "versions": [
3
- {
4
- "version": "1",
5
- "packetFields": [
6
- {
7
- "name": "tbc",
8
- "byteOffset": 37,
9
- "byteLength": 1,
10
- "bitOffset": 0,
11
- "bitLength": 8,
12
- "outType": "uint"
13
- },
14
- {
15
- "name": "rssi",
16
- "byteOffset": 38,
17
- "byteLength": 1,
18
- "bitOffset": 2,
19
- "bitLength": 6,
20
- "outType": "uint",
21
- "calculations": [
22
- {
23
- "operator": "*",
24
- "operand": 1
25
- },
26
- {
27
- "operator": "+",
28
- "operand": 30
29
- }
30
- ]
31
- },
32
- {
33
- "name": "brgLatency",
34
- "byteOffset": 38,
35
- "byteLength": 1,
36
- "bitOffset": 4,
37
- "bitLength": 6,
38
- "outType": "uint",
39
- "calculations": [
40
- {
41
- "operator": "*",
42
- "operand": 200
43
- },
44
- {
45
- "operator": "+",
46
- "operand": 0
47
- }
48
- ]
49
- },
50
- {
51
- "name": "dynCtr",
52
- "byteOffset": 39,
53
- "byteLength": 1,
54
- "bitOffset": 1,
55
- "bitLength": 3,
56
- "outType": "uint"
57
- },
58
- {
59
- "name": "dynPacingFlag",
60
- "byteOffset": 39,
61
- "byteLength": 1,
62
- "bitOffset": 0,
63
- "bitLength": 1,
64
- "outType": "uint"
65
- }
66
- ]
67
- },
68
- {
69
- "version": "0",
70
- "packetFields": [
71
- {
72
- "name": "tbc",
73
- "byteOffset": 37,
74
- "byteLength": 1,
75
- "bitOffset": 0,
76
- "bitLength": 8,
77
- "outType": "uint"
78
- },
79
- {
80
- "name": "rssi",
81
- "byteOffset": 38,
82
- "byteLength": 1,
83
- "bitOffset": 2,
84
- "bitLength": 6,
85
- "outType": "uint",
86
- "calculations": [
87
- {
88
- "operator": "*",
89
- "operand": 1
90
- },
91
- {
92
- "operator": "+",
93
- "operand": 40
94
- }
95
- ]
96
- },
97
- {
98
- "name": "brgLatency",
99
- "byteOffset": 38,
100
- "byteLength": 1,
101
- "bitOffset": 4,
102
- "bitLength": 6,
103
- "outType": "uint",
104
- "calculations": [
105
- {
106
- "operator": "*",
107
- "operand": 200
108
- },
109
- {
110
- "operator": "+",
111
- "operand": 0
112
- }
113
- ]
114
- },
115
- {
116
- "name": "nfpkt",
117
- "byteOffset": 39,
118
- "byteLength": 1,
119
- "bitOffset": 0,
120
- "bitLength": 4,
121
- "outType": "uint"
122
- }
123
- ]
124
- }
125
- ]
126
- }
@@ -1,175 +0,0 @@
1
- {
2
- "versions": [
3
- {
4
- "version": "2",
5
- "packetFields": [
6
- {
7
- "name": "tbc",
8
- "byteOffset": 15,
9
- "byteLength": 1,
10
- "bitOffset": 0,
11
- "bitLength": 8,
12
- "outType": "uint"
13
- },
14
- {
15
- "name": "rssi",
16
- "byteOffset": 16,
17
- "byteLength": 1,
18
- "bitOffset": 2,
19
- "bitLength": 6,
20
- "outType": "uint",
21
- "calculations": [
22
- {
23
- "operator": "*",
24
- "operand": 1
25
- },
26
- {
27
- "operator": "+",
28
- "operand": 30
29
- }
30
- ]
31
- },
32
- {
33
- "name": "brgLatency",
34
- "byteOffset": 16,
35
- "byteLength": 1,
36
- "bitOffset": 4,
37
- "bitLength": 6,
38
- "outType": "uint",
39
- "calculations": [
40
- {
41
- "operator": "*",
42
- "operand": 200
43
- },
44
- {
45
- "operator": "+",
46
- "operand": 0
47
- }
48
- ]
49
- },
50
- {
51
- "name": "dynCtr",
52
- "byteOffset": 17,
53
- "byteLength": 1,
54
- "bitOffset": 1,
55
- "bitLength": 3,
56
- "outType": "uint"
57
- },
58
- {
59
- "name": "dynPacingFlag",
60
- "byteOffset": 17,
61
- "byteLength": 1,
62
- "bitOffset": 0,
63
- "bitLength": 1,
64
- "outType": "uint"
65
- }
66
- ]
67
- },
68
- {
69
- "version": "1",
70
- "packetFields": [
71
- {
72
- "name": "tbc",
73
- "byteOffset": 15,
74
- "byteLength": 1,
75
- "bitOffset": 0,
76
- "bitLength": 8,
77
- "outType": "uint"
78
- },
79
- {
80
- "name": "rssi",
81
- "byteOffset": 16,
82
- "byteLength": 1,
83
- "bitOffset": 2,
84
- "bitLength": 6,
85
- "outType": "uint",
86
- "calculations": [
87
- {
88
- "operator": "*",
89
- "operand": 1
90
- },
91
- {
92
- "operator": "+",
93
- "operand": 40
94
- }
95
- ]
96
- },
97
- {
98
- "name": "brgLatency",
99
- "byteOffset": 16,
100
- "byteLength": 1,
101
- "bitOffset": 4,
102
- "bitLength": 6,
103
- "outType": "uint",
104
- "calculations": [
105
- {
106
- "operator": "*",
107
- "operand": 200
108
- },
109
- {
110
- "operator": "+",
111
- "operand": 0
112
- }
113
- ]
114
- },
115
- {
116
- "name": "nfpkt",
117
- "byteOffset": 17,
118
- "byteLength": 1,
119
- "bitOffset": 0,
120
- "bitLength": 4,
121
- "outType": "uint"
122
- }
123
- ]
124
- },
125
- {
126
- "version": "0",
127
- "packetFields": [
128
- {
129
- "name": "nfpkt",
130
- "byteOffset": 15,
131
- "byteLength": 1,
132
- "bitOffset": 0,
133
- "bitLength": 8,
134
- "outType": "uint"
135
- },
136
- {
137
- "name": "rssi",
138
- "byteOffset": 16,
139
- "byteLength": 1,
140
- "bitOffset": 2,
141
- "bitLength": 6,
142
- "outType": "uint",
143
- "calculations": [
144
- {
145
- "operator": "*",
146
- "operand": 1
147
- },
148
- {
149
- "operator": "+",
150
- "operand": 40
151
- }
152
- ]
153
- },
154
- {
155
- "name": "brgLatency",
156
- "byteOffset": 16,
157
- "byteLength": 1,
158
- "bitOffset": 4,
159
- "bitLength": 6,
160
- "outType": "uint",
161
- "calculations": [
162
- {
163
- "operator": "*",
164
- "operand": 200
165
- },
166
- {
167
- "operator": "+",
168
- "operand": 0
169
- }
170
- ]
171
- }
172
- ]
173
- }
174
- ]
175
- }
@@ -1,65 +0,0 @@
1
- {
2
- "versions": [
3
- {
4
- "version": "0",
5
- "packetFields": [
6
- {
7
- "name": "sensorPayload",
8
- "byteOffset": 5,
9
- "byteLength": 16,
10
- "bitOffset": 0,
11
- "bitLength": 128,
12
- "outType": "uint"
13
- },
14
- {
15
- "name": "sensorId",
16
- "byteOffset": 21,
17
- "byteLength": 6,
18
- "bitOffset": 0,
19
- "bitLength": 48,
20
- "outType": "uint"
21
- },
22
- {
23
- "name": "sensorServiceId",
24
- "byteOffset": 27,
25
- "byteLength": 1,
26
- "bitOffset": 0,
27
- "bitLength": 8,
28
- "outType": "uint"
29
- },
30
- {
31
- "name": "sensorUuidMsb",
32
- "byteOffset": 28,
33
- "byteLength": 1,
34
- "bitOffset": 0,
35
- "bitLength": 8,
36
- "outType": "uint"
37
- },
38
- {
39
- "name": "sensorUuidLsb",
40
- "byteOffset": 29,
41
- "byteLength": 1,
42
- "bitOffset": 0,
43
- "bitLength": 8,
44
- "outType": "uint"
45
- },
46
- {
47
- "name": "rssi",
48
- "byteOffset": 30,
49
- "byteLength": 1,
50
- "bitOffset": 0,
51
- "bitLength": 8,
52
- "outType": "uint"
53
- },
54
- {
55
- "name": "apiVer",
56
- "byteOffset": 31,
57
- "byteLength": 1,
58
- "bitOffset": 0,
59
- "bitLength": 8,
60
- "outType": "uint"
61
- }
62
- ]
63
- }
64
- ]
65
- }