Hi guys,
I am developing an tracking app based on NRF9160. As I know, LTE only works with GPS when enabling PSM.
Here is my PSM configuration:
CONFIG_LTE_PSM_REQ_RPTAU="00000110"
CONFIG_LTE_PSM_REQ_RAT="00000000"
In my code, I am combining MQTT library and GPS controller APIs in the tracker sample.
If I disable MQTT function, the GPS function can work and get fix even though it takes quite long.
But when I enable function modem_configure() and mqtt_connect() to MQTT broker, then enable GPS.
GPS can not get a fix even though I see in the log, sometime over 4 satellites are being tracked.
I see also in the log when connecting to LTE, TAU and active time is -1, is it correct ?
And I have a question, when GPS gets fix then I start a work to send GPS data to the broker. Do I have to send AT command to active LTE to send data or just send ?
And when I have data to send, what APIs should I use to turn off GPS and enable it again after sending, assumption that I am using GPS_controller APIs in tracker sample.
We are developing several circuits using NRF9160, I need to bring it up soon for our customers.
Thanks you very much,