This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Need assistance connecting my nRF9160DK to nRF Cloud

I'm trying to get my nRF9160DK board to connect to nRF Cloud, but I ran into some issues and it's not working. I've followed every step of the nRF9160DK Getting Started Guide:

https://infocenter.nordicsemi.com/pdf/nRF9160_DK_Getting_Started_Guide.pdf

As I follow the directions, everything proceeds as described until I get to "3.4.1 Downloading the nRF Cloud certificate". When I try to create a JITP certificate, I get the following error message:

There was an error generating the certificate: A Nordic Semiconductor product with this device id and ownership code could not be found. Troubleshoot nRF Code 40411

I ordered the development kit brand new from Digikey. Any suggestions on how to proceed?

Thanks in advance,

Rob

Parents
  • Hi,  

    Could you please check what is the version number of your nRF9160-dk? You can find this information on the board sticker. Part of the guide which deals with certificates is valid for board versions no higher than 0.9.0. Higher board versions already contain valid nRF Cloud certificate.

    If your board version isn't higher than 0.9.0, than make sure that you typed correctly device ID. Device ID is given in the form "nrf-15_digit_code". Replace 15_digit_code with IMEI code which you can also find on the board's sticker.

    Best regards,

    Dejan

Reply
  • Hi,  

    Could you please check what is the version number of your nRF9160-dk? You can find this information on the board sticker. Part of the guide which deals with certificates is valid for board versions no higher than 0.9.0. Higher board versions already contain valid nRF Cloud certificate.

    If your board version isn't higher than 0.9.0, than make sure that you typed correctly device ID. Device ID is given in the form "nrf-15_digit_code". Replace 15_digit_code with IMEI code which you can also find on the board's sticker.

    Best regards,

    Dejan

Children
  • Hi Dejan,

    Thanks for your assistance. I've checked the version of my nRF9160DK and it is in fact higher then 0.9.0. My version of the development kit is 1.0.1.

    I have managed to add both the nRF9160DK device and SIM card to nRF Cloud. However the device will not connect to the cloud and the SIM card says "Not connected to any device" when I check the status in nRF Cloud. I am testing the board in an area that has network coverage, and when I check the connection status in LTE Link Monitor I see that my development board is connected to the cellular network. Also, when I check the status of the SIM Card on nRF Cloud, I see that some data has been used.

    There is something I did which may be causing the malfunction. When I was struggling to get the JITP Certificate to generate on nRF Cloud, I discovered that entering the device ID of "nrf-" followed by the 15 digit IMEI did not work (as I originally reported). However, I realized that if I did not include the "nrf-" string, and instead just entered the 15 digit IMEI number for the device ID, the certificate did successfully generate and I was able to download the certificate. I then updated the nRF Cloud Certificate using the LTE Link Monitor as described in the getting started guide. Could this be the reason my development kit is not connecting to the cloud? And if so, is there a way to fix it?

    Thanks again,

    Rob

  • Hi Robert,

    Since you are trying to use device ID without "nrf-" string, this could be the cause for the error you are getting and for not being able to connect to nRFcloud. Please have a look at the nRFcloud chapter on developer.nordicsemi.no. There is one configuration option which assumes "nrf-" before IMEI number. You could try to set this option to an empty string CONFIG_NRF_CLOUD_CLIENT_ID_PREFIX="". You can find this option under nrf/subsys/net/lib/nrf_cloud/Kconfig.nrf_cloud_client_id in NCS version 1.8.0 and under nrf/subsys/net/lib/nrf_cloud/Kconfig.nrf_cloud_mqtt in NCS v1.7.0 and v1.7.1.

    Best regards,

    Dejan

  • Hi Dejan,

    That seems to have fixed it. I can now see that my device is connected in nRF Cloud, and it is receiving GPS data from the asset tracker example. What's strange is that my SIM card still says "Not connected to any device" on the SIM card page of nRF Cloud. Other than that, everything seems to be working

    Thanks,

    Rob

Related