Hi
We have module enabled, we download xtra via the same gsm module and right after, inject it(I checked and CFUN==1 before injecting xtra).
It looks like injection works because after delete xtra and injection it shows the new data, log below.
But the validity time remains the same and doesn’t change in time: 10080
Is there any other way than QGPSXTRADATA?, to check if extra is correctly setup?
after xtra delete: +QGPSDEL=3
[2021-11-24 10:21:05.157] [INFO][BG96]: CFUN: 1
[2021-11-24 10:21:05.202] [INFO][BG96]: gps extra data valid time: 0 [min]
[2021-11-24 10:21:05.202] [INFO][BG96]: gps extra data injection time: 1980/01/05
after xtra download and injection
[2021-11-24 10:32:13.083] [INFO][BG96]: CFUN: 1
[2021-11-24 10:32:13.129] [INFO][BG96]: gps extra data valid time: 10080 [min]
[2021-11-24 10:32:13.129] [INFO][BG96]: gps extra data injection time: 2021/11/24
We have following flow to download and inject xtra:
+QHTTPURL=40,3
CONNECT
http://xtrapath1.izatcloud.net/xtra2.bin
+QHTTPGET=80
if(download_complete) {
+QHTTPREADFILE=xtra2.bin,80
// before xdata injection we have to disable gps
+QGPSEND
+QGPSXTRA=1
+QGPSXTRATIME", "=", "%d,%s,%d,%d,%d", 0, bg96_extra_inject_ts, 1, 0, 5000);
+QGPSXTRADATA", "=", "%s", "UFS:xtra2.bin");
+QFDEL", "=", "%s", "UFS:xtra2.bin");
+QGPS", "=1");
}