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

Not connecting to nRFCloud

Hi, we have an nRF9160DK (0.8.3) and it does not connect to the nrfcloud.

We have updated to the latest firmware 1.0.0

We only have nb-iot here so we  didn't use the iBasis sim, instead using a vodafone V-Sim (which is active). 

Are we missing a step here?

Thanks

Parents
  • Hi Ian,

    You should be able to build and flash the at_client sample following this tutorial.

    For your convinience, I can attach the precompiled .hex here as well.at_clientDefault.hex

    Use the command: nrfjprog --program at_clientDefault.hex -f nrf91 --sectorerase -r --verify

    to flash the application, or just use the Programmer app in "nRF Connect for Desktop".

    You should switch the modem to NB-IoT mode before you turn the modem ON.

    Send the AT-Command:

    AT%XSYSTEMMODE=0,1,0,0

    before you turn ON the modem (AT+CFUN=1) to set the mode.


    If you are going to set the network mode in the asset_tracker sample just add this in the prj.conf:

    or do it directly in SES --> Project --> Configure nRF Connect SDK project

    Click configure, then build and flash.

    Best Regards,

    Martin L.

  • Hi Martin,

    We get an error when we use the command.

    Do we need to do something else?

    I tried to use AT+CFUN=0 and then it takes the command?

    See log below.

    Thanks

    Ian

  • Hi Ian,
    You have to send the command before the modem turns ON.

    You can turn the modem to offline mode and then change it, like described in the documentation.

    If you turn the modem OFF (at+cfun=0) then you cannot turn the modem on. You then need to power cycle the board.

    Best Regards,

    Martin L.

Reply Children
  • Hi Martin,

    OK done that, sorry I was a bit confused with the CFUN.

    I'm not sure if we are connected/registered on the network now?

    It looks like we are but LTE is flashing from red to yellow?

    Below is our log.

    Thanks

    Ian