[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:
Przemysław Bida
2024-07-09 10:11:39 -07:00
committed by GitHub
parent e4c50bc5df
commit bf5ddb908e
7 changed files with 107 additions and 17 deletions
+12
View File
@@ -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