I am using the GNSS sample to gather GPS. Whilst it is working it seems incomplete.
The following prj.conf settings seem to have little or no effect:
CONFIG_GNSS_SAMPLE_MODE_PERIODIC=y
CONFIG_GNSS_SAMPLE_PERIODIC_INTERVAL=120
CONFIG_GNSS_SAMPLE_PERIODIC_TIMEOUT=120
The version that I am using is from V1.9.1 however I have also downloaded and managed to compile the version from the latest SDK V2.5.1 which also does not sleep between the interval defined above.
What I'm trying to achieve is a GPS using LTC commands, however I never wish to connect to cellular, therefore PSM is of no value to me.
The difficulty is when I wish to disable the GPS and sleep with a low current draw, I was hoping to be able to achieve this using CONFIG_GNSS_SAMPLE_PERIODIC_INTERVAL and in addition preserve the hot fix capability.
My only workable option at the moment is to sleep before gaining a fix, then perform a reboot, however this also means that I am always doing a cold GPS fix.
Any help would be great.