nrf9160, AGPS works longer than GPS

We use nRF9160 on our own board.
The firmware "Serial lte modem" is installed on the chip with a connection to an external MCU (#define MQTT_MESSAGE_BUFFER_LEN 8192)
We tested the environment with periodic switching from AGPS to GPS.
And in tests, we constantly see that the operating time with AGPS is twice as long as with just using GPS.

Average waiting time when using AGPS: 1 minute + 10-15 seconds;
Average waiting time when using GPS: 30-40 seconds.

What could be the reason for such behavior?
It was expected that the operating time with AGPS would be significantly faster than with GPS.

The command sequence for AGPS:
AT+CEREG=5
AT+CFUN=1
AT#XNRFCLOUD=1
AT#XAGPS=1,1

The command sequence for GPS:
AT+CEREG=5
AT+CFUN=31
AT#XGPS=1,1

The tests were carried out statically, without movement.




Parents Reply
  • Hi,

     

    You are counting from the wrong timestamp. You must compare the two options when the GPS is actually running.

    When using AGPS, you will first download GPS data from the internet, then you'll have to wait until the GPS can run (ie. LTE Link is idle) before you will get valid pvt/nmea frames.

     

    If your conclusion is that you do not need AGPS, that is an application specific decision, but we do offer this to avoid a cold start scenario for the GPS. 

     

    Kind regards,

    Håkon

Children
No Data
Related