1
0
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:
Kaspar Schleiser 2023-05-22 12:37:44 +02:00
parent a28f6e5a41
commit a2ef123889

View File

@ -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