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.0a2.tar.gz (58.2 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.0a2-py3-none-any.whl (58.3 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wiliot_certificate-4.6.0a2.tar.gz
  • Upload date:
  • Size: 58.2 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.0a2.tar.gz
Algorithm Hash digest
SHA256 12758716ed4c9207a08f3b2ccedc4ce9c9457e35abdb0e63fc8fc7ecede10051
MD5 f167acd8ade00057787dd49c1332f54a
BLAKE2b-256 f69186b31a27d885a549942b02e247622e76c0cb2f83a0d8d9e772befbd93ba1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wiliot_certificate-4.6.0a2-py3-none-any.whl
Algorithm Hash digest
SHA256 dc2c8ad7a0f9b93c024e9e6494388bf6ab75ddd15972563c16ea29acf08981e8
MD5 c73a68a3b03fb153ae6b83c7c75a615c
BLAKE2b-256 e66eb70a24615ad88f8f53beffa1f9ae777c3fcc84f4275f5123396e82033fe0

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