feat(openthread): add C5 sleep test case

This commit is contained in:
yiwenxiu
2025-11-25 17:55:47 +08:00
parent e67bda4c64
commit 3feac750e3
4 changed files with 26 additions and 11 deletions
+2 -1
View File
@@ -208,8 +208,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