Skip to content

Managed exit cases for GETTIME state. Removed IDLE state. #27

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

Merged
merged 1 commit into from
Feb 7, 2019
Merged

Managed exit cases for GETTIME state. Removed IDLE state. #27

merged 1 commit into from
Feb 7, 2019

Conversation

ilcato
Copy link
Contributor

@ilcato ilcato commented Feb 7, 2019

Fix a bug for the CONNECTION_STATE_GETTIME state that keep the state machine in this state in se of:

  • loss of WiFi connection: in this case the fix will put the state in CONNECTION_STATE_DISCONNECTED and restart the WiFi connection loop

  • inability to return a valid network time: in this case the fix will put the state in CONNECTION_STATE_DISCONNECTED after MAX_GETTIME_RETRY times and restart the WiFi connection loop

@ubidefeo ubidefeo merged commit e63c706 into arduino-libraries:connection-manager Feb 7, 2019
andreagilardoni pushed a commit to andreagilardoni/ArduinoIoTCloud that referenced this pull request Jan 22, 2025
fabik111 added a commit to fabik111/ArduinoIoTCloud that referenced this pull request Jan 27, 2025
andreagilardoni pushed a commit to andreagilardoni/ArduinoIoTCloud that referenced this pull request Mar 10, 2025
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.

2 participants