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 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

  • Hi Brian,

    CONFIG_NRF_CLOUD_LOG_LEVEL_DBG is no available in SLM app. but only in Asset_tracker.

    I tried to add this config and set it "y" . I'm adding the log file but seems like no verbose data is added and everything looks like previously.

    Israel

  • Hi,

    I checked that. I got an error. Seems like "AT#XNRFCLOUD" commands doesn't work at some conditions.

    Full log will send you separately

    Israel

  • Hi Israel,

    It's just check if your issues comes from mqtt certificate on nRF Cloud or not and I can confirm that it does . More guide will be handled by mail or call tomorrow.

    //Brian

    [updated 28th of October]

    confirmed it worked out after deleting the DK which has added on nRFCloud.

    Please close this case and open a new one if you have further issues. Thanks for your patience.

    //Brian

Reply
  • Hi Israel,

    It's just check if your issues comes from mqtt certificate on nRF Cloud or not and I can confirm that it does . More guide will be handled by mail or call tomorrow.

    //Brian

    [updated 28th of October]

    confirmed it worked out after deleting the DK which has added on nRFCloud.

    Please close this case and open a new one if you have further issues. Thanks for your patience.

    //Brian

Children
No Data
Related