Closed TomD53 closed 1 year ago
In order for the AssistNow code to operate properly, it needs an accurate unix timestamp to convert to GPS time (GPS week and GPS time of week(ms) ).
Currently getTimestampMillisGPS() set's the time to whatever the host computer's time is. This does not account for daylight savings or being in a different time zone.
This is maybe something we can make cleaner, but for now, we have to adjust this manually:
setTime(t.tm_hour, t.tm_min, t.tm_sec, t.tm_mday, t.tm_mon + 1, t.tm_year + 1900);
Testing results: The program successfully replaces the timestamp part of the aiding file, using the current timestamp obtained from the Teensy's onboard RTC - confirmed by the fact that the GPS polled time is not the time that the mgaonline.ubx file was pulled from the Ublox server.
Testing results: The AssistNow process allows the module to get a simple fix in a matter of minutes indoors and without a ground plane - this is much better than results from a non-assisted module in the exact same conditions.
This is blocking the setup (case where SD card isn't installed)
Another case where setup is getting blocked
@robosam2003 Is this file missing some code? Where can I get the file for AssistNow?
@robosam2003 Is this file missing some code? Where can I get the file for AssistNow?
Ahh I haven't shared my thingstream token yet - Not sure how private I have to keep that. - I'll DM you a string you can use
log
function is used in place of Serial.println()Any further things that need doing please comment here, this counts as an initial brainstorm
@robosam2003