This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

GPS example dosn't work

Hi,

I'm trying to run an example in which is in below link but seems something is missing in  the documentation seems also all commands returns "OK" but no response from GPS.

I run the SLM exactly as in below link using the latest nRF connect release.Please see attached screen shot where there is not GPS answer.

Please instruct how to debug that.

https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/applications/serial_lte_modem/doc/GNSS_AT_commands.html

Israel

Parents
  • Hi Brian,

    GPS is indeed works outside ! thanks Slight smile

    When I try to run AGPS it get and error for 2 last commands. Any ideas what could be an issue? 

    I also tried to enable "CONFIG_SLM_AGPS" in prj.conf but it doesn't help.

    Any ideas? what more should be done or maybe something missed in the document of the example?

    Best Regards,

    Israel

  • Hi Israel,

    It is supposed to work without enabling 'CONFIG_SLM_AGPS'. #NRFCLOUD should work, but it might take some time(around 30s) to be connected to cloud as below.

    But I saw 'error' after sending #XAGPS=1,1, which comes in reset. I will check more internally and get back to you.

    //

    2021-10-15T11:25:25.111Z INFO Modem port is opened
    2021-10-15T11:25:25.119Z DEBUG modem >> AT+CFUN?
    2021-10-15T11:25:25.138Z DEBUG modem << +CFUN: 0
    2021-10-15T11:25:25.140Z DEBUG modem << OK
    2021-10-15T11:27:18.424Z DEBUG modem >> AT%XSYSTEMMODE=1,0,1,0
    2021-10-15T11:27:18.444Z DEBUG modem << OK
    2021-10-15T11:27:27.402Z DEBUG modem >> AT%XCOEX0=1,1,1565,1586
    2021-10-15T11:27:27.419Z DEBUG modem << OK
    2021-10-15T11:27:36.335Z DEBUG modem >> AT+CPSMS=1
    2021-10-15T11:27:36.353Z DEBUG modem << OK
    2021-10-15T11:27:43.648Z DEBUG modem >> AT+CFUN=1
    2021-10-15T11:27:43.699Z DEBUG modem << OK
    2021-10-15T11:27:52.954Z DEBUG modem >> AT#XNRFCLOUD=1
    2021-10-15T11:27:52.964Z DEBUG modem << OK
    2021-10-15T11:27:58.184Z DEBUG modem << #XNRFCLOUD: 1,0
    2021-10-15T11:55:30.440Z DEBUG modem >> AT#XAGPS=1,1
    2021-10-15T11:55:30.457Z DEBUG modem << ERROR

    //

  • Hi Israel,

    The difference between yours and mine is the response of that command. 

     2021-10-18T09:38:54.894Z DEBUG modem << #XNRFCLOUD: 1,0

    It will take a few times to get the response and then try AGPS command.

    //Brian

  • Hi Brian,

    Exactly. the only difference is the missing response of "AT#XNRFCLOUD=1"

    I wait for a while but no response like you have :)

    Any ideas why? I guess something missing at configuration.

    Israel

  • Hi Israel,

    Have you connected to nRFCloud with this application or other applications like asset_tracker with that board?

    If not, I believe that's because your board was not registered beforehand. 

    when you issue the AT#XNRFCLOUD=1, please open nRFCloud and register your board as below:

    Then your device gets added to nrf cloud and will get expected response. Please let me know your result.

    //Brian

  • Hi Brian,

    I started to test AGPS just after registration is done to the nRF cloud. Moreover, I can see on the cloud that connection is done but I don't the response you got which is weird.

    Israel 

  • Hi Israel,

    As discussed, we will take a close look at it at c'call on Thursday.

    In the meantime, it would be nice if you can test with Asset tracker application if you still have the Cloud connection issue or not.

    //Brian

Reply Children
No Data
Related