mirror of
https://github.com/espressif/openthread.git
synced 2026-09-10 11:10:08 +00:00
[diag] support send security processed frames (#10640)
This commit extends the `diag frame` command by adding an argument `-s` to indicate whether the frame has been encrypted or not, so that the diag commands can be used to test frames having security processed in the host.
This commit is contained in:
@@ -152,6 +152,13 @@ send "diag repeat 1\n"
|
||||
expect "length 0x7f"
|
||||
expect "Done"
|
||||
|
||||
send_user "send frame with security processed\n"
|
||||
send "diag frame -s 112233\n"
|
||||
expect "Done"
|
||||
send "diag send 1\n"
|
||||
expect "length 0x3"
|
||||
expect "Done"
|
||||
|
||||
send "diag repeat stop\n"
|
||||
expect "Done"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user