samples: net: cellular_modem: increase the post-restart sleep time
A higher delay helps in getting the first post-restart echo packet to be successful. Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
This commit is contained in:
parent
cf7d166fc1
commit
8ca15cedc2
@ -376,7 +376,7 @@ int main(void)
|
||||
printk("L4 connected\n");
|
||||
|
||||
/* Wait a bit to avoid (unsuccessfully) trying to send the first echo packet too quickly. */
|
||||
k_sleep(K_SECONDS(1));
|
||||
k_sleep(K_SECONDS(5));
|
||||
|
||||
ret = sample_echo_packet(&sample_test_dns_addrinfo.ai_addr,
|
||||
sample_test_dns_addrinfo.ai_addrlen, port);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user