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

nRF9160 LTE connection failure (at_client example)

Hi all,

I have the nRF9160 DK and I've just tried the out of the box demo (asset_tracker) following all the steps, but it didn't work because it seems that iBasis SIM does not have LTE coverage in Valencia (Spain). Because of that, I "bought" a free Global IoT SIM card from Hologram (https://hologram.io/iot-sim-card/ ), because they supposedly have coverage in Spain. I received it, activated it and tried the out of the box connection, but still didn't worked. I guess it didn't work because as far as I know, if the DK wants to use data on the hologram network, I have to set the hologram's APN correctly. Is it possible to configure this parameter on the asset_tracker example of the SDK?

I also downloaded the at_client example code to the nRF9160  MCU trying to debug what was happening. When I connected the PC to the DK (with the Hologram SIM activated) using the LTE Link monitor app I followed these steps:

  • I typed the AT command “AT+CFUN?” and I got:
  • Then I typed the “AT+CFUN=1” as suggested and I obtained the same result.
  • But If try to set the APN through an AT command (AT+CGDCONT=1,"IP","hologram") and then I type  “AT+CFUN?” to connect to a LTE network and turn on the modem, I get lots of messages through the terminal and the modem, UICC and PDN boxes of the nRF Connect GUI change to green color. So I guess both the modem and the SIM are working properly. However, the LTE box changes to red and yellow.

What could I do to solve this issue? Is it a problem of the hologram's IoT SIM? Thank you very much in advance.

Best regards,

Toni

Parents Reply Children
Related