-
Notifications
You must be signed in to change notification settings - Fork 12
SARA R5 clock() function always starts from "15/01/01,00:00:00+00" #56
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
Comments
Hi David (@Davefries1966 ), I think this is possibly expected behaviour? If you disconnect the power, the SARA-R5 has no way to maintain its internal clock. Are you asking if it is possible to sync the Best wishes, |
Thank you, Paul, for your immediate feedback. This is the second unit of the Asset Tracker board that I am using. I am quite sure that on the first unit, the Anyway, the answer is yes, I would like to receive the GNSS time in the Cheers, |
Hi David, With the SIM activated, the R5 will sync its clock to the network. If the network is not available, you might expect it to sync to GNSS time instead. But, it seems not to be doing that. You can set the clock manually. There are two Best, |
I think so, actually I already tried. The library exposes two
I used the second one inside the The Cheers, P.S: Maybe I need to improve the validity checks for the RMC sentence... |
Solved ! :-) It can be closed. Cheers |
Thanks David, What was the solution? Best, |
Sorry Paul, you are right. The solution was as suggested, that is, set clock (once) by the first valid GNSS fix:
Cheers and thanks again! :-) |
Hi all,
I wish to report a new issue regarding the use of the SparkFun Asset Tracker board (new sample) with an ESP32 processor in the Arduino development environment. When calling the
clock()
function from the SARA R5 library, I noticed that the time always starts from January 1, 2015, at 00:00:00 UTC, even though the RMC fixes show the correct time (today being April 1, 2025, etc.). Please note that I am using the board in Wi-Fi mode, without a SIM card. I also tried setting the clock using the m-center software, but the board does not retain the setting; every time it is powered off and on again, the time resets to January 1, 2015.Thank you in advance for your support!
David Frittella
The text was updated successfully, but these errors were encountered: