Updated to be pure bash and remove references to the web pages.

This commit is contained in:
Scott Garrett committed 2026-09-01 17:40:24 -04:00
1 parent 589ebaff46
commit f56678833e
7 files changed
+133 -1719

No files matched your search

+3 -3
View File
@@ -2,9 +2,9 @@
#
# matter-decode.sh — decode a Matter commissioning QR code (MT: URI) from the CLI.
#
# This is a bash port of the decode logic in matter-qr-decoder.html (the browser
# app's camera/QR-scanning feature has no shell equivalent and is intentionally
# omitted). It decodes the 84-bit payload and prints the same fields the web UI shows.
# This decodes the Matter 84-bit payload (the format a Matter/CHIP commissioning
# QR encodes) and prints the fields a commissioning app (Apple Home, Google Home,
# the Matter app) needs to pair with the device.
#
# Usage:
# ./matter-decode.sh "MT:..."