mirror of
https://github.com/espressif/openthread.git
synced 2026-08-12 13:47:47 +00:00
[cli] IPv6 counters (#6771)
Add CLI command for IPv6 packet success and failures during transmission and reception.
This commit is contained in:
@@ -34,19 +34,26 @@ spawn_node 1
|
||||
send "counters\n"
|
||||
expect "mac"
|
||||
expect "mle"
|
||||
expect "ip"
|
||||
expect_line "Done"
|
||||
send "counters mac\n"
|
||||
expect_line "Done"
|
||||
send "counters mle\n"
|
||||
expect_line "Done"
|
||||
send "counters ip\n"
|
||||
expect_line "Done"
|
||||
send "counters mac reset\n"
|
||||
expect_line "Done"
|
||||
send "counters mle reset\n"
|
||||
expect_line "Done"
|
||||
send "counters ip reset\n"
|
||||
expect_line "Done"
|
||||
send "counters mac 1\n"
|
||||
expect "Error 7: InvalidArgs"
|
||||
send "counters mle 1\n"
|
||||
expect "Error 7: InvalidArgs"
|
||||
send "counters ip 1\n"
|
||||
expect "Error 7: InvalidArgs"
|
||||
send "counters other\n"
|
||||
expect "Error 7: InvalidArgs"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user