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

NRF9160 modem: How to search NB network?

I am testing the power consumption of our products and found a problem here: when the external signal is not good, the Modem will search the NB-IoT network signal at regular intervals automatically!(about once every 2 minutes, lasting for 1 minute and 20 seconds each time)  But my application didn't set this action, and I did get a connection timeout message in the NCS w_lte_LC_connect function, so who was controlling the modem to keep searching the web at regular times?

my ncs version is 1.2.0

Parents Reply Children
  • Hi,

     

    duxinglang said:
    I mean, why is it that when the modem doesn't find a signal within the time I set it to, it automatically goes back to searching for a signal instead of just stopping?After all, I didn't set it up to periodically search for signals

    I am sorry, my former behavior description is not correct. 

    If it times out, and  CONFIG_LTE_NETWORK_USE_FALLBACK=n, the lte_lc library will not change the modem mode (in AT+CFUN), and rather let the application handle this specific scenario. It will still be in searching mode unless the application turns the modem off or places it in airplane mode.

     

    Kind regards,

    Håkon

Related