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

Cannot connect to the cloud

Hello,

I got a new nRF9160 DK a couple of days ago. I followed the "Getting Started" to get connected to the cloud. But my board is getting connected to the LTE network but not to the cloud. 

On the cloud side I see the following error:

   There was an error adding your device: No device found for this id. The device has not yet been provisioned. Troubleshoot nRF Code 40412

On the device side I see the following error:

lte_lc.w_lte_lc_connect: Network mode: AT%XSYSTEMMODE=0,1,1,0



+CEREG: 2,"187A","00222267",9,0,0,"11100000","11100000"


lte_lc.parse_nw_reg_status: Network registration status: 2
+CEREG: 5,"187A","00222267",9,,,"11100000","11100000"


lte_lc.parse_nw_reg_status: Network registration status: 5

asset_tracker: Connected to LTE network
nrf_cloud_transport.nct_connect: IPv4 Address 0x362ad103
nrf_cloud_transport.nct_mqtt_connect: mqtt_connect requesting persistent session
<err> asset_tracker: Socket error: POLLHUP
asset_tracker: Connection was closed by the cloud.

Can someone please help me to figure out what is wrong?
Thanks
Danny

Parents Reply
  • Hi Danny,
    If you look in the Contents.txt file you can see the description of each file:

    Package contents:
    img_app_bl/           Full application images, including bootloader. Updated only via debug probe.
    img_fota_dfu_hex/     Application only. Use with nRFConnect for Desktop Programmer application.
    img_fota_dfu_bin/     Application only. Binary format. For cloud update, mcumgr.


    Please try to flash the application: "nrf9160dk_asset_tracker_ltem_2020-09-23_b6ad40d0.hex"

    and then "update modem" and select the "mfwnrf9160121.zip".



    Then open LTE Link monitor and press the reset button on the DK to get the bootup sequence in the terminal.


    Best regards,

    Martin L.

Children
Related