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.6.0a3.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.6.0a3-py3-none-any.whl (58.1 MB view details)

Uploaded Python 3

File details

Details for the file wiliot_certificate-4.6.0a3.tar.gz.

File metadata

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

File hashes

Hashes for wiliot_certificate-4.6.0a3.tar.gz
Algorithm Hash digest
SHA256 b58b3787624945863aa1ff7a3f86f60a17179ceabd89bca4dfbf562c7d960af4
MD5 53faf883d56faac0a9b92e5b63739d55
BLAKE2b-256 d882653c8dba59dccc0be37552afbe5969a68274a788e2b54aab5c6917af1e98

See more details on using hashes here.

File details

Details for the file wiliot_certificate-4.6.0a3-py3-none-any.whl.

File metadata

File hashes

Hashes for wiliot_certificate-4.6.0a3-py3-none-any.whl
Algorithm Hash digest
SHA256 95733942ed5963bb0a2ac2e91c45dc7a671c91c77e5f40934f9eb910b6ac2e9c
MD5 f7e3380cdc11ccfa83bd40852743a4c8
BLAKE2b-256 4833155fc03e5de0f3cafce9f412a4e97e47bcc9287274c51d5275ffb77c8973

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