mirror of
https://github.com/espressif/openthread.git
synced 2026-08-31 06:19:54 +00:00
[mle] re-attach on FTD/MTD mode changes or from rx-on to sleepy (#8484)
This commit updates behavior when device mode gets changed so to re-attach on switching between MTD/FTD modes and also on switching from rx-on to sleepy (rx-off) mode (when attached as a child). This commit also updates `test-027-child-mode-change.py` to match the new behavior.
This commit is contained in:
@@ -52,6 +52,7 @@ expect_line "Done"
|
||||
switch_node 2
|
||||
send "mode rdn\n"
|
||||
expect_line "Done"
|
||||
sleep 5
|
||||
send "state router\n"
|
||||
expect_line "Done"
|
||||
wait_for "router list" $router_id
|
||||
|
||||
Reference in New Issue
Block a user