[cli] add targetpower command support (#11321)

This commit is contained in:
Zhanglong Xia
2025-03-04 21:47:45 -08:00
committed by GitHub
parent b1ca77aae9
commit a470e8bf0d
4 changed files with 54 additions and 0 deletions
+9
View File
@@ -123,6 +123,15 @@ send "txpower\n"
expect -- "-10 dBm"
expect_line "Done"
send "targetpower 12 1000\n"
expect_line "Done"
send "targetpower 12 -1000\n"
expect_line "Done"
send "targetpower 10 1000\n"
expect_line "Error 7: InvalidArgs"
send "thread version\n"
expect_line "Done"