[diag] correct usage of "diag frame" (#11179)

The example for the "diag frame" command uses an invalid
802.15.4 frame while not bypassing the header and security
processing with "-s" flag.
In such a case, it cannot be guaranteed that the underlying
platform will send such a frame if it can't parse the frame
IEs to check if any dynamic data is to be injected.

Switch to using a correct ACK frame.

Signed-off-by: Damian Krolik <[email protected]>
This commit is contained in:
Damian Królik
2025-01-21 08:42:04 -08:00
committed by GitHub
parent f6cee7950d
commit 8c0363c79b
+1 -1
View File
@@ -93,7 +93,7 @@ Set the frame (hex encoded) to be used by `diag send` and `diag repeat`. The fra
- Specify `-u` to specify the `mInfo.mTxInfo.mIsHeaderUpdated` field for this frame.
```bash
> diag frame 11223344
> diag frame 0200ffc0ba
Done
```