mirror of
https://github.com/espressif/openthread.git
synced 2026-09-13 20:50:05 +00:00
[cli][tcat] fix 'devid' command output to comply to README file description and default OT CLI style (#11802)
This commit is contained in:
@@ -293,11 +293,16 @@ exit:
|
|||||||
/**
|
/**
|
||||||
* @cli tcat devid
|
* @cli tcat devid
|
||||||
* @code
|
* @code
|
||||||
* tcat devid ianapen f378aabb
|
* tcat devid f378aabb
|
||||||
|
* Done
|
||||||
|
* @endcode
|
||||||
|
* @code
|
||||||
|
* tcat devid
|
||||||
|
* f378aabb
|
||||||
* Done
|
* Done
|
||||||
* @endcode
|
* @endcode
|
||||||
* @cparam tcat devid [@ca{value}|clear]
|
* @cparam tcat devid [@ca{value}|clear]
|
||||||
* * The `value` hexstring value of the ID. `clear` is a special value removing previously set ID.
|
* * The `value` hexstring value of the ID. `clear` is a special value to remove the previously set ID.
|
||||||
* @par
|
* @par
|
||||||
* Sets/clears vendor specific device ID.
|
* Sets/clears vendor specific device ID.
|
||||||
*/
|
*/
|
||||||
@@ -309,7 +314,6 @@ template <> otError Tcat::Process<Cmd("devid")>(Arg aArgs[])
|
|||||||
{
|
{
|
||||||
if (sGeneralDeviceId.mDeviceIdLen != 0)
|
if (sGeneralDeviceId.mDeviceIdLen != 0)
|
||||||
{
|
{
|
||||||
OutputLine("TCAT DeviceId:");
|
|
||||||
OutputBytesLine(sGeneralDeviceId.mDeviceId, sGeneralDeviceId.mDeviceIdLen);
|
OutputBytesLine(sGeneralDeviceId.mDeviceId, sGeneralDeviceId.mDeviceIdLen);
|
||||||
}
|
}
|
||||||
ExitNow();
|
ExitNow();
|
||||||
|
|||||||
Reference in New Issue
Block a user