wiliot-certificate 4.4.1__py3-none-any.whl → 4.4.3__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.
- brg_certificate/cert_results.py +2 -2
- gw_certificate/gw_certificate.py +2 -2
- gw_certificate/interface/{4.4.91_app.zip → 4.4.93_app.zip} +0 -0
- gw_certificate/interface/{4.4.91_sd_bl_app.zip → 4.4.93_sd_bl_app.zip} +0 -0
- gw_certificate/interface/uart_if.py +2 -2
- {wiliot_certificate-4.4.1.dist-info → wiliot_certificate-4.4.3.dist-info}/METADATA +4 -4
- {wiliot_certificate-4.4.1.dist-info → wiliot_certificate-4.4.3.dist-info}/RECORD +11 -11
- {wiliot_certificate-4.4.1.dist-info → wiliot_certificate-4.4.3.dist-info}/WHEEL +1 -1
- {wiliot_certificate-4.4.1.dist-info → wiliot_certificate-4.4.3.dist-info}/entry_points.txt +0 -0
- {wiliot_certificate-4.4.1.dist-info → wiliot_certificate-4.4.3.dist-info}/licenses/LICENSE +0 -0
- {wiliot_certificate-4.4.1.dist-info → wiliot_certificate-4.4.3.dist-info}/top_level.txt +0 -0
brg_certificate/cert_results.py
CHANGED
|
@@ -117,7 +117,7 @@ def generate_results_files(html=True, pdf=True, failures=0, skipped=0, start_tim
|
|
|
117
117
|
f.write("<p><a href='https://bitbucket.org/wiliot/wiliot-nordic-firmware/commits/{}'>Commit page on bitbucket</a><hr>".format(os.environ['BITBUCKET_COMMIT']))
|
|
118
118
|
f.write(update_status + "<br><br>")
|
|
119
119
|
f.write(error + "<br><br>")
|
|
120
|
-
f.write(f"{RUN_DUR}: {str(duration).split(
|
|
120
|
+
f.write(f"{RUN_DUR}: {str(duration).split('.')[0]} <br><br>")
|
|
121
121
|
if brg:
|
|
122
122
|
f.write(f"{BRG} {BLE_VER}: {brg.version} <br><br>")
|
|
123
123
|
elif tests:
|
|
@@ -130,7 +130,7 @@ def generate_results_files(html=True, pdf=True, failures=0, skipped=0, start_tim
|
|
|
130
130
|
f.write("<p><a href='https://bitbucket.org/wiliot/wiliot-nordic-firmware/commits/{}'>Commit page on bitbucket</a><hr>".format(os.environ['BITBUCKET_COMMIT']))
|
|
131
131
|
f.write(update_status + "<br><br>")
|
|
132
132
|
f.write(f"{RUN_DATETIME}: {start_time.strftime('%d/%m/%Y, %H:%M:%S')} <br><br>")
|
|
133
|
-
f.write(f"{RUN_DUR}: {str(duration).split(
|
|
133
|
+
f.write(f"{RUN_DUR}: {str(duration).split('.')[0]} <br><br>")
|
|
134
134
|
f.write(f"{CERT_VER}: {CERT_VERSION} <br><br>")
|
|
135
135
|
if internal_brg:
|
|
136
136
|
f.write(f"{SIM} {BLE_MAC_ADDRESS}: {internal_brg.id_str} <br><br>")
|
gw_certificate/gw_certificate.py
CHANGED
|
@@ -55,8 +55,8 @@ class GWCertificate:
|
|
|
55
55
|
self.logger_filepath = os.path.join(self.certificate_dir, f'{self.logger_filename}.log')
|
|
56
56
|
self.mqtt_logger_filepath = os.path.join(self.certificate_dir, f'{self.logger_filename}_mqtt.log')
|
|
57
57
|
self.sniffer_logger_filepath = os.path.join(self.certificate_dir, f'{self.logger_filename}_sniffer.log')
|
|
58
|
-
self.result_html_path = os.path.join(self.certificate_dir, f
|
|
59
|
-
self.result_pdf_path = os.path.join(self.certificate_dir, f
|
|
58
|
+
self.result_html_path = os.path.join(self.certificate_dir, f"results_{self.current_datetime.strftime('%Y%m%d_%H%M%S')}.html")
|
|
59
|
+
self.result_pdf_path = os.path.join(self.certificate_dir, f"results_{self.current_datetime.strftime('%Y%m%d_%H%M%S')}.pdf")
|
|
60
60
|
self.template_engine = TemplateEngine()
|
|
61
61
|
self.env = env
|
|
62
62
|
self.error = ""
|
|
Binary file
|
|
Binary file
|
|
@@ -12,7 +12,7 @@ import pkg_resources
|
|
|
12
12
|
from gw_certificate.common.debug import debug_print
|
|
13
13
|
from gw_certificate.interface.if_defines import *
|
|
14
14
|
|
|
15
|
-
LATEST_VERSION = '4.4.
|
|
15
|
+
LATEST_VERSION = '4.4.93'
|
|
16
16
|
LATEST_VERSION_FILE = f'{LATEST_VERSION}_sd_bl_app.zip'
|
|
17
17
|
LATEST_VERSION_PATH = pkg_resources.resource_filename(__name__, LATEST_VERSION_FILE)
|
|
18
18
|
LATEST_VERSION_FILE_APP = f'{LATEST_VERSION}_app.zip'
|
|
@@ -210,7 +210,7 @@ class UARTInterface:
|
|
|
210
210
|
return_code = dfu_full_process.returncode
|
|
211
211
|
for line in dfu_full_process.stderr:
|
|
212
212
|
if NRFUTIL_FW_TOO_LOW_ERROR in line:
|
|
213
|
-
debug_print(f"DFU failed because bootloader
|
|
213
|
+
debug_print(f"DFU failed because the current bootloader version is too high.")
|
|
214
214
|
debug_print(f"Attempting to upgrade application only..")
|
|
215
215
|
dfu_app_process = subprocess.Popen(f'{nrfutil_file} dfu serial --package "{LATEST_VERSION_PATH_APP}" -p {self.comport} -fc 0 -b 115200 -t 10',
|
|
216
216
|
stderr=subprocess.PIPE, shell=True, text=True)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: wiliot_certificate
|
|
3
|
-
Version: 4.4.
|
|
3
|
+
Version: 4.4.3
|
|
4
4
|
Summary: A library for certifying Wiliot-compliant boards
|
|
5
5
|
Author-email: Wiliot <support@wiliot.com>
|
|
6
6
|
License: MIT License
|
|
@@ -30,20 +30,20 @@ Project-URL: Certified, https://www.wiliot.com/product/ambient-iot-network#partn
|
|
|
30
30
|
Classifier: Programming Language :: Python :: 3
|
|
31
31
|
Classifier: License :: OSI Approved :: MIT License
|
|
32
32
|
Classifier: Operating System :: OS Independent
|
|
33
|
-
Requires-Python: >=3.
|
|
33
|
+
Requires-Python: >=3.9
|
|
34
34
|
Description-Content-Type: text/markdown
|
|
35
35
|
License-File: LICENSE
|
|
36
36
|
Requires-Dist: jinja2>=3.1.5
|
|
37
37
|
Requires-Dist: appdirs>=1.4.4
|
|
38
38
|
Requires-Dist: plotly>=6.0.0
|
|
39
|
-
Requires-Dist: numpy>=
|
|
39
|
+
Requires-Dist: numpy>=1.21.5
|
|
40
40
|
Requires-Dist: pandas>=2.2.3
|
|
41
41
|
Requires-Dist: colorama>=0.4.6
|
|
42
42
|
Requires-Dist: tabulate>=0.9.0
|
|
43
43
|
Requires-Dist: wiliot-core>=5.9.1
|
|
44
44
|
Requires-Dist: paho-mqtt>=2.1.0
|
|
45
45
|
Requires-Dist: bitstruct>=8.20.0
|
|
46
|
-
Requires-Dist: protobuf>=
|
|
46
|
+
Requires-Dist: protobuf>=6.30.0
|
|
47
47
|
Requires-Dist: wiliot-api>=4.10.8
|
|
48
48
|
Requires-Dist: jsonschema>=4.23.0
|
|
49
49
|
Requires-Dist: statsmodels>=0.14.4
|
|
@@ -9,7 +9,7 @@ brg_certificate/cert_gw_sim.py,sha256=MWxNKNCVqQEyDKc66VhGz1_KsOczvn0sjaSyvYH15F
|
|
|
9
9
|
brg_certificate/cert_mqtt.py,sha256=dcAOsULShN9VmppT150wNwbPRjIdutLnTGlb_MfWpXk,16859
|
|
10
10
|
brg_certificate/cert_prints.py,sha256=s0u0Omnq1aruo0CkS_7p4hqpD-fSRx7ih9vJ4x9cbcU,7045
|
|
11
11
|
brg_certificate/cert_protobuf.py,sha256=1jiPIYBFkA21iClxn2fC3GEQzdh7wLB01pdddwXMX-g,3542
|
|
12
|
-
brg_certificate/cert_results.py,sha256=
|
|
12
|
+
brg_certificate/cert_results.py,sha256=k6EKex2mG28ev8s8VsNfXGg28hiUn133ASGla7B3WnA,20870
|
|
13
13
|
brg_certificate/cert_utils.py,sha256=zFQFNxNOi5AH92JgWknZv9NZN-sz-G-dh7sOzz_SRgw,16550
|
|
14
14
|
brg_certificate/certificate_bcc_sanity_test_list.txt,sha256=SURuNOLuIO7xzh5KnMBYYzwMjZlcLqGaPLwBdqxCKbc,2281
|
|
15
15
|
brg_certificate/certificate_bcc_test_list.txt,sha256=WduySF_fWZ3HK1Wr4zGfFNiyRL8ONsIV9D7vyBCpmig,3332
|
|
@@ -134,7 +134,7 @@ brg_certificate/tests/sensors/ext_sensor_test/ext_sensor_test.py,sha256=uYlOSAo-
|
|
|
134
134
|
common/wlt_logo.png,sha256=21DEhCEOOBU7Zt7ocwVIKU_CKUoHXScc3ej5VAzVsjM,132154
|
|
135
135
|
gw_certificate/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
136
136
|
gw_certificate/cert_results.py,sha256=y299oQ3TW4xYp0aM20txqvt7ufsUXSunqg2HN3M5emQ,8856
|
|
137
|
-
gw_certificate/gw_certificate.py,sha256=
|
|
137
|
+
gw_certificate/gw_certificate.py,sha256=N1c7MmXrW2fMqzG2woe3H17CqJvGyoKAzhEgLjkBcsc,6845
|
|
138
138
|
gw_certificate/gw_certificate_cli.py,sha256=FZ_A3A6UttACNo56WwhqAl0ZwfOFJDcBgS3q0tH_Mnk,4869
|
|
139
139
|
gw_certificate/ag/ut_defines.py,sha256=HgrljTmPpKyxj6zYbnrLz1oVdSiAI4voG24d5diSQXc,16892
|
|
140
140
|
gw_certificate/ag/wlt_types.py,sha256=WFiRPs0E0fN5f-9a9l0y8zjDNAR4Xfmon2k8n7rqODk,3637
|
|
@@ -169,8 +169,8 @@ gw_certificate/common/utils.py,sha256=yjE6kdmMIRyQ0rPm56zZroi8a9zY4GnincmOPOL6rJ
|
|
|
169
169
|
gw_certificate/common/utils_defines.py,sha256=zLWKQBZscX1AVwBdJcM5GgZTJ5aYJWhQ1vjwX25EZrM,543
|
|
170
170
|
gw_certificate/common/wltPb_pb2.py,sha256=DPFrv5IVbxBUpmGRXO6iZjp-QwWUUaD9c37lMZnQoCM,8686
|
|
171
171
|
gw_certificate/common/wltPb_pb2.pyi,sha256=OcVo8ehkzIQ9EZoXp4om_kT2Any32stYKTTQvUsPEMU,11472
|
|
172
|
-
gw_certificate/interface/4.4.
|
|
173
|
-
gw_certificate/interface/4.4.
|
|
172
|
+
gw_certificate/interface/4.4.93_app.zip,sha256=G1COeiH5A_piNrmHScDbPLhKctzJpOWoi0oBjTRNmQE,171493
|
|
173
|
+
gw_certificate/interface/4.4.93_sd_bl_app.zip,sha256=zSTpqjbJzUkN5-Rk7pfterajIR4ANVN21Td0xd1izIQ,368941
|
|
174
174
|
gw_certificate/interface/ble_simulator.py,sha256=mdH28n2-pdywKGrTc4nqmyIThNpM68Qf4ICzzeCuxbE,2678
|
|
175
175
|
gw_certificate/interface/ble_sniffer.py,sha256=S5AtT_3gWlm3FCmQSR4KnCIfnr70E9LgQPtQEJs1YFM,6869
|
|
176
176
|
gw_certificate/interface/flash_fw.py,sha256=yAAAY9pBtlvzab0YFvHP48F8XBLmVm8OxkejiyCr7xo,2724
|
|
@@ -180,7 +180,7 @@ gw_certificate/interface/nrfutil-linux,sha256=9Fzy9VLSzL5dwEWh4HJUFdfmXH69gTrUVV
|
|
|
180
180
|
gw_certificate/interface/nrfutil-mac,sha256=YG-iPLwnYUFjwYriqaGaFtYuIj-0T4TkeSWkJ638HWQ,15839744
|
|
181
181
|
gw_certificate/interface/nrfutil.exe,sha256=_uOu7RhDpL_8CCdHzqYNwHKSnrNuZ9Ysij_XRx4NyS0,16155851
|
|
182
182
|
gw_certificate/interface/pkt_generator.py,sha256=yOSCEj8Ybjsq_u6tVmpsbkwYmLFqZR2eIk9k09AIsUM,22174
|
|
183
|
-
gw_certificate/interface/uart_if.py,sha256=
|
|
183
|
+
gw_certificate/interface/uart_if.py,sha256=8BFz9ynh6q5cgACEjc0Y8ply2heAS7uWZsIGsHryzzw,10360
|
|
184
184
|
gw_certificate/interface/uart_ports.py,sha256=HOIdrkr8OtALhoorT51k_tvSh6VYholR2ey4_WwcIAk,547
|
|
185
185
|
gw_certificate/templates/results.html,sha256=w3kqslWDpHb1oYKSbY10RMDZe9HeI-O-GRP15oQIijA,12694
|
|
186
186
|
gw_certificate/templates/stage.html,sha256=o89N0DWCIs2foA9YzommBZ09EPPN7lytiEsHoXD6fWU,1009
|
|
@@ -202,9 +202,9 @@ gw_certificate/tests/static/generated_packet_table.py,sha256=HDESJ-VF41RiZRKmrPA
|
|
|
202
202
|
gw_certificate/tests/static/packet_table.csv,sha256=dGPSheg-RHuShc8NE3SyhCBeNWxbelVBYxw2ayCB8j8,1882502
|
|
203
203
|
gw_certificate/tests/static/references.py,sha256=vVVaoC_3nEdu2OMtfr_XKxZLvnJmbDeK2pEDFkAzNtU,384
|
|
204
204
|
gw_certificate/tests/static/uplink_defines.py,sha256=PJGUpzr_mD4Z6xUKzpCR7JcD1n2rvWrNdyUYS0xQX4s,387
|
|
205
|
-
wiliot_certificate-4.4.
|
|
206
|
-
wiliot_certificate-4.4.
|
|
207
|
-
wiliot_certificate-4.4.
|
|
208
|
-
wiliot_certificate-4.4.
|
|
209
|
-
wiliot_certificate-4.4.
|
|
210
|
-
wiliot_certificate-4.4.
|
|
205
|
+
wiliot_certificate-4.4.3.dist-info/licenses/LICENSE,sha256=OL5ajUNVx888yC2ogol0BKwPRLdQAF1noGuQ7WrYiAA,1068
|
|
206
|
+
wiliot_certificate-4.4.3.dist-info/METADATA,sha256=7wq04MhsqRIKOT_j6p8m5JWCWcx_oyGjPXEM8MBZtCg,9292
|
|
207
|
+
wiliot_certificate-4.4.3.dist-info/WHEEL,sha256=DnLRTWE75wApRYVsjgc6wsVswC54sMSJhAEd4xhDpBk,91
|
|
208
|
+
wiliot_certificate-4.4.3.dist-info/entry_points.txt,sha256=19YeTHY3PnN1wbi7BcgZB0zSgRrp9bvahIX-dIMX3Sg,127
|
|
209
|
+
wiliot_certificate-4.4.3.dist-info/top_level.txt,sha256=wN_MwxdcfgPP5-WN6sRhmZnGXNbZmXalxwYdh3nb2RA,38
|
|
210
|
+
wiliot_certificate-4.4.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|