mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
examples/suit_update: add delay before getting address of device
Without this delay, the logic skips a tentative ("TNT") address, and then times out later trying to talk to `fe80::2`.
This commit is contained in:
parent
a28f6e5a41
commit
a2ef123889
@ -94,6 +94,8 @@ def wait_for_update(child):
|
||||
|
||||
def get_ipv6_addr(child):
|
||||
child.expect_exact(">")
|
||||
# give the stack some time to make the address non-tentataive
|
||||
time.sleep(2)
|
||||
child.sendline("ifconfig")
|
||||
if USE_ETHOS == 0:
|
||||
# Get device global address
|
||||
|
Loading…
Reference in New Issue
Block a user