Skip to content

Fix: Use sketch compile time if no connection is available for estimating system time. #160

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
Jul 8, 2020

Conversation

aentinger
Copy link
Contributor

Ensure that the returned time is at least the compile time of the sketch, otherwise we might have an error scenario where no connection is available which would lead to a timestamp of 0 which would lead to the certificate being declared 'expired' and the device will be unable to connect to the server

…tch, otherwise we might have an error scenario where no connection is available which would lead to a timestamp of 0 which would lead to the certificate being declared 'expired' and the device will be unable to connect to the server
@aentinger aentinger added the type: imperfection Perceived defect in any part of project label Jul 8, 2020
@aentinger aentinger self-assigned this Jul 8, 2020
@codecov-commenter
Copy link

codecov-commenter commented Jul 8, 2020

Codecov Report

Merging #160 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #160   +/-   ##
=======================================
  Coverage   95.59%   95.59%           
=======================================
  Files          29       29           
  Lines         998      998           
=======================================
  Hits          954      954           
  Misses         44       44           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b9a6f88...8b7d458. Read the comment docs.

@aentinger
Copy link
Contributor Author

Successfully tested on DEV with MRK WiFi 1010 ✔️

@aentinger aentinger merged commit 1c1e33d into master Jul 8, 2020
@aentinger aentinger deleted the fix-time-min branch July 8, 2020 07:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: imperfection Perceived defect in any part of project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants