Question related to PSM command disablement

Hi By mistake I closed below but the issue not resolved yet.

https://devzone.nordicsemi.com/f/nordic-q-a/81276/agps-example-question-related-to-psm-command-disablement

Thanks Didrik for your reply below:

>I assume you are still using the Serial LTE Modem?

>You can disable LTE (while leaving the GNSS enabled) with AT+CFUN=20.

>So you can issue that command before you start the GPS, or after injecting the AGPS data.

>To start the LTE stack again, you can use AT+CFUN=21.

Did you tried it?

I'm asking because when try to run AT+CFUN=20 i get an error and agps doesn't work.

Israel

Parents
  • Hi,

    Yes, I have tried it, and for me, it works as expected.

    I start with sending AT+CEREG=5, and AT+CFUN=1 to conenct to the network.

    When I get the +CEREG=5 (or 1) notification indicating I am connected to the LTE network, I issue AT#XNRFCLOUD=1 to connect to nRF Cloud.

    When I get the notification saying I am connected to nRF Cloud, I use AT#XAGPS=1,1 to start the GPS, which will trigger a request for AGPS data.

    After the device has received the data and injected it into the modem, I use AT+CFUN=20 to disable LTE. This will also force a disconnection with nRF Cloud, as I no longer am connected to the network. However, the GPS will keep running.

    What error did you get, and what do you mean that "agps doesn't work"?

    Adding logs showing the errors would also be helpful understanding what is going on.

    Best regards,

    Didrik

Reply
  • Hi,

    Yes, I have tried it, and for me, it works as expected.

    I start with sending AT+CEREG=5, and AT+CFUN=1 to conenct to the network.

    When I get the +CEREG=5 (or 1) notification indicating I am connected to the LTE network, I issue AT#XNRFCLOUD=1 to connect to nRF Cloud.

    When I get the notification saying I am connected to nRF Cloud, I use AT#XAGPS=1,1 to start the GPS, which will trigger a request for AGPS data.

    After the device has received the data and injected it into the modem, I use AT+CFUN=20 to disable LTE. This will also force a disconnection with nRF Cloud, as I no longer am connected to the network. However, the GPS will keep running.

    What error did you get, and what do you mean that "agps doesn't work"?

    Adding logs showing the errors would also be helpful understanding what is going on.

    Best regards,

    Didrik

Children
No Data
Related