A library for certifying Wiliot-compliant boards
Project description
wiliot-certificate
wiliot-certificate is a python library with tools used to test & certify boards and their compatibility with Wiliot's echosystem. This python package includes the following CLI utilities:
- Gateway Certificate (
wlt-gw-certificate)
Installing wiliot-certificate
pip install wiliot-certificate
Using wiliot-certificate
Gateway Certificate
Test Wiliot GWs capabilities. The GW Certificate includes different test that run sequentially to test each capability reported by the GW. To run the GW Certificate the GW needs to use a public MQTT Broker (Eclipse):
Host: mqtt.eclipseprojects.io TLS TCP Port: 8883 TLS Websocket Port: 443 TCP Port: 1883 Websocket Port: 80
More information can be found at https://mqtt.eclipseprojects.io/.
Connection Test
Processes status packet sent by the GW to the MQTT Broker and validates it according to API Version.
Uplink Test
Simulates Wiliot MEL and validates that data is uploaded correctly to the cloud.
Downlink Test
Sends advertising actions (txPacket) via MQTT to the GW and validates their advertisements.
Stress Test
Increments time delays between packets to evaluate GW's capability in handling increasing packets per second rates.
GW Certificate Release Notes:
1.3.0:
- Released in a standalone wiliot-certificate package
- Python 3.13 support
- Gw API version 205 support
- Registration Test
usage: wlt-gw-certificate [-h] -owner OWNER -gw GW [-suffix SUFFIX] [-tests {connection,uplink,downlink,stress}]
Gateway Certificate - CLI Tool to test Wiliot GWs
required arguments:
-gw GW Gateway ID
-owner OWNER Owner ID (optional when running only the registration test)
optional arguments:
-suffix Allow for different suffixes after the GW ID in MQTT topics
-tests Pick specific tests to run
-update Update the firmware of the test board
-pps Pick specific PPS rate for the stress test
-agg Time the uplink stages should wait before processing packets
-h, --help show this help message and exit
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wiliot_certificate-1.3.0a1.tar.gz.
File metadata
- Download URL: wiliot_certificate-1.3.0a1.tar.gz
- Upload date:
- Size: 656.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
344eb2d9751fce8002f93548fb5b0a9e57a9df7b334166f6c0c330ccef85f9f0
|
|
| MD5 |
8838e97b409d11877f921a63953f81fe
|
|
| BLAKE2b-256 |
d325c77e1da658fb9f8e3bbca8b77efd965da1fb721608eb68f11c41d1a2f76e
|
File details
Details for the file wiliot_certificate-1.3.0a1-py3-none-any.whl.
File metadata
- Download URL: wiliot_certificate-1.3.0a1-py3-none-any.whl
- Upload date:
- Size: 695.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c0a28f0c6e343a82519b14553e472bda47fbcb76045144abc0a7cdaa0b40efa5
|
|
| MD5 |
1076001fdf04595536547f328053b7ac
|
|
| BLAKE2b-256 |
c29c78e85854ed95d644d173ed6e3bf7c01c3555c9a74d3aaed70ed545113158
|