Skip to content

Optimized getTime management #41

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
Mar 21, 2019
Merged

Conversation

ilcato
Copy link
Contributor

@ilcato ilcato commented Mar 19, 2019

Removed CONNECTION_STATE_GETTIME state in the connection manager classes.
The status IOT_STATUS_CLOUD_CONNECTING and IOT_STATUS_CLOUD_RECONNECTING are able to loop until a valid time is returned. Furthermore, with the fallback to time.arduino.cc the need to retry has a very low probability.

@ilcato ilcato requested a review from ubidefeo March 19, 2019 11:41
@ilcato ilcato force-pushed the optimize-get-time-management branch from 7ccf79b to 221c922 Compare March 21, 2019 10:48
Copy link
Collaborator

@ubidefeo ubidefeo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this looks clean and leaner.
@lxrobotics how hard is it to implement #43 over this?

@aentinger
Copy link
Contributor

I don't believe there will be a problem 👍 You can merge this and I shall perform a rebase on #43.

@ubidefeo ubidefeo merged commit 15881a0 into master Mar 21, 2019
@ubidefeo
Copy link
Collaborator

all clear for the rebase for #43 , @lxrobotics
thank you, @ilcato

@aentinger aentinger deleted the optimize-get-time-management branch March 22, 2019 05:06
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.

3 participants