mirror of
https://github.com/espressif/openthread.git
synced 2026-10-30 03:03:58 +00:00
[cli] add context for the user commands (#5587)
This makes using a class method as the cli handler easier.
This commit is contained in:
@@ -108,6 +108,9 @@ check()
|
||||
|
||||
sudo expect <<EOF | tee "${OT_OUTPUT}" &
|
||||
spawn ${OT_CLI_CMD}
|
||||
send "radiourl\r\n"
|
||||
expect "${RADIO_URL}"
|
||||
expect "Done"
|
||||
send "panid 0xface\r\n"
|
||||
expect "Done"
|
||||
send "ifconfig up\r\n"
|
||||
|
||||
Reference in New Issue
Block a user