mirror of
https://github.com/sharevb/it-tools.git
synced 2026-12-01 01:14:13 +03:00
Decode a Matter onboarding payload (the MT:... text of a Matter QR code) into its components: 11-digit manual pairing code (and the 21-digit code for non-standard commissioning flows), passcode and its validity, discriminator and short discriminator, vendor and product IDs, commissioning flow, discovery capabilities, payload version, raw bytes and the optional TLV data. QR codes holding several devices (payloads joined with '*') are decoded one card per device. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: sharevb <sharevb@gmail.com>