feat(openthread): add C5 sleep test case

This commit is contained in:
yiwenxiu
2025-11-25 17:55:47 +08:00
parent 3de4dfaf4b
commit 3ff862eb08
4 changed files with 28 additions and 9 deletions
+2 -1
View File
@@ -204,8 +204,9 @@ def reset_thread(dut: IdfDut) -> None:
def hardreset_dut(dut: IdfDut) -> None:
dut.serial.hard_reset()
time.sleep(5)
dut.expect('OpenThread attached to netif', timeout=20)
execute_command(dut, 'factoryreset')
dut.expect('OpenThread attached to netif', timeout=20)
# get the mleid address of the thread