<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://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>Testing Location Sample Using Custom nrf9160 Boards Failed</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/91053/testing-location-sample-using-custom-nrf9160-boards-failed</link><description>Hi, I was trying to test the location sample on my custom board that has an nrf9160 chip. I did everything in this link: https://docs.nrfcloud.com/Guides/GettingStarted/Devices/#securely-generating-credentials-on-the-nrf9160, but when I tried to run the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 09 Sep 2022 12:18:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/91053/testing-location-sample-using-custom-nrf9160-boards-failed" /><item><title>RE: Testing Location Sample Using Custom nrf9160 Boards Failed</title><link>https://devzone.nordicsemi.com/thread/385511?ContentTypeID=1</link><pubDate>Fri, 09 Sep 2022 12:18:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b29ee577-9feb-4e50-a07d-57e475a3e601</guid><dc:creator>Didrik Rokhaug</dc:creator><description>[quote user="tonyl02"]I did notice that in the mqtt_simple sample the line breaks in credentials are represented using &amp;quot;\n&amp;quot;, but when I flashed the credentials I used &amp;quot;\r\n&amp;quot;. Is this something that could cause the issue?[/quote]
&lt;p&gt;If I write a certificate to the modem with the Certifiate Manager, it also uses &amp;lt;CR&amp;gt;&amp;lt;LF&amp;gt;, same when I read the certificate out from the modem, so I don&amp;#39;t think that is the issue.&lt;/p&gt;
&lt;p&gt;Regardless, I still suspect there could be something wrong with your credentials. Could you try to write them from the application, or read out the CA certificate to confirm that it was written correctly?&lt;/p&gt;
&lt;p&gt;And pay particular attention to the line endings, including the one at the end, after the &amp;quot;-----END CERTIFICATE-----&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Testing Location Sample Using Custom nrf9160 Boards Failed</title><link>https://devzone.nordicsemi.com/thread/385395?ContentTypeID=1</link><pubDate>Thu, 08 Sep 2022 22:27:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cac4e801-d710-4d6f-a109-08a3e7b874da</guid><dc:creator>tonyl02</dc:creator><description>&lt;p&gt;I actually wrote the certificates using AT commands through STM32. And the CA credential that I used is: &lt;a id="" href="https://www.amazontrust.com/repository/AmazonRootCA1.pem,"&gt;https://www.amazontrust.com/repository/AmazonRootCA1.pem,&lt;/a&gt;&amp;nbsp;and the device credential is the one that is generated using the&amp;nbsp;&lt;a href="https://github.com/nRFCloud/utils/blob/master/python/modem-firmware-1.3%2B/create_device_credentials.py" rel="noopener noreferrer" target="_blank"&gt;create_device_credentials.py&lt;/a&gt;&lt;span&gt;&amp;nbsp;script. I did notice that in the mqtt_simple sample the line breaks in credentials are represented using &amp;quot;\n&amp;quot;, but when I flashed the credentials I used &amp;quot;\r\n&amp;quot;. Is this something that could cause the issue?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Testing Location Sample Using Custom nrf9160 Boards Failed</title><link>https://devzone.nordicsemi.com/thread/385025?ContentTypeID=1</link><pubDate>Wed, 07 Sep 2022 12:01:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e1b92fb5-55e7-4e36-8666-8668d52ee75f</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;Thanks, this trace is a lot better (still not perfect, but that is probably due to the RTT transport).&lt;/p&gt;
&lt;p&gt;I haven&amp;#39;t been able to find anything directly wrong yet, but the length of our certificates (both CA and the device&amp;#39;s) has significant different sizes.&lt;/p&gt;
&lt;p&gt;How did you write the certificates to the device?&lt;/p&gt;
&lt;p&gt;If you write them from the code, you can see an example of how it can be done in the mqtt_simple sample. There, they have a CA certificate correctly formatted in the certificates.h file, and they use the modem_key_mgmt_write function to write it to the modem in the certificates_provision funtion in main.c.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Testing Location Sample Using Custom nrf9160 Boards Failed</title><link>https://devzone.nordicsemi.com/thread/384880?ContentTypeID=1</link><pubDate>Wed, 07 Sep 2022 00:00:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1214ae0e-7ba3-43e2-a6f8-e1378816511c</guid><dc:creator>tonyl02</dc:creator><description>&lt;p&gt;I apologize for the late reply. I have taken another modem trace. I waited for one hour or so before I stopped logging, so hopefully this time it&amp;#39;ll help.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/modem_2D00_trace-_2800_2_2900_.bin"&gt;devzone.nordicsemi.com/.../modem_2D00_trace-_2800_2_2900_.bin&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Testing Location Sample Using Custom nrf9160 Boards Failed</title><link>https://devzone.nordicsemi.com/thread/384640?ContentTypeID=1</link><pubDate>Mon, 05 Sep 2022 15:16:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7cbd0d7d-7991-436c-94ba-89d1f65dfbb1</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;Hi, have you been able to take a new modem trace?&lt;/p&gt;
&lt;p&gt;I went through this guide: &lt;a href="https://docs.nrfcloud.com/Guides/GettingStarted/Devices#securely-generating-credentials-on-the-nrf9160"&gt;https://docs.nrfcloud.com/Guides/GettingStarted/Devices#securely-generating-credentials-on-the-nrf9160&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Using the modem UUID as the device ID as I did not specify another ID in the %KEYGEN command.&lt;/p&gt;
&lt;p&gt;In step 7, I wrote this CA certificate: &lt;a href="https://www.amazontrust.com/repository/AmazonRootCA1.pem"&gt;https://www.amazontrust.com/repository/AmazonRootCA1.pem&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;As well as the &amp;lt;uuid&amp;gt;_crt.pem file created by the create_device_credentials.py script.&lt;/p&gt;
&lt;p&gt;I then registered the &amp;lt;uuid&amp;gt;_pub.pem public key with the devices/public-keys API endpoint&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;curl -X POST https://api.nrfcloud.com/v1/devices/public-keys --data-binary @&amp;lt;uuid&amp;gt;.csv -H &amp;quot;Content-Type: application/oct
et-stream&amp;quot; -H &amp;quot;Authorization: Bearer &amp;lt;API key&amp;gt;&amp;quot;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;The &amp;lt;uuid&amp;gt;.csv file was formatted as shown in the API documentation: &lt;a href="https://api.nrfcloud.com/v1/#tag/IP-Devices/operation/RegisterPublicKeys"&gt;https://api.nrfcloud.com/v1/#tag/IP-Devices/operation/RegisterPublicKeys&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Finally, I added the following config options to the prj.conf of the location sample:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_NRF_CLOUD_CLIENT_ID_SRC_INTERNAL_UUID=y
CONFIG_NRF_MODEM_LIB_TRACE_ENABLED=y
CONFIG_NRF_CLOUD_SEC_TAG=16842740&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;(I did the test on my DK, which is already registered with nRF Cloud with the IMEI as the ID on the default sec tag. I therefor used a different sec_tag, including when using the %KEYGEN AT command. Enabling modem tracing is just for debugging purposes. But I wanted to list them here for completeness)&lt;/p&gt;
&lt;p&gt;After going through the above steps, the location sample worked as it should for me:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;*** Booting Zephyr OS build v3.0.99-ncs1-1  ***
Location sample started

Connecting to LTE...
+CEREG: 2,&amp;quot;76C1&amp;quot;,&amp;quot;014ACE00&amp;quot;,7
+CSCON: 1
+CEREG: 1,&amp;quot;76C1&amp;quot;,&amp;quot;014ACE00&amp;quot;,7,,,&amp;quot;00000100&amp;quot;,&amp;quot;10111110&amp;quot;
Connected to LTE
Waitin%XTIME: ,&amp;quot;22905051308080&amp;quot;,&amp;quot;01&amp;quot;
g for current time
Requesting location with short GNSS timeout to trigger fallback to cellular...
+CSCON: 0
[00:00:16.263,214] [1B][1;33m&amp;lt;wrn&amp;gt; location: Timeout occurred[1B][0m
[00:00:16.275,634] [1B][1;33m&amp;lt;wrn&amp;gt; location: Failed to acquire location using &amp;#39;GNSS&amp;#39;, trying with &amp;#39;Cellular&amp;#39; next[1B][0m
%NCELLMEAS: 0,&amp;quot;014ACE00&amp;quot;,&amp;quot;24201&amp;quot;,&amp;quot;76C1&amp;quot;,98,6400,247,55,24,16463,300,425,29,24,23,13517
+CSCON: 1
Got location:
  method: Cellular
  latitude: 63.418751
  longitude: 10.431030
  accuracy: 215.0 m
  date: 2022-09-05
  time: 15:03:22.359 UTC
  Google maps URL: https://maps.google.com/?q=63.418751,10.431030
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Testing Location Sample Using Custom nrf9160 Boards Failed</title><link>https://devzone.nordicsemi.com/thread/384339?ContentTypeID=1</link><pubDate>Thu, 01 Sep 2022 12:33:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:744de3a3-d1de-475f-94d1-72fe01d549b5</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;Thanks. Unfortunately, the trace wasn&amp;#39;t much help. I could not find the parts that I was interested in.&lt;/p&gt;
&lt;p&gt;In general, tracing over RTT is less stable than tracing over UART (I believe we are working on improving that), so it might be that the interesting parts were simply dropped.&lt;/p&gt;
&lt;p&gt;Another possibility is that they occurred before you were able to connect the RTT client, or if you did a reset of the device after connecting, that would also have disconnected the client.&lt;/p&gt;
&lt;p&gt;Could you try to take another one, this time with a long (enough) delay (for you to connect the RTT client and start logging to a file) at the beginning of main()?&lt;/p&gt;
&lt;p&gt;I will also try to reproduce the error at my end.&lt;/p&gt;
&lt;p&gt;P.s. I will be out of office tomorrow, and unable to reply until Monday.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Testing Location Sample Using Custom nrf9160 Boards Failed</title><link>https://devzone.nordicsemi.com/thread/383993?ContentTypeID=1</link><pubDate>Tue, 30 Aug 2022 20:10:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:92b06d4e-3e37-4b91-bf82-aade02e49c89</guid><dc:creator>tonyl02</dc:creator><description>&lt;p&gt;Thank you for the suggestion! I got the modem trace in a bin file. Please let me know if it helps. &lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/modem_2D00_trace.bin"&gt;devzone.nordicsemi.com/.../modem_2D00_trace.bin&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Testing Location Sample Using Custom nrf9160 Boards Failed</title><link>https://devzone.nordicsemi.com/thread/383971?ContentTypeID=1</link><pubDate>Tue, 30 Aug 2022 14:47:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff3053a3-bd9f-4070-a352-f724071b3580</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;The CONFIG_USE_SEGGER_RTT is not a problem, in fact, it is required for RTT to work in the first place.&lt;/p&gt;
&lt;p&gt;The compile error comes from CONFIG_LOG_BACKEND_RTT=n. The good news however is that you don&amp;#39;t need to disable it. If you set it back to &amp;quot;y&amp;quot;, it should work.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Testing Location Sample Using Custom nrf9160 Boards Failed</title><link>https://devzone.nordicsemi.com/thread/383756?ContentTypeID=1</link><pubDate>Mon, 29 Aug 2022 23:11:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:516c25d7-4a75-477d-8f13-429cfd544556</guid><dc:creator>tonyl02</dc:creator><description>&lt;p&gt;I apologize, I didn&amp;#39;t realize that the function&amp;nbsp;SEGGER_RTT_WriteSkipNoLock is actually defined to be SEGGER_RTT_ASM_WriteSkipNoLock. However, it seems like the function has only been declared in SEGGER_RTT.h and doesn&amp;#39;t get defined anywhere, which results in this error. I was wondering if this is potentially a bug.&lt;/p&gt;
&lt;p&gt;Besides, I was still wondering if my prj.conf file is ok, in particular the CONFIG_USE_SEGGER_RTT, which I set to y. It seemed like even if I set it to n, it would still have the value y during compilation.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1661814440623v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Testing Location Sample Using Custom nrf9160 Boards Failed</title><link>https://devzone.nordicsemi.com/thread/383750?ContentTypeID=1</link><pubDate>Mon, 29 Aug 2022 20:12:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ee737dd-cfa0-452a-9274-8abf6bb9f584</guid><dc:creator>tonyl02</dc:creator><description>&lt;p&gt;After adding the lines that you mentioned into my prj.conf and compiling the program, it gave me this error:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1661803408463v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;However, I looked into the&amp;nbsp;nrf_modem_lib_trace_sync.c file, and I actually didn&amp;#39;t find any reference to the SEGGER_RTT_ASM_WriteSkipNoLock function, and instead I only found &lt;span&gt;SEGGER_RTT_WriteSkipNoLock function, so I am very connfused as to what this error is complaining about&lt;/span&gt;:&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1661803520906v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Besides, in my prj.conf, in addition to adding&amp;nbsp;&lt;em&gt;CONFIG_NRF_MODEM_LIB_TRACE_ENABLED=y,&amp;nbsp;CONFIG_NRF_MODEM_LIB_TRACE_MEDIUM_RTT=y, CONFIG_LOG_BACKEND_RTT=n,&lt;/em&gt;&amp;nbsp;and &lt;em&gt;CONFIG_RTT_CONSOLE=n&lt;/em&gt;, there was also a line&amp;nbsp;&lt;span&gt;CONFIG_USE_SEGGER_RTT&lt;/span&gt;&lt;span&gt;=y, and it doesn&amp;#39;t seem like it could be set to n. I was curious if having this line in my prj.conf is ok.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Testing Location Sample Using Custom nrf9160 Boards Failed</title><link>https://devzone.nordicsemi.com/thread/383689?ContentTypeID=1</link><pubDate>Mon, 29 Aug 2022 12:34:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:30bbdfbf-9a5e-4a83-93cb-025734f56c6a</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;Yes, you can follow this guide to capture a modem trace over RTT:&lt;/p&gt;
&lt;p&gt;1. Go into prj.conf and add these two lines:&lt;br /&gt; CONFIG_NRF_MODEM_LIB_TRACE_ENABLED=y&lt;br /&gt; CONFIG_NRF_MODEM_LIB_TRACE_MEDIUM_RTT=y&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You might also need to disable other RTT logging channels:&lt;br /&gt; CONFIG_LOG_BACKEND_RTT=n&lt;br /&gt; CONFIG_RTT_CONSOLE=n&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;2. Compile and flash the project.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;3. Open JLinkRTTViewer, select device &amp;quot;nRF9160_xxaa&amp;quot;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;4. When successfully connected, go to &amp;quot;Logging&amp;quot; -&amp;gt; &amp;quot;Start Data Logging&amp;quot;, and select a path to save the file.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;5. See that the .log file grows in size. When finished tracing, stop data logging and rename the .log file to .bin&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Note that this will disable application logging over RTT. You will just get the modem trace.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Testing Location Sample Using Custom nrf9160 Boards Failed</title><link>https://devzone.nordicsemi.com/thread/383533?ContentTypeID=1</link><pubDate>Fri, 26 Aug 2022 19:04:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:94e8b7cc-947f-4689-9f57-8fe472b29c35</guid><dc:creator>tonyl02</dc:creator><description>&lt;p&gt;Is there a way to do modem trace using J-Link by chance? Since our custom board doesn&amp;#39;t have UART unfortunately, and therefore cannot use the trace collector.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Testing Location Sample Using Custom nrf9160 Boards Failed</title><link>https://devzone.nordicsemi.com/thread/383414?ContentTypeID=1</link><pubDate>Fri, 26 Aug 2022 08:37:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:70cc6fca-0873-4d3f-aeb0-667cb50cddf4</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;Are you able to take a &lt;a href="https://infocenter.nordicsemi.com/topic/ug_trace_collector/UG/trace_collector/intro.html"&gt;modem trace&lt;/a&gt;, so we can take a closer look at what goes wrong from a modem perspective?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Testing Location Sample Using Custom nrf9160 Boards Failed</title><link>https://devzone.nordicsemi.com/thread/383360?ContentTypeID=1</link><pubDate>Thu, 25 Aug 2022 22:43:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5b02e528-5370-416d-be05-5bd11e530d59</guid><dc:creator>tonyl02</dc:creator><description>&lt;p&gt;Unfortunately, that didn&amp;#39;t work, and it still gave me the same error.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Testing Location Sample Using Custom nrf9160 Boards Failed</title><link>https://devzone.nordicsemi.com/thread/383011?ContentTypeID=1</link><pubDate>Wed, 24 Aug 2022 08:24:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a560f496-e934-4750-abfb-2bc2662dd4fb</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;The sample probably uses &amp;quot;nrf-&amp;lt;IMEI&amp;gt;&amp;quot; as the ID.&lt;/p&gt;
&lt;p&gt;Could you try to set CONFIG_NRF_CLOUD_CLIENT_ID_SRC_INTERNAL_UUID=y in your prj.conf?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Testing Location Sample Using Custom nrf9160 Boards Failed</title><link>https://devzone.nordicsemi.com/thread/382962?ContentTypeID=1</link><pubDate>Tue, 23 Aug 2022 18:58:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3065af37-8d87-4b00-b21e-9f1a04b88565</guid><dc:creator>tonyl02</dc:creator><description>&lt;p&gt;Thank you for your reply. I ran the command &amp;quot;&lt;span class="token plain"&gt;AT%KEYGEN&lt;/span&gt;&lt;span class="token operator"&gt;=&lt;/span&gt;&lt;span class="token number"&gt;16842753,2&lt;/span&gt;&lt;span class="token plain"&gt;,0&lt;/span&gt;&amp;quot; to generate the private key in my custom board, and I believe it used the default device UUID as the device ID. When I ran the&amp;nbsp;&lt;a href="https://github.com/nRFCloud/utils/blob/master/python/modem-firmware-1.3+/modem_credentials_parser.py" rel="noopener noreferrer" target="_blank"&gt;modem_credentials_parser.py&lt;/a&gt;&amp;nbsp;script, I got my&amp;nbsp;device ID as&amp;nbsp;&lt;span style="font-weight:400;"&gt;50503041-3631-4b0e-806a-110adee04c62. On the second device I have, the device ID was&amp;nbsp;50503041-3631-47a5-80c9-2325a7abf643.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Testing Location Sample Using Custom nrf9160 Boards Failed</title><link>https://devzone.nordicsemi.com/thread/382952?ContentTypeID=1</link><pubDate>Tue, 23 Aug 2022 15:09:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bcdf9fa2-e5e5-4b67-9948-8433fbc297ba</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;You should not need to add the evaluation token to the sample. I believe it is only used when sending requests to nRF Cloud frome something which is not an nRF9160.&lt;/p&gt;
&lt;p&gt;But, if you are not able to connect to nRF Cloud when running the Asset Tracker v2 either, that would point to the device not being provisioned correctly.&lt;/p&gt;
&lt;p&gt;What ID did you use when you created the credentials?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Testing Location Sample Using Custom nrf9160 Boards Failed</title><link>https://devzone.nordicsemi.com/thread/382340?ContentTypeID=1</link><pubDate>Thu, 18 Aug 2022 19:31:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:73ce285b-6398-4c39-9015-e50c0e5eb2de</guid><dc:creator>tonyl02</dc:creator><description>&lt;p&gt;Hello, I ensured all of my &amp;lt;CR&amp;gt;&amp;lt;LF&amp;gt; are correct. I used the UUID as the device ID. The device never appeared in the cloud. I tried the process again on a second device, and&amp;nbsp;it did not appear in&amp;nbsp;nRF&amp;nbsp;Cloud. Then I provisioned the second device using the ProvisionDevices API endpoint and it now appears in the cloud. However, I still get the same error on the Location sample. I ran the Asset Tracker v2 sample, and the device appears offline in the nRF Cloud. I&amp;#39;m unable to use Modem Trace on our custom board because we do not have an external UART connection, only J-Link. I also generated a Service Evaluation Token, but I have not used this anywhere. Am I supposed to include&amp;nbsp;the Evaluation Token somewhere in the Location sample?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Testing Location Sample Using Custom nrf9160 Boards Failed</title><link>https://devzone.nordicsemi.com/thread/382100?ContentTypeID=1</link><pubDate>Wed, 17 Aug 2022 16:57:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:90eecf2a-d231-4ded-8d53-b9a64aedcaa2</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;When you provisioned the credentials to the device, did you include the &amp;lt;CR&amp;gt;&amp;lt;LF&amp;gt; at the end? (it is also a part of the certificate, and must be included).&lt;/p&gt;
&lt;p&gt;Which device ID did you use when you added the device to nRF Cloud? Did the device appear in nRF Cloud?&lt;/p&gt;
&lt;p&gt;The error code indicates that something went wrong during the TLS handshake, which caused the server to reject the connection. If you take a &lt;a href="https://infocenter.nordicsemi.com/topic/ug_trace_collector/UG/trace_collector/intro.html"&gt;modem trace&lt;/a&gt;, then I can look further into why the connection was refused.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Didrik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>