NRF9160 - LTE-M takes a long time for first connection

Hi! We are currently testing our custom device using the nrf9160 modem. Our use case is for an ultralow power IoT device that connects to the Internet each 30 minutes to send some data and then goes back to sleep. We don’t use PSM, when the device goes back to sleep, we disconnect from the cloud and set the modem to flight mode. The device will be in a place with no coverage (a maritime container) for days or weeks, in which the device will be in “hibernation mode”, trying to connect to LTE-M each 4 hours.

We have seen that after the first connection, the device connects to the LTE-M network in less than 5 seconds but before that, the first connection takes a long time, around two minutes.

We are using the command AT+CGDCONT before every connection to set the APN hoping that it will decrease the time it takes for that first connection, but it doesn’t make a lot of difference. The device travels around the world, so we cannot lock the LTE-M bands nor the country.

Why does the first connection take a long time and the rest doesn’t? What are the best practices to reduce the time of that first connection? Are there any other AT commands that we can use to reduce that time?

Thank you and best regards

  • Eneko said:
    is there any data about the last PLMN saved in the modem?

    Yes, the modem will save information about the connected network. First in RAM, but it will eventually be stored in flash as well. The application can also trigger the modem to store the information in flash with AT+CFUN=0 (note that this will turn the modem off, not just write the information to flash).

    Eneko said:
    What does initial network search means in this case? Using a new, unused SIM card?

    By initial network search, I meant when the modem is searching for a network when it is not already connected to a network.

    Eneko said:
    I can reduce the time (locking bands) the modem takes to register with a new SIM card (then unlock bands).

    Correct.

    Eneko said:
    As far as I understood, it will start searching the HPLMN (global) and then the Prefered PLMN (26201). After that try to register in nearby networks. Same procedure as the initial network search. Am I right?

    Yes. Though the modem will only search for networks potentially deployed in the country it is in. As the home PLMN is global, it can potentially be found anywhere, so the modem will always search for it. However, it will only search for 26201 if it is in Germany.

  • Hi everyone,

    At this moment I have the same problem, but in the past, I had not.

    About one year ago, the connection spent about 3 seconds. Now it is very difficult to connect and register. The time to connect is too high.

    Eneko, have you solve it?

    I am doing test in Spain too, with Orange and Emnify SIMs, but with the same result.

Related