10-19-2021, 01:39 PM
(10-19-2021, 12:17 PM)nelstomlinson Wrote: Wibble, I was thinking of giving the GPS its initial fix manually, rather than having it get the info from the cell towers. I do like the thought of having the option to leave GPS off entirely, and provide a manually entered location to any app that wants it.
There's no method of giving the modem your location documented in the GNSS AT command manual, so I'm assuming it's not an option. There may be a way in the native qualcomm interface, but I'm guessing not. The AGPS data you download and feed to the modem is just the almanac and ephemeris data it would otherwise need to receive via the satellite signal, a process that is slow by its nature, and prone to errors due to the poor signal to noise ratio from the small printed antenna in the phone. Without that data it can't calculate a fix. Once it has that data getting the fix is usually quick enough that you wouldn't notice any improvement from telling it roughly where it is.