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

case about ncs v1.9.1 example serial_lte_modem at: GNSS_AT_commands.rst

Hi,

1. I tried to test AGPS, but an error was reported. The test results are as follows:

Why is the error reported? Is it that this routine does not support AGPS, or is there an error when I use the command?

2022-03-17T10:15:06.958Z INFO Application data folder: C:\Users\Peter\AppData\Roaming\nrfconnect\pc-nrfconnect-linkmonitor
2022-03-17T10:15:07.030Z DEBUG App pc-nrfconnect-linkmonitor v2.0.0 official
2022-03-17T10:15:07.031Z DEBUG App path: C:\Users\Peter\.nrfconnect-apps\node_modules\pc-nrfconnect-linkmonitor
2022-03-17T10:15:07.031Z DEBUG nRFConnect 3.10.0, required by the app is (^3.8.0)
2022-03-17T10:15:07.031Z DEBUG nRFConnect path: C:\Users\Peter\AppData\Local\Programs\nrfconnect\resources\app.asar
2022-03-17T10:15:07.031Z DEBUG HomeDir: C:\Users\Peter
2022-03-17T10:15:07.031Z DEBUG TmpDir: C:\Users\Peter\AppData\Local\Temp
2022-03-17T10:15:08.650Z INFO Modem port is opened
2022-03-17T10:15:08.659Z DEBUG modem >> AT+CFUN?
2022-03-17T10:15:08.678Z DEBUG modem << +CFUN: 0
2022-03-17T10:15:08.679Z DEBUG modem << OK
2022-03-17T10:15:14.508Z DEBUG modem >> AT%XSYSTEMMODE=0,1,1,0
2022-03-17T10:15:14.521Z DEBUG modem << OK
2022-03-17T10:15:16.420Z DEBUG modem >> AT%XCOEX0=1,1,1565,1586
2022-03-17T10:15:16.435Z DEBUG modem << OK
2022-03-17T10:15:17.676Z DEBUG modem >> AT+CPSMS=1
2022-03-17T10:15:17.690Z DEBUG modem << OK
2022-03-17T10:15:19.052Z DEBUG modem >> AT+CFUN=1
2022-03-17T10:15:19.094Z DEBUG modem << OK
2022-03-17T10:15:20.780Z DEBUG modem >> #XNRFCLOUD: 1,0
2022-03-17T10:15:20.785Z DEBUG modem << ERROR
2022-03-17T10:15:20.786Z ERROR Error: #XNRFCLOUD: 1,0
 failed
2022-03-17T10:15:22.236Z DEBUG modem >> AT#AGPS=1,1
2022-03-17T10:15:22.250Z DEBUG modem << ERROR
2022-03-17T10:15:22.252Z ERROR Error: AT#AGPS=1,1
 failed
2022-03-17T10:16:56.750Z DEBUG modem >> #XNRFCLOUD: 1,0
2022-03-17T10:16:56.756Z DEBUG modem << ERROR
2022-03-17T10:16:56.756Z ERROR Error: #XNRFCLOUD: 1,0
 failed
2022-03-17T10:17:05.306Z DEBUG modem >> #XNRFCLOUD: 1,0
2022-03-17T10:17:05.311Z DEBUG modem << ERROR
2022-03-17T10:17:05.313Z ERROR Error: #XNRFCLOUD: 1,0
 failed
2022-03-17T10:17:12.716Z DEBUG modem >> AT#XNRFCLOUD: 1,0
2022-03-17T10:17:12.721Z DEBUG modem << ERROR
2022-03-17T10:17:12.722Z ERROR Error: AT#XNRFCLOUD: 1,0
 failed
2022-03-17T10:17:28.572Z DEBUG modem >> #XNRFCLOUD: 1,0
2022-03-17T10:17:28.578Z DEBUG modem << ERROR
2022-03-17T10:17:28.581Z ERROR Error: #XNRFCLOUD: 1,0
 failed
2022-03-17T10:17:35.253Z DEBUG modem >> AT#AGPS=1,1
2022-03-17T10:17:35.267Z DEBUG modem << ERROR
2022-03-17T10:17:35.269Z ERROR Error: AT#AGPS=1,1
 failed

2. The SDK replication v1.9.1

3. The dk PCA10090 0.9.0

4. The modem 1.3.1

5. Example serial_lte_modem

Thank you for all your assistance.
Kind regards,
Peter.Min

Parents
  • Hi Peter,

    using DK v 0.9.0 you should not use modem firmware 1.3.0 or later. But it is also not recommended to down grade. 

    DK v0.15.0  and later has a Rev 2 SiP.




    Link Compatible Downloads - nordicsemi.com 

     

    Do you have a SIM card connected, looks like you are to able to connect to the network.



    I can test a V0.9.0 of the DK with modem firmware 1.3.1 and see if i gett the samme issues you have.

    Regards,
    Jonathan

  • Hi JONATHAN LL,

    My DK 0.9.0 module model is:nRF9160-SICA B0

    What were the results of the tests?

    This is the default example

    Here are my test results

    2022-04-02T03:46:50.511Z INFO Application data folder: C:\Users\Peter\AppData\Roaming\nrfconnect\pc-nrfconnect-linkmonitor
    2022-04-02T03:46:50.575Z DEBUG App pc-nrfconnect-linkmonitor v2.0.0 official
    2022-04-02T03:46:50.575Z DEBUG App path: C:\Users\Peter\.nrfconnect-apps\node_modules\pc-nrfconnect-linkmonitor
    2022-04-02T03:46:50.575Z DEBUG nRFConnect 3.10.0, required by the app is (^3.8.0)
    2022-04-02T03:46:50.575Z DEBUG nRFConnect path: C:\Users\Peter\AppData\Local\Programs\nrfconnect\resources\app.asar
    2022-04-02T03:46:50.575Z DEBUG HomeDir: C:\Users\Peter
    2022-04-02T03:46:50.575Z DEBUG TmpDir: C:\Users\Peter\AppData\Local\Temp
    2022-04-02T03:46:52.818Z INFO Modem port is opened
    2022-04-02T03:46:52.828Z DEBUG modem >> AT+CFUN?
    2022-04-02T03:46:52.847Z DEBUG modem << +CFUN: 0
    2022-04-02T03:46:52.849Z DEBUG modem << OK
    2022-04-02T03:47:06.259Z DEBUG modem >> AT%XSYSTEMMODE=0,1,1,0
    2022-04-02T03:47:06.275Z DEBUG modem << OK
    2022-04-02T03:47:15.796Z DEBUG modem >> AT%XCOEX0=1,1,1565,1586
    2022-04-02T03:47:15.812Z DEBUG modem << OK
    2022-04-02T03:47:24.914Z DEBUG modem >> AT+CPSMS=1
    2022-04-02T03:47:24.929Z DEBUG modem << OK
    2022-04-02T03:47:34.950Z DEBUG modem >> AT+CFUN=1
    2022-04-02T03:47:34.994Z DEBUG modem << OK
    2022-04-02T03:47:40.917Z DEBUG modem >> AT+CGDCONT?
    2022-04-02T03:47:40.922Z DEBUG modem << OK
    2022-04-02T03:47:45.573Z DEBUG modem >> AT+CGDCONT?
    2022-04-02T03:47:45.577Z DEBUG modem << OK
    2022-04-02T03:47:52.222Z DEBUG modem >> AT+CGDCONT?
    2022-04-02T03:47:52.227Z DEBUG modem << OK
    2022-04-02T03:47:59.844Z DEBUG modem >> AT+CGDCONT?
    2022-04-02T03:47:59.854Z DEBUG modem << +CGDCONT: 0,"IP","cmnbiot","100.114.55.188",0,0
    2022-04-02T03:47:59.863Z DEBUG modem << OK
    2022-04-02T03:48:06.748Z DEBUG modem >> AT#XNRFCLOUD=1
    2022-04-02T03:48:06.754Z DEBUG modem << OK
    2022-04-02T03:48:10.308Z DEBUG modem >> AT#XNRFCLOUD?
    2022-04-02T03:48:10.317Z DEBUG modem << #XNRFCLOUD: 0,0,16842753,"nrf-352656100375701"
    2022-04-02T03:48:10.319Z DEBUG modem << OK
    2022-04-02T03:48:15.385Z DEBUG modem >> AT#XNRFCLOUD=1
    2022-04-02T03:48:15.390Z DEBUG modem << OK
    2022-04-02T03:48:16.558Z DEBUG modem >> AT#XNRFCLOUD?
    2022-04-02T03:48:16.566Z DEBUG modem << #XNRFCLOUD: 0,0,16842753,"nrf-352656100375701"
    2022-04-02T03:48:16.567Z DEBUG modem << OK
    2022-04-02T03:48:17.878Z DEBUG modem >> AT#XNRFCLOUD=1
    2022-04-02T03:48:17.883Z DEBUG modem << OK
    2022-04-02T03:48:18.737Z DEBUG modem >> AT#XNRFCLOUD?
    2022-04-02T03:48:18.746Z DEBUG modem << #XNRFCLOUD: 0,0,16842753,"nrf-352656100375701"
    2022-04-02T03:48:18.747Z DEBUG modem << OK
    2022-04-02T03:48:40.623Z DEBUG modem >> AT#XPGPS = 1,30
    2022-04-02T03:48:40.628Z DEBUG modem << ERROR
    2022-04-02T03:48:40.629Z ERROR Error: AT#XPGPS = 1,30
     failed
    

    Thank you for all your assistance.
    Kind regards,
    Peter.Min

  • Hi,

    The issue is that the serial_lte_modem does not by default have AGPS config enabled. 

    Try setting  CONFIG_SLM_AGPS=y

    https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.9.1/nrf/applications/serial_lte_modem/doc/GNSS_AT_commands.html#id24 

    Need a SIM card with coverage and data also. 

    Regards,
    Jonathan

  • Hi JONATHAN LL,

    Thank you for all your assistance.
    Kind regards,
    Peter.Min

Reply Children
No Data
Related