Hi - been sifting through the copious amount of information trying to et GPS/GNSS working. I can get the at command to tell me its got fix, sat info etc., but certain things like GPSTRACK (ati!gpstrack?, or at!gpstrack=whatever config) just says “ERROR” without a code. I’ve seen this other places as well - feels like I’m missing a ‘debug’ mode or ‘log error level’ setting somewhere, but I’m not finding anything. Can someone point me in the right direction?
you can first type AT!GPSEND=0 first, and then try the AT!GPSFIX command.
at!gpsend=0
OK
AT!GPSFIX=1,60,60
OK
ati3
Manufacturer: Sierra Wireless, Incorporated
Model: MC7455
Revision: SWI9X30C_02.30.01.01 r7792 CARMD-EV-FRMWR2 2018/07/13 02:24:52
MEID: 35907206044378
IMEI: 359072060443781
IMEI SV: 16
FSN: LQ648230020110
+GCAP: +CGSM
OK
I’m not sure what that expected output of that was, but here’s what I see:
at!gpsfix?
ERROR
at!entercnd="A710"
OK
at!gpsfix?
ERROR
at!gpsend=0
OK
at!gpsfix?
ERROR
at!gpsfix=1,60,60
OK
ati3
Manufacturer: Sierra Wireless, Incorporated
Model: MC7455
Revision: SWI9X30C_02.30.01.01 r7792 CARMD-EV-FRMWR2 2018/07/13 02:24:52
MEID: 35907206879871
IMEI: 359072068798715
IMEI SV: 16
FSN: LQ040205410110
+GCAP: +CGSM
OK
at!gpsfix?
ERROR
at!gpstrack?
ERROR
Keep in mind, one of the things I’m curious about is why I’m getting “ERROR” and not “ERR=some number” etc. GPS appears to be working, but I’ve been trying to get the NMEA data out of it on ttyUSB1 and getting nowehere.
at!gpsloc?
Lat: 37 Deg 20 Min 17.15 Sec N (0x006A34C6)
Lon: 121 Deg 54 Min 57.20 Sec W (0xFEA5378F)
Time: 2021 05 17 0 16:06:46 (GPS)
LocUncAngle: 0.0 deg LocUncA: 11 m LocUncP: 5 m HEPE: 12.083 m
3D Fix
Altitude: 30 m LocUncVe: 12.0 m
Heading: 0.0 deg VelHoriz: 0.0 m/s VelVert: 0.0 m/s
OK
I should have copied the satinfo before runing gpsend, but I did have a nice list of sattelites before running it.
Didn’t it already work for at!gpsfix command
Sorry, I’m not sure what you’re asking. Before I ran the commands you suggested, I could run at!gpssatinfo? and it would spit out a list of the satellites it had locked - though I’m wondering now if that was actually showing me the satellites it had lock on when it last acquired a position(?)
at!gpssatinfo?
NO SAT INFO
OK
at!gpsstatus?
Current time: 2021 05 19 2 04:59:02
2021 05 17 0 16:15:26 Last Fix Status = SUCCESS
2021 05 17 0 16:15:26 Fix Session Status = SUCCESS
TTFF (sec) = 23
OK
at!gpsfix?
ERROR
at!entercnd="A710"
OK
at!gpsfix?
ERROR
That date is a day old now for whatever that’s worth.
There is no satellite seen in your case
I get that that’s what it’s reporting, but I don’t get why - or why its not reporting them anymore as it was previously. The antenna is sitting in the middle of my back yard where I’ve used it for other projects in the past. Its been on and “looking” for satellites as I understand it (or mis-understand?) for well over 24 hours and I’m not living in a cave. In my previous project (using a GPS only module), I could get a rough fix without the antenna even being outside… My phone, from inside my living room gets a fix from 12 satellites. Granted there’s more going on in my phone, but still… something fishy is going on.
Maybe too cloudy today
Doesn’t get much more clear out…