kopia lustrzana https://github.com/espressif/esp-idf
Merge branch 'bugfix/add_input_init_of_dut_for_openthread_ci' into 'master'
openthread CI: add input init of dut for openthread CI See merge request espressif/esp-idf!23428pull/11283/head
commit
83fdb4d28b
|
@ -106,14 +106,12 @@ def getDataset(dut:IdfDut) -> str:
|
||||||
|
|
||||||
|
|
||||||
def reset_thread(dut:IdfDut) -> None:
|
def reset_thread(dut:IdfDut) -> None:
|
||||||
dut.write(' ')
|
dut.expect('>')
|
||||||
dut.write('state')
|
wait(dut, 3)
|
||||||
clean_buffer(dut)
|
|
||||||
wait(dut, 1)
|
|
||||||
dut.write('factoryreset')
|
dut.write('factoryreset')
|
||||||
dut.expect('OpenThread attached to netif', timeout=20)
|
dut.expect('OpenThread attached to netif', timeout=20)
|
||||||
dut.write(' ')
|
dut.expect('>')
|
||||||
dut.write('state')
|
wait(dut, 3)
|
||||||
|
|
||||||
|
|
||||||
# get the mleid address of the thread
|
# get the mleid address of the thread
|
||||||
|
|
Ładowanie…
Reference in New Issue