Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce nsapi dns response timeout to 2s #1009

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

fabik111
Copy link

Currently the nsapi is configured with a default value of 10s of timeout and with 10 attempts before failure.
In case internet is not available (but the board is correctly connected to the AP), with this set of parameters the sketch is waiting for 100 s stopping the main loop. If you are using an ArduinoIoTCloud sketch the board is rebooted by the watchdog timer

@fabik111 fabik111 marked this pull request as ready for review January 7, 2025 09:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant