tree: 43cca521b46b32e8ec3cf05667a11cf0d012a178 [path history] [tgz]
  1. Base38.py
  2. README.md
  3. requirements.txt
  4. SetupPayload.py
src/setup_payload/python/README.md

Python tool to generate and parse Matter onboarding codes

Generates and parses Manual Pairing Code and QR Code

example usage:

  • Parse
./SetupPayload.py parse MT:U9VJ0OMV172PX813210
./SetupPayload.py parse 34970112332
  • Generate
./SetupPayload.py generate --help
./SetupPayload.py generate -d 3840 -p 20202021
./SetupPayload.py generate -d 3840 -p 20202021 --vendor-id 65521 --product-id 32768 -cf 0 -dm 2

For more details please refer Matter Specification


NOTE: This tool is only capable of generating the payloads and no support to parse the payloads.