mirror of
https://github.com/espressif/openthread.git
synced 2026-06-05 21:14:49 +00:00
9942b98a4a
This commit adds 'tlv' command tree to the BBTC CLI. The 'tlv' command has two subcommands: 'list' and 'send'. The 'tlv list' prints available TLVs types that can be used in the 'send' subcommand. The 'tlv send <TLV_TYPE> <TLV_PAYLOAD>' allows sending specific TLV with arbitrary payloads. Example: `tlv send a 1234` Send ping TLV(0x0a) with payload '1234' The 'tlv' command tree is to gain the ability to send the TLV with any payload at any time. This feature allows to check the behavior of TCAT device against: - receiving of unexpected TLV - receiving of TLV with corrupted payload - receiving of TLVs sent in custom order