mirror of
https://github.com/espressif/openthread.git
synced 2026-06-05 21:14:49 +00:00
68c78d357e
This commit extends the 'dataset hex' command in the bbtc.py script by allowing dataset TLVs to be set using a hex-encoded format. Till now the 'dataset hex' command was only printing the 'ThreadDataset' object values in hex-encoded format, there was no functionality to set the TLVs using hex-encoded format. The 'dataset hex' command has been modified so the user can pass dataset TLVs in hex-encoded format as an argument to this command. This enables the script to set desired dataset TLVs in one command, instead of calling dataset commands individually. Example usage: 'dataset hex <hex-encoded TLVs>'