Skip to main content

A library for certifying Wiliot-compliant boards

Project description

wiliot-certificate

wiliot-certificate is a Python library that provides tools for testing and certifying boards for compatibility with Wiliot’s ecosystem. This python package includes the following tools:

  • Certification Wizard (wlt-cert)
  • Certificate CLI (wlt-cert-cli)
  • Tester Upgrade (wlt-cert-tester-upgrade)
  • Registration Certificate Test (wlt-cert-reg)
  • Wiliot Board Type Management CLI (wlt-btm)

Versioning:

wiliot-certificate versions 4.5.x are compatible with firmware version >=4.4.0.

  • Bridge API version >= 12
  • Gateway API version >= 203

Installing wiliot-certificate

pip install wiliot-certificate

Using wiliot-certificate

Certification

wlt-cert

This tool is the default to test and certify your device. It runs a setup wizard that walks you through the initialization steps before running the tests. You'll need a validation schema and a tester device. Once set up it opens a terminal and tests your device.

Certificate CLI

wlt-cert-cli -h

CLI version of the certificate. Use -h for details on the different arguments.

Tester Upgrade

wlt-cert-tester-upgrade

Upgrades the firmware of the tester device to the version required for certification.

Registration Certificate

wlt-cert-reg

Certify the gateway registration process to Wiliot platform. The gateway must use Wiliot production MQTT broker, and mustn't be registered to any account on Wiliot platform. Use -h for details on the arguments (see Registration for more info).

Wiliot Board Type Management

wlt-btm

CLI tool for managing board type versions in Wiliot's Board Type Management (BTM) system. This tool allows you to manage firmware versions for gateways and bridges.

Key Features:

  • Board Types: List available board types

    wlt-btm --env aws --server prod --token AAbbCC11... --get_board_types
    
  • Get Versions: Retrieve available versions for board types

    wlt-btm --env aws --server prod --token AAbbCC11... --get --ifc wifi
    
  • Post New Versions: Set new firmware versions for gateways or bridges

    wlt-btm --env aws --server prod --token AAbbCC11... --post --ifc wifi --unified 4.5.0 --wifi 4.5.0 --ble 4.5.0
    
  • File Management: Upload/download firmware files and validation schemas

    wlt-btm --env aws --server prod --token AAbbCC11... --ifc wifi --unified 4.5.0 --put_file X.Y.Z.json
    wlt-btm --env aws --server prod --token AAbbCC11... --ifc wifi --unified 4.5.0 --put_file brg_app.bin
    
  • Beta/Official Status: Move versions between beta and official

    wlt-btm --env aws --server prod --token AAbbCC11... --ifc wifi --unified 4.5.0 --beta 0  # Move to official
    wlt-btm --env aws --server prod --token AAbbCC11... --ifc wifi --unified 4.5.0 --beta 1  # Move to beta
    

Use wlt-btm -h for complete list of arguments and options.

The following capabilities are not tested in this version

Cloud Connectivity & Misc
  • Board type registered within the Board Type Management system
Module Energy 2400
  • Functionality of energy pattern, output power and duty cycle
Module Energy SUB1G
  • Functionality of energy pattern and duty cycle
Module Datapath
  • RSSI edge cases: -127 and 0
  • Functionality of transmission pattern, output power
Calibration
  • Functionality of output power and interval calibration
  • Functionality of calibration transmission patterns for the configuration STANDARD & EU & DISABLE

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wiliot_certificate-4.5.2.tar.gz (58.0 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wiliot_certificate-4.5.2-py3-none-any.whl (58.1 MB view details)

Uploaded Python 3

File details

Details for the file wiliot_certificate-4.5.2.tar.gz.

File metadata

  • Download URL: wiliot_certificate-4.5.2.tar.gz
  • Upload date:
  • Size: 58.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.13

File hashes

Hashes for wiliot_certificate-4.5.2.tar.gz
Algorithm Hash digest
SHA256 a025f8873f421346a97ca00679d23ff63ebc12e87edaa4fa451aa25403ba5955
MD5 a6cf7aec315ba6d403fc8cbe486a1897
BLAKE2b-256 e5098d3316fde18d3c5f84aa4ca29c409294c89e4fd095facc52b68b17f7e49b

See more details on using hashes here.

File details

Details for the file wiliot_certificate-4.5.2-py3-none-any.whl.

File metadata

File hashes

Hashes for wiliot_certificate-4.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ddf0f2f67db8a6f666128ff8d2f466757c1d8cf18c062a9ce9847a0211ea9c5a
MD5 bb6e5b403dbb03e60d8b784222fcbd8b
BLAKE2b-256 85662c2e4fca6509a4784674c8cca06736bcf2c4d01125675322a6c7d9591f72

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page