Skip to content

Instantly share code, notes, and snippets.

@agners
agners / tlv-parser.py
Last active September 22, 2025 08:48
Thread credentials dataset TLV parser
#!/bin/env python3
import binascii
import sys
MESHCOP_TLV_TYPE = {
"CHANNEL": 0,
"PANID": 1,
"EXTPANID": 2,
"NETWORKNAME": 3,