Regarding AT!GPSAUTOSTART=1,1,255,5,1, where maxtime=255
(Maximum time to wait for a position fix)
• Valid range: 0–255—Number of seconds to wait
With the AirPrime MC7700, 255 behaved like infinite. Even after 10-15 minutes from turn-on to receiving GPS signal, I could still get a GPS fix.
With the AirPrive MC7354, 255 behaves like 255 seconds, resulting in error code 12 (Timeout for GPS search) in same scenario.
Is there a command/setting that allows GPS receiver to continue search indefinitely?
Or should I be initiating AT!GPSTRACK=1,255,5,1000,1 instead of autostart and reissue command if search times out?
hi,
To continue search indefinitely, you have to provide GPSTRACK command instead of auto start. If you are providing auto start then, no need to give GPSTRACK command, and after the time interval, it will provide timeout error.
Thanks - What if I want to wait until my antenna is connected before initiating the GPSTRACK session. Is there a way, programmatically, to determine if the antenna is connected? I have been experimenting with !CUSTOM=“GPSSEL”,0 or 2 but it does not return an error, and GPSSATINFO? which almost works for me but I can’t tell the difference from being disconnected vs. indoors.