<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://test-devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>asset-tracker v2 on custom PCB/board - Device cannot connect to nRF Cloud, even after provisioning and flashing certificates</title><link>https://test-devzone.nordicsemi.com/f/nordic-q-a/81430/asset-tracker-v2-on-custom-pcb-board---device-cannot-connect-to-nrf-cloud-even-after-provisioning-and-flashing-certificates</link><description>Hello, 
 I&amp;#39;m currently using the nrf9160 for a university project and I&amp;#39;m having problems with connecting my custom PCB with nrf9160 to nRF Cloud using the asset-tracker-v2 example. 
 I tried flashing new certificates according to https://docs.nrfcloud</description><dc:language>en-US</dc:language><generator>Telligent Community 13 Non-Production</generator><lastBuildDate>Wed, 30 Mar 2022 08:07:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://test-devzone.nordicsemi.com/f/nordic-q-a/81430/asset-tracker-v2-on-custom-pcb-board---device-cannot-connect-to-nrf-cloud-even-after-provisioning-and-flashing-certificates" /><item><title>RE: asset-tracker v2 on custom PCB/board - Device cannot connect to nRF Cloud, even after provisioning and flashing certificates</title><link>https://test-devzone.nordicsemi.com/thread/360681?ContentTypeID=1</link><pubDate>Wed, 30 Mar 2022 08:07:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:24482eee-04cb-4b67-ad03-d55d43eb4e16</guid><dc:creator>user102811</dc:creator><description>&lt;p&gt;Hi @Floyd&lt;br /&gt;&lt;br /&gt;I have flashed the AT_client example onto my board, connected a UART to USB converter to the board&amp;#39;s UART pins and then I&amp;#39;ve run this python script.&amp;nbsp;&lt;a href="https://github.com/nRFCloud/utils/blob/master/python/modem-firmware-1.3%2B/device_credentials_installer.py"&gt;https://github.com/nRFCloud/utils/blob/master/python/modem-firmware-1.3%2B/device_credentials_installer.py&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;You would need a CA certificate along with others to generate the device certificates on your computer and then flash it to your board using the device_credentials_installer.py script. I followed the guide on this page&amp;nbsp;&lt;a href="https://docs.nrfcloud.com/Guides/GettingStarted/Devices/"&gt;https://docs.nrfcloud.com/Guides/GettingStarted/Devices/&lt;/a&gt;&amp;nbsp;, under &amp;quot;Generating credentials on a computer&amp;quot;. You may need to follow other guides on the same page to generate your own certificates (CA and others).&lt;br /&gt;&lt;br /&gt;I have used this command to the generate the device certificates and flash them onto my board.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;python device_credentials_installer.py -A -S 16842753 -d --port /dev/ttyUSB1 --ca 0xxxxxxxxxxxxxxxxxxxxx_ca.pem --ca_key 0xxxxxxxxxxxxxxxxxxxxxxx_prv.pem --csv provision.csv&lt;/p&gt;
&lt;p&gt;This script then generates the csv file which you could then upload to nrflcoud.&lt;/p&gt;
&lt;p&gt;The .pem files are your CA and private keys, that you could generate with&amp;nbsp;&lt;a href="https://github.com/nRFCloud/utils/blob/master/python/modem-firmware-1.3%2B/create_ca_cert.py"&gt;github.com/.../create_ca_cert.py&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve also used the information on this github page&lt;br /&gt;&lt;a href="https://github.com/nRFCloud/utils/tree/master/python/modem-firmware-1.3%2B"&gt;https://github.com/nRFCloud/utils/tree/master/python/modem-firmware-1.3%2B&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Hope it helps :)&lt;br /&gt;&lt;br /&gt;Makkash&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: asset-tracker v2 on custom PCB/board - Device cannot connect to nRF Cloud, even after provisioning and flashing certificates</title><link>https://test-devzone.nordicsemi.com/thread/360634?ContentTypeID=1</link><pubDate>Wed, 30 Mar 2022 01:33:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f3ccd56-97e1-444c-be81-afac2bd7ffa1</guid><dc:creator>user109336</dc:creator><description>&lt;p&gt;The connection status on the device page is for devices connecting via MQTT and running an application like asset_tracker_v2. &amp;nbsp;So you can probably ignore it.&lt;/p&gt;
&lt;p&gt;The provisioning step completed successfully, which is why your device now appears in your nRF cloud account. &amp;nbsp;You should be able to now access nRF cloud from your device using MQTT or REST.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: asset-tracker v2 on custom PCB/board - Device cannot connect to nRF Cloud, even after provisioning and flashing certificates</title><link>https://test-devzone.nordicsemi.com/thread/360631?ContentTypeID=1</link><pubDate>Wed, 30 Mar 2022 01:03:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3281a3f1-fc54-4c49-90d8-e12ef0da7bcf</guid><dc:creator>user32317</dc:creator><description>&lt;p&gt;Hi Justin,&lt;/p&gt;
&lt;p&gt;I tried according to your instruction.&amp;nbsp; I can see my device in nRF Cloud.&amp;nbsp; But it is &amp;quot;disconnected&amp;quot;.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://test-devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1648601831272v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;And in the Provision Devices page, the status is &amp;quot;Successed&amp;quot;.&amp;nbsp; Any idea why?&amp;nbsp; The main reason I need to connect to the nRF Cloud is to use its A-GPS data.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Floyd&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: asset-tracker v2 on custom PCB/board - Device cannot connect to nRF Cloud, even after provisioning and flashing certificates</title><link>https://test-devzone.nordicsemi.com/thread/360626?ContentTypeID=1</link><pubDate>Tue, 29 Mar 2022 22:35:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dc96cc5b-eb0c-4753-8eb6-8608b8f41d64</guid><dc:creator>user32317</dc:creator><description>&lt;p&gt;Thank you Justin.&amp;nbsp; Will give that a go.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: asset-tracker v2 on custom PCB/board - Device cannot connect to nRF Cloud, even after provisioning and flashing certificates</title><link>https://test-devzone.nordicsemi.com/thread/360624?ContentTypeID=1</link><pubDate>Tue, 29 Mar 2022 21:16:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:46f5466c-7b47-48af-be31-d754cb940228</guid><dc:creator>user109336</dc:creator><description>&lt;p&gt;the API documentation displays a&amp;nbsp;some examples of the csv file format.&lt;br /&gt;&lt;a href="https://api.nrfcloud.com/v1#operation/ProvisionDevices"&gt;https://api.nrfcloud.com/v1#operation/ProvisionDevices&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Here is the example which uses the device ID (required), FOTA capabilities (not required), and device certificate (required):&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;f69c0e45-7f04-4949-8def-bb2215b4223e,,,APP|MODEM,&amp;quot;-----BEGIN CERTIFICATE-----
MIIB7DCCAZMCFD...Av3CVgjzn5BLS03X7lyf4w==
-----END CERTIFICATE-----
&amp;quot;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;The first item is&amp;nbsp;the device ID.&amp;nbsp; This example&amp;nbsp;uses a UUID format for the device ID.&amp;nbsp; Replace with your device&amp;#39;s ID.&lt;/p&gt;
&lt;p&gt;The &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;APP|MODEM&lt;/span&gt; text indicates FOTA capabilities for your device.&amp;nbsp; You can remove the text if you do not want to include that capability.&lt;br /&gt;&lt;br /&gt;Copy and paste your device certificate in PEM format; it should include the newlines.&amp;nbsp; Note&amp;nbsp;the required trailing newline.&lt;br /&gt;&lt;br /&gt;Here is a full example for a device with an nrf-&amp;lt;IMEI&amp;gt; formatted device ID with no FOTA capabilities enabled:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;nrf-352656100300204,,,,&amp;quot;-----BEGIN CERTIFICATE-----
MIICzTCCAbUCCQC0PqjeoGxT9TANBgkqhkiG9w0BAQsFADCBizELMAkGA1UEBhMC
Tk8xDzANBgNVBAgMBk5vcndheTESMBAGA1UEBwwJVHJvbmRoZWltMR0wGwYDVQQK
DBROb3JkaWMgU2VtaWNvbmR1Y3RvcjE4MDYGA1UECwwvZWxpdmFnYXItcHJvZC1w
Y2ExMDA5MC11cC10by0xOTA5MDItdGhpbmctZ3JvdXAwIBcNMjIwMzI5MjEwNzIx
WhgPMjA1MjAzMjEyMTA3MjFaMIGNMQswCQYDVQQGEwJOTzESMBAGA1UECAwJVHJv
bmRlbGFnMRIwEAYDVQQHDAlUcm9uZGhlaW0xITAfBgNVBAoMGE5vcmRpYyBTZW1p
Y29uZHVjdG9yIEFTQTEcMBoGA1UEAwwTbnJmLTM1MjY1NjEwMDMwMDIwNDEVMBMG
A1UELhMMRTk2NDA3RTAzRTVGMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEiGQ6
MgMwhr7xVE7nBn42XDDGSBzQhrN6PIYH9hpQbKFF+jLAN/coMdl5FGcKZ3d3MjDk
wjV7bciIHB7CMGUPyzANBgkqhkiG9w0BAQsFAAOCAQEAP56rTVFPLB1CRpmlAr8o
W6wHOjQVAkfHEEIybVQ1oTT/9qEF9zZd/cYnyuC6W2A+BuuW1xbGo33MpB5fyVCH
Fhv736b4pdpisF/H+ZplkSOYnO0yUBpF6STURB5OkFPEjl9gmAQmGWgRBO6MmRxI
jU0AjK/4RnwB9N0xfbDPGB3X6SSOsyoFssQBKtzJGhdR6OM32N6bmR1BP29I3Vbx
retSi6rfJkNeX21fBIyLNwtOz87MH7VT3Mzue5kqLk/u3AQIEuY++GrzPVHI6QL6
bTeGRyEbu3iP+Wn/i37K0bABvzW7Rdx253bGHSjFLlK6glbBsjz6SXe3FFnOffSq
og==
-----END CERTIFICATE-----
&amp;quot;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;You can upload your csv file using the website:&amp;nbsp;&lt;a href="https://nrfcloud.com/#/provision-devices"&gt;https://nrfcloud.com/#/provision-devices&lt;/a&gt;&lt;br /&gt;Or you can use the REST API as described by the API documentation.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: asset-tracker v2 on custom PCB/board - Device cannot connect to nRF Cloud, even after provisioning and flashing certificates</title><link>https://test-devzone.nordicsemi.com/thread/360622?ContentTypeID=1</link><pubDate>Tue, 29 Mar 2022 20:46:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:019822e2-01c3-48b8-9ced-e432cd276476</guid><dc:creator>user32317</dc:creator><description>&lt;p&gt;Hi Makkash,&lt;/p&gt;
&lt;p&gt;Do you mind sharing with me how to create the&amp;nbsp;&lt;span&gt;provision.csv file?&amp;nbsp; I generated and downloaded all certificates to my board.&amp;nbsp; I can see (16842753,0), (16842753,1) and (16842753,2) certificates when I used the command at%cmng=1.&amp;nbsp; But I kept failing provisioning my device to the nRF Cloud.&amp;nbsp; You help is very much appreciated.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Floyd&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: asset-tracker v2 on custom PCB/board - Device cannot connect to nRF Cloud, even after provisioning and flashing certificates</title><link>https://test-devzone.nordicsemi.com/thread/337761?ContentTypeID=1</link><pubDate>Fri, 05 Nov 2021 17:37:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d130d980-8fc4-43c3-b520-8f93c9908dd6</guid><dc:creator>user102811</dc:creator><description>&lt;p&gt;Thank you very much! After hours of flashing certificates and provisioning devices in nRF Cloud, the asset tracker v2 works on my PCB!&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: asset-tracker v2 on custom PCB/board - Device cannot connect to nRF Cloud, even after provisioning and flashing certificates</title><link>https://test-devzone.nordicsemi.com/thread/337756?ContentTypeID=1</link><pubDate>Fri, 05 Nov 2021 16:17:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a6fbc83b-e042-40f2-90f7-f8ab45bcb5c6</guid><dc:creator>user109336</dc:creator><description>&lt;p&gt;It looks like you have done all the required steps... one last thing would be to check the dependency for using the internal UUID:&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;config NRF_CLOUD_CLIENT_ID_SRC_INTERNAL_UUID
	bool &amp;quot;Modem internal UUID value&amp;quot;
	depends on MODEM_JWT
	help
		Requires modem firmware version 1.3 or later.&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;You probably just need to add CONFIG_MODEM_JWT=y to your prj.conf&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>