We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'd like to be able to configure the retry delay for WiFi reconnections in WiFiConnectionHandler.
WiFiConnectionHandler
Currently, the value is hardcoded in CHECK_INTERVAL_TABLE as 500ms:
CHECK_INTERVAL_TABLE
Arduino_ConnectionHandler/src/ConnectionHandlerDefinitions.h
Lines 191 to 204 in 432961a
This causes excessive retry attempts and floods the serial output when the WiFi is unavailable.
It would be great to:
setReconnectInterval(NetworkConnectionState state, uint32_t delay_ms)
I'm working on an Arduino IoT Cloud project using Opta and want to increase the reconnection interval to 10 seconds to avoid WiFi flooding.
Thanks for your work!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Feature request
I'd like to be able to configure the retry delay for WiFi reconnections in
WiFiConnectionHandler
.Currently, the value is hardcoded in
CHECK_INTERVAL_TABLE
as 500ms:Arduino_ConnectionHandler/src/ConnectionHandlerDefinitions.h
Lines 191 to 204 in 432961a
This causes excessive retry attempts and floods the serial output when the WiFi is unavailable.
Proposed solution
It would be great to:
CHECK_INTERVAL_TABLE
, orsetReconnectInterval(NetworkConnectionState state, uint32_t delay_ms)
.Context
I'm working on an Arduino IoT Cloud project using Opta and want to increase the reconnection interval to 10 seconds to avoid WiFi flooding.
Thanks for your work!
The text was updated successfully, but these errors were encountered: