Expand description
Operational network credentials for devices being commissioned.
A Thread network is given to a device as its active operational dataset:
MeshCoP TLVs (one byte of type, one byte of length, the value), as a
border router hands them out. The controller sends the dataset as it is;
it only reads the extended PAN id, which names the network in
ConnectNetwork and is the one part of the dataset safe to log.
Constants§
- MAX_
DATASET_ LEN - The largest dataset Matter’s
AddOrUpdateThreadNetworktakes.
Functions§
- parse_
thread_ dataset_ hex - Parse a dataset given as hex (whitespace ignored), as
ot-ctl dataset active -xand a border router’s REST API give it. - thread_
extended_ pan_ id - The extended PAN id of a Thread active operational dataset, after checking the dataset is well-formed and carries a network key.