mirror of
https://github.com/espressif/openthread.git
synced 2026-07-29 07:07:47 +00:00
[tcat] implementation of tcat Ping command (#10484)
Commit implements Tcat ping command `kTlvPing`. Signed-off-by: Przemyslaw Bida <[email protected]>
This commit is contained in:
@@ -46,6 +46,18 @@ send "thread start\n"
|
||||
expect_line "\tTYPE:\tRESPONSE_W_STATUS"
|
||||
expect_line "\tVALUE:\t0x00"
|
||||
|
||||
send "ping\n"
|
||||
expect_line "\tTYPE:\tRESPONSE_W_PAYLOAD"
|
||||
expect_line "\tLEN:\t10"
|
||||
|
||||
send "ping 255\n"
|
||||
expect_line "\tTYPE:\tRESPONSE_W_PAYLOAD"
|
||||
expect_line "\tLEN:\t255"
|
||||
|
||||
send "ping 512\n"
|
||||
expect_line "\tTYPE:\tRESPONSE_W_PAYLOAD"
|
||||
expect_line "\tLEN:\t512"
|
||||
|
||||
send "exit\n"
|
||||
expect eof
|
||||
|
||||
|
||||
Reference in New Issue
Block a user