This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

question on serial_lte_modem sample

Hi 

I am evaluating the serial_lte_modem sample with pc as client but failed, could you share the cmd format for gps start function?

here is the log after I issued the xgpsrun cmd as: 

AT#XGPSRUN=1

*** Booting Zephyr OS build v2.0.99-ncs1-rc1-1162-g9a0a85cf6760  ***
[00:00:01.548,095] <inf> app: Serial LTE Modem
[00:00:06.143,280] <err> gps: Failed to set fix retry value (err: -14)
[00:00:06.143,280] <err> gps: GPS start failed: -1

Parents Reply
  • Hi Heidi,


    Sorry, one more question to this sample:
    In our test, I found the SYSTEMMODE was 0,0,1,0 after the initialization finished, even without issue the cmd "AT%XSYSTEMMODE=0,0,1,0"
    Moreover, I issued AT%XSYSTEMMODE=0,0,0,0, then reboot nrf9160 and check the SYSTEMMODE still was 0,0,1,0.
    I want to know when and where to set the SYSTEMMODE to 0,0,1,0 during the sample initialization, and how to disable it?

    Thanks!

Children
Related