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

As a developer, I can determine if the device's current time is correct #1116

m-mcgowan opened this issue Sep 13, 2016 · 0 comments


Copy link

commented Sep 13, 2016

When a device boots up, the current time is set to some default, which of course is not correct at all.

Once the device receives the current time from the cloud, the time is then correct (to within a few seconds, due to network latency.) The time typically remains correct while the device is powered, or sleeps.

The system firmware should track if the current time is valid:

  • when the time is received from the cloud it is valid
  • when the device sleeps and the RTC maintains the time. it is valid

IIRC the default time was some time in the past. The test for validity may be as simple as the time being later than the year 2015, or it may be involved, tracking when the time is set and that it has been maintained.

Related to #965


  • Minimum test case added
  • Device, system and user firmware versions stated
  • Particle confirmed

@m-mcgowan m-mcgowan added this to the 0.7.x milestone Sep 13, 2016

@avtolstoy avtolstoy self-assigned this Sep 29, 2016

@avtolstoy avtolstoy referenced this issue Oct 6, 2016
6 of 7 tasks complete

@technobly technobly modified the milestones: 0.7.x, 0.6.1 Nov 29, 2016

@technobly technobly closed this Dec 13, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
3 participants
You can’t perform that action at this time.