<?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>nRF9160 Cannot make Kconfig options have an effect in Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/47050/nrf9160-cannot-make-kconfig-options-have-an-effect-in-segger-embedded-studio</link><description>I have a nRF9160 DK and I&amp;#39;m adapting the asset tracker to connect to our own AWS cloud solution. 
 
 I see the code nrf_cloud uses defines coming from the Kconfig at \nrf\subsys\net\lib\nrf_cloud\Kconfig. For example: NRF_CLOUD_HOST_NAME, NRF_CLOUD_PORT</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 16 May 2019 09:41:56 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/47050/nrf9160-cannot-make-kconfig-options-have-an-effect-in-segger-embedded-studio" /><item><title>RE: nRF9160 Cannot make Kconfig options have an effect in Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/thread/187476?ContentTypeID=1</link><pubDate>Thu, 16 May 2019 09:41:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c5371eec-53ac-4f43-8eb1-9289a39856ba</guid><dc:creator>Johan</dc:creator><description>&lt;p&gt;And the way to replace them, is to get the certificates from Martin or an engineer, and then use asset tracker, and enable provisioning in the project-&amp;gt; configure nrf connect sdk project -&amp;gt;&amp;nbsp;enable &amp;quot;nRF Cloud library provision of certificate&amp;quot;.&lt;br /&gt;Put the certificates in the certificates.h in the application folder. Build and run, and certs will be flashed, and replaced. nrfCloud now works again.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 Cannot make Kconfig options have an effect in Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/thread/187003?ContentTypeID=1</link><pubDate>Tue, 14 May 2019 13:44:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e8bcc435-d503-4302-9654-cba9ff9cb4d6</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;The issue in this case was that the default nrf cloud certificates was overwritten so it would not connect to nrf cloud.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 Cannot make Kconfig options have an effect in Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/thread/186963?ContentTypeID=1</link><pubDate>Tue, 14 May 2019 12:16:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c04f34fb-7a0b-46a0-b251-f0f9784d423d</guid><dc:creator>Johan</dc:creator><description>&lt;p&gt;Question is:&lt;br /&gt;&lt;br /&gt;How do I log in?&lt;br /&gt;Via private account, or via the devzone.&lt;br /&gt;&lt;br /&gt;I have no idea Martin.&lt;br /&gt;&lt;br /&gt;Did you find my units via the IMEI-number?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 Cannot make Kconfig options have an effect in Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/thread/186954?ContentTypeID=1</link><pubDate>Tue, 14 May 2019 12:02:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5f4014da-65de-4deb-914f-9a4ea60043a6</guid><dc:creator>Johan</dc:creator><description>&lt;p&gt;Flashed asset_tracker.&lt;br /&gt;&lt;br /&gt;Booting with link monitor open.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Log part&lt;/strong&gt;&lt;/p&gt;
&lt;pre&gt;SPM: NS image at 0x8000&lt;/pre&gt;
&lt;pre&gt;SPM: NS MSP at 0x2002a4a8&lt;/pre&gt;
&lt;pre class="ctrl-char CR"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char LF"&gt;&lt;/pre&gt;
&lt;pre&gt;SPM: NS reset vector at 0xfd6d&lt;/pre&gt;
&lt;pre class="ctrl-char CR"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char LF"&gt;&lt;/pre&gt;
&lt;pre&gt;SPM: prepare to jump to Non-Secure image.&lt;/pre&gt;
&lt;pre class="ctrl-char CR"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char LF"&gt;&lt;/pre&gt;
&lt;pre&gt;***** Booting Zephyr OS v1.14.99-ncs1-rc2 *****&lt;/pre&gt;
&lt;pre class="ctrl-char CR"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char LF"&gt;&lt;/pre&gt;
&lt;pre&gt;Application started&lt;/pre&gt;
&lt;pre class="ctrl-char CR"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char LF"&gt;&lt;/pre&gt;
&lt;pre&gt;LTE LC config ...&lt;/pre&gt;
&lt;pre class="ctrl-char CR"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char LF"&gt;&lt;/pre&gt;
&lt;pre&gt;NRF_CLOUD_EVT_TRANSPORT_CONNECTED&lt;/pre&gt;
&lt;p&gt;-------&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Nothing more happens here.&lt;br /&gt;I&amp;#39;ll go to the cloud and add the LTE-device now.&lt;br /&gt;And hopefully it will then get a pairing request.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 Cannot make Kconfig options have an effect in Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/thread/186945?ContentTypeID=1</link><pubDate>Tue, 14 May 2019 11:41:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7679068d-85fe-4b86-9ec6-cf39f592f3f9</guid><dc:creator>Johan</dc:creator><description>&lt;p&gt;Ok, I was wrong.&lt;/p&gt;
&lt;p&gt;The downloaded zipfile from &amp;quot;Download All&amp;quot; - was EMPTY.&lt;br /&gt;&lt;br /&gt;So still I have no file.&lt;br /&gt;You can email it to me if this server is broken for downloading attachments.&lt;br /&gt;My email is in my account.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 Cannot make Kconfig options have an effect in Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/thread/186944?ContentTypeID=1</link><pubDate>Tue, 14 May 2019 11:40:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6dd8063d-5f40-4ed2-a8ae-7d85577e9ac2</guid><dc:creator>Johan</dc:creator><description>&lt;p&gt;I managed to download them now.&amp;nbsp;&lt;br /&gt;THe only download that works is, right side of the screen &amp;quot;Attachments (2) Download All&amp;quot;.&lt;br /&gt;&lt;br /&gt;The other options with separate files, gives me &amp;quot;permission denied&amp;quot;.&lt;br /&gt;&lt;br /&gt;There is some configuration problem with your devzone server.&lt;br /&gt;Can you pass that on, so someone solves this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 Cannot make Kconfig options have an effect in Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/thread/186901?ContentTypeID=1</link><pubDate>Tue, 14 May 2019 09:47:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb888a0b-8825-4b2e-80b7-8178e095682a</guid><dc:creator>Johan</dc:creator><description>&lt;p&gt;Martin:&lt;br /&gt;&lt;br /&gt;Trying to download your attachment :&amp;nbsp;(&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-d3ce80cc7a91402281d447369b1a6a7a/asset_5F00_tracker.hex"&gt;asset_tracker.hex&lt;/a&gt;)&lt;br /&gt;&lt;strong&gt;You do not have permission to view this directory or page.&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 Cannot make Kconfig options have an effect in Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/thread/186886?ContentTypeID=1</link><pubDate>Tue, 14 May 2019 09:11:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d7a0d790-3bb3-4e50-8770-28efbcc19c4f</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Following up the new issue in this thread:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/47247/nrfcloud-pairing-is-broken-when-removing-and-adding-lte-device-nrf9160-ble_lte_gateway-application-again"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/47247/nrfcloud-pairing-is-broken-when-removing-and-adding-lte-device-nrf9160-ble_lte_gateway-application-again&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 Cannot make Kconfig options have an effect in Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/thread/186880?ContentTypeID=1</link><pubDate>Tue, 14 May 2019 09:06:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d6cef2bc-63f4-4e6a-99a3-a1f53e458ffb</guid><dc:creator>Johan</dc:creator><description>&lt;p&gt;Martin, the pairing has worked before.&lt;br /&gt;It has stopped working.&lt;/p&gt;
&lt;p&gt;Your cloud solution doesn&amp;#39;t send pairing commands back to my DK anymore.&lt;/p&gt;
&lt;p&gt;This is the problem.&lt;/p&gt;
&lt;p&gt;I dont have problem with getting an LTE-connection, as you are suggesting.&lt;br /&gt;I dont need to try those steps you put below.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Look at this log:&lt;/strong&gt;&lt;br /&gt;***** Booting Zephyr OS v1.14.99-ncs1 *****&lt;br /&gt;Application started&lt;br /&gt;Initializing Bluetooth..&lt;br /&gt;Establishing LTE link (this may take some time) ...&lt;br /&gt;Bluetooth ready&lt;br /&gt;Scanning...&lt;br /&gt;Device found: c7:ed:e7:7e:0f:f0 (random)&lt;br /&gt;Connected: c7:ed:e7:7e:0f:f0 (random)&lt;br /&gt;Orientation: 0&lt;br /&gt;NRF_CLOUD_EVT_TRANSPORT_CONNECTED&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;It&amp;#39;s connected to the nRFCloud, but the cloud sends&amp;nbsp;&lt;span&gt;NRF_CLOUD_EVT_TRANSPORT_CONNECTED.&lt;br /&gt;Even If go through the pairing, It STILL sends&amp;nbsp;NRF_CLOUD_EVT_TRANSPORT_CONNECTED &lt;strong&gt;ONLY.&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;strong&gt;The code needs to receive:&amp;nbsp;NRF_CLOUD_EVT_USER_ASSOCIATION_REQUEST&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 Cannot make Kconfig options have an effect in Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/thread/186877?ContentTypeID=1</link><pubDate>Tue, 14 May 2019 08:58:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:815dc0b8-189e-46b6-8204-e9df364be84f</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hi Johan,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;&lt;strong&gt;I assume that you know you can get&amp;nbsp;a&amp;nbsp;network connection ?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This can be verified sending AT commands to the modem when running LTE Link Monitor.&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;We can now try&amp;nbsp;the &amp;quot;asset_tracker&amp;quot; application which will connect to the nrf cloud.&lt;/p&gt;
&lt;p&gt;I am adding the precompiled .hex file of the &amp;quot;Asset_tracker&amp;quot; merged with the &amp;quot;Secure Partition Manager&amp;quot; (SPM):&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-d3ce80cc7a91402281d447369b1a6a7a/asset_5F00_tracker.hex"&gt;asset_tracker.hex&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;To flash this .hex file please use the following command in the command line:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;nrfjprog --program asset_tracker.hex -f nrf91 --sectorerase -r --verify&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1557824064709v1.png" alt=" " /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Note:&amp;nbsp;&lt;/strong&gt;You can use the LTE Link Monitor as a standard serial output Terminal if you deselect the &amp;quot;Automatic requests&amp;quot; setting:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1557824064711v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;This will prohibit that the LTE Link Monitor will run through the&amp;nbsp;&lt;em&gt;script&amp;nbsp;&lt;/em&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;sending AT commands when sending for example &amp;quot;AT+CFUN?&amp;quot;. (&lt;em&gt;it will only send it once)&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1557824064711v3.png" alt=" " /&gt;&lt;/em&gt;&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;Please have the LTE Link Monitor open while testing the &amp;quot;asset_tracker&amp;quot; application to easier see what is actually going on.&lt;/p&gt;
&lt;p&gt;Here you can see the output after the &amp;quot;asset_tracker&amp;quot; got a connection with the nrf cloud server.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1557824064712v4.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;- &amp;quot;LTE LC config ...&amp;quot; is showing while the kit is trying to get a network attachment, and the following output is from the application itself saying it found and got access to the nrf cloud server.&lt;/p&gt;
&lt;p&gt;If you get the same output, you can now go into www.nrfcloud.com and pair your nRF91DK with your account following the steps on the nrf cloud webpage. (&lt;em&gt;you do not need to register the iBasis SIM card more than once)&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;After you have followed the Pairing sequence given by nrfcloud you should see this verified in the output terminal as well.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1557824064714v5.png" alt=" " /&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1557824064715v6.png" alt=" " /&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;em&gt;Now you should be connected to nrfcloud.&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;&lt;strong&gt;&lt;em&gt;Extra tip:&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;For faster&amp;nbsp;attachment with the network&amp;nbsp;the next time you power on the board is to save the information about the network in the modem flash.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;To do this just send the AT command &amp;quot;&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fref_at_commands%2FREF%2Fat_commands%2Fmob_termination_ctrl_status%2Fcfun_set.html&amp;amp;resultof=%22at%2bcfun%22%20%22cfun%22%20" rel="noopener noreferrer" target="_blank"&gt;AT+CFUN=0&lt;/a&gt;&amp;quot;.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;This will Power off the modem as well as saving the network information in the modem flash.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;(note that you need to power cycle the board after this command to turn on the modem)&lt;/em&gt;&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;&lt;strong&gt;Please share some logs/snippets if you have further issues.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;br /&gt;Martin&amp;nbsp; L.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 Cannot make Kconfig options have an effect in Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/thread/186868?ContentTypeID=1</link><pubDate>Tue, 14 May 2019 08:43:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4b29938-eb7d-4a0c-9b21-739a1788a298</guid><dc:creator>Johan</dc:creator><description>&lt;p&gt;I tried with another e-sim card and I get the same reaction. led 3 blinks, not led 4 (which should also blink).&lt;br /&gt;&lt;br /&gt;In the code:&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;/**@brief Callback for nRF Cloud events. */&lt;br /&gt;static void cloud_event_handler(const struct nrf_cloud_evt *evt)&lt;br /&gt;{&lt;br /&gt; int err;&lt;/p&gt;
&lt;p&gt;switch (evt-&amp;gt;type) {&lt;br /&gt; &lt;br /&gt;&lt;strong&gt;case NRF_CLOUD_EVT_TRANSPORT_CONNECTED:&lt;/strong&gt;&lt;br /&gt; printk(&amp;quot;NRF_CLOUD_EVT_TRANSPORT_CONNECTED\n&amp;quot;);&lt;br /&gt; break;&lt;br /&gt;&lt;br /&gt; &lt;strong&gt;case NRF_CLOUD_EVT_USER_ASSOCIATION_REQUEST:&lt;/strong&gt;&lt;br /&gt; printk(&amp;quot;NRF_CLOUD_EVT_USER_ASSOCIATION_REQUEST\n&amp;quot;);&lt;br /&gt; on_user_association_req(evt);&lt;br /&gt; break;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I need the 2nd case to be triggered, but the nrfCloud doesn&amp;#39;t send out the request, just instead sends connected - which is useless, since I have deleted the LTE device from the web - so it should send the user association request. Or is there something I need to do to disassociate the e-sims with the cloud which is an option I missed in your nrfCloud-site?&lt;br /&gt;&lt;br /&gt;I&amp;#39;m stuck here Martin.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 Cannot make Kconfig options have an effect in Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/thread/186864?ContentTypeID=1</link><pubDate>Tue, 14 May 2019 08:33:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb707337-b2fb-4854-8084-564857a07e1b</guid><dc:creator>Johan</dc:creator><description>&lt;p&gt;Martin, my unit doesn&amp;#39;t get into pairing state.&lt;br /&gt;I follow the instructions on your cloud and boot up my DK but it connects to the cloud, but no pairing.&amp;nbsp;&lt;br /&gt;So If im right, the nrfCloud doesn&amp;#39;t send &amp;quot;goto pairing&amp;quot; mode to the DK.&lt;br /&gt;&lt;br /&gt;I need help here.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 Cannot make Kconfig options have an effect in Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/thread/186774?ContentTypeID=1</link><pubDate>Mon, 13 May 2019 14:57:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6208c049-c71d-4ab7-ad60-b19c2160c184</guid><dc:creator>Johan</dc:creator><description>&lt;p&gt;Thanks for the other 2 answers.&lt;br /&gt;I will look into them, and make use for them - tomorrow!&lt;br /&gt;Have a good day!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 Cannot make Kconfig options have an effect in Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/thread/186773?ContentTypeID=1</link><pubDate>Mon, 13 May 2019 14:56:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5f9a42a2-4bed-4061-bdcd-a942cd1c79e7</guid><dc:creator>Johan</dc:creator><description>&lt;p&gt;Ok, I might be tired, but what&amp;#39;s the practical use for this security tag, with the BSD-secure socket?&lt;br /&gt;Can I use the same tag as already there, or I need a new one?&lt;br /&gt;What&amp;#39;s the penetration risk? Is it a key for encryption?&lt;br /&gt;&lt;br /&gt;I can use the same tag for every unit or is that creading a risk I don&amp;#39;t see?&lt;br /&gt;I&amp;#39;m new at this nrf-cloud things, so I&amp;#39;m asking rather more than too little.&lt;br /&gt;&lt;br /&gt;I&amp;#39;m guessing a different key for every device I&amp;#39;m making is the way to go.&lt;br /&gt;But, I don&amp;#39;t need to put them in a database right, it&amp;#39;s just a local key, one time made, or can be recreated upon each boot?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 Cannot make Kconfig options have an effect in Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/thread/186771?ContentTypeID=1</link><pubDate>Mon, 13 May 2019 14:50:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dc939031-ea73-49b4-b3a5-25faecb290a0</guid><dc:creator>Johan</dc:creator><description>&lt;p&gt;Ok, I&amp;#39;ll tell him to ignore that email then :-)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 Cannot make Kconfig options have an effect in Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/thread/186770?ContentTypeID=1</link><pubDate>Mon, 13 May 2019 14:48:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b73be0a4-08f5-45cd-86a3-3e69270b0ecd</guid><dc:creator>Johan</dc:creator><description>&lt;p&gt;I have requested a security tag from my cloud guy. Let&amp;#39;s see if he manages to create one from the AWS console and such.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 Cannot make Kconfig options have an effect in Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/thread/186769?ContentTypeID=1</link><pubDate>Mon, 13 May 2019 14:47:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d62dc037-197c-4390-ab47-41ca1590387f</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hi Johan,&lt;/p&gt;
&lt;p&gt;1) Since the LTE_Gateway uses the&amp;nbsp;LTE_LINK_CONTROL library, you can actually enable a &lt;a href="https://github.com/NordicPlayground/fw-nrfconnect-nrf/blob/2717c650e54f675642e2ad8fc4f9b8670f52348c/drivers/lte_link_control/Kconfig#L92" rel="noopener noreferrer" target="_blank"&gt;config&lt;/a&gt;&amp;nbsp;so the Application will set the modem in the correct mode at startup.&lt;/p&gt;
&lt;p&gt;So you could enable this configs in the prj.conf file, either:&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_LTE_NETWORK_MODE_NBIOT=y&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;to enable NB-IoT mode, or:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_LTE_NETWORK_MODE_LTE_M=y&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;to enable LTE-M mode at startup.&lt;/span&gt;&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;&lt;span&gt;It is also worth noting that if you want to store the connection mode permanently in the Modem flash you can set it with the AT-command: AT%XSYSTEMMODE=&amp;lt;mode&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;then send the command: &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fref_at_commands%2FREF%2Fat_commands%2Fmob_termination_ctrl_status%2Fcfun_set.html&amp;amp;resultof=%22cfun%22%20"&gt;AT+CFUN=0&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;to set the modem in power off mode and store the settings in the modem flash.&lt;/span&gt;&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;&lt;em&gt;&lt;span style="text-decoration:underline;"&gt;Quick tip:&lt;/span&gt;&amp;nbsp; &lt;/em&gt;note&amp;nbsp;that you can set up a socket and send AT-Commands directly in your application similarly to what is done in the &lt;a href="https://github.com/NordicPlayground/fw-nrfconnect-nrf/blob/master/drivers/lte_link_control/lte_lc.c" rel="noopener noreferrer" target="_blank"&gt;LTE Link Control library&lt;/a&gt;&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;2)&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The&amp;nbsp;security tag in the &lt;a href="https://github.com/NordicPlayground/fw-nrfconnect-nrf/blob/master/subsys/net/lib/nrf_cloud/src/nrf_cloud_transport.c#L357" rel="noopener noreferrer" target="_blank"&gt;nrf_inbuilt_key_write()&lt;/a&gt; function&amp;nbsp;is documented as such:&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="https://github.com/NordicPlayground/nrfxlib/blob/master/bsdlib/include/nrf_inbuilt_key.h#L27" rel="noopener noreferrer" target="_blank"&gt;&lt;em&gt;&amp;quot;Application defined tag for this credential to be referred&lt;/em&gt;&lt;/a&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;a href="https://github.com/NordicPlayground/nrfxlib/blob/master/bsdlib/include/nrf_inbuilt_key.h#L27" rel="noopener noreferrer" target="_blank"&gt;&lt;em&gt;to in setting up a BSD Secure Socket or to manage the credential&amp;quot;&lt;/em&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;The security tag used in the&lt;a href="https://github.com/NordicPlayground/fw-nrfconnect-nrf/blob/master/subsys/net/lib/nrf_cloud/src/nrf_cloud_transport.c#L393" rel="noopener noreferrer" target="_blank"&gt; tls_credential_add() &lt;/a&gt;function:&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;quot;&lt;a href="https://github.com/NordicPlayground/fw-nrfconnect-zephyr/blob/master/include/net/tls_credentials.h#L78" rel="noopener noreferrer" target="_blank"&gt;A security tag that credential will be referenced with.&amp;quot;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;So it is not something you need to request from your AWS guy.&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;3) Yes I think that should be fine. If you are referring to what I think you are referring to.&lt;/p&gt;
&lt;p&gt;Since for our solution when we are connecting to the nrfcloud we use the IMEI number for the nrf91 SIP as clientID.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Please use the nrf_cloud_transport.c file as reference.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;&lt;a href="https://docs.aws.amazon.com/iot/latest/developerguide/managing-device-certs.html" rel="noopener noreferrer" target="_blank"&gt;Managing Device certification AWS Documentation&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 Cannot make Kconfig options have an effect in Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/thread/186768?ContentTypeID=1</link><pubDate>Mon, 13 May 2019 14:46:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5740615a-d24e-4b94-a73d-8906c1c67716</guid><dc:creator>Johan</dc:creator><description>&lt;p&gt;ps. I did check the source code for security tag, but there is no explanation, more than function calls using it. ds.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 Cannot make Kconfig options have an effect in Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/thread/186754?ContentTypeID=1</link><pubDate>Mon, 13 May 2019 14:02:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8fef5845-8e1d-49d5-9e87-2e13bcea10ab</guid><dc:creator>Johan</dc:creator><description>&lt;p&gt;Hi Martin,&lt;/p&gt;
&lt;p&gt;great you&amp;#39;re back, since I need more support to get this ship going.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;1)&lt;br /&gt;So If I get you, you recommend setting these settings then resetting the modem, for it to boot up in the correct mode ?&lt;br /&gt;&lt;br /&gt;I&amp;#39;m using the &amp;quot;ble_lte_gateway&amp;quot;-example. I&amp;#39;m guessing there is no easy way to put at-commands anywhere in it as it is, without rewriting parts, or? I could just use at_client-example as well, to set them, then put back this ble_lte_gateway to continue testing to get the certificates working. Sounds good to you?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;2) The security tag, is this something I should request from our AWS-guy then? &lt;br /&gt;I&amp;#39;m not into the AWS-stuff, just receiving certificates from him, to put in the certificates.h so far.&lt;br /&gt;&lt;br /&gt;3) I see also a clientID, it&amp;#39;s probably from AWS. Could it be the numbers in the filename?&lt;br /&gt;&amp;quot;70ff304fdd-private.pem.key&amp;quot;, ie 70ff304ffdd ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 Cannot make Kconfig options have an effect in Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/thread/186750?ContentTypeID=1</link><pubDate>Mon, 13 May 2019 13:53:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dc74db68-983c-4d2a-a1d3-de956179738a</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hello Johan,&lt;br /&gt;1. You can get/set that data from a simple AT command: &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fref_at_commands%2FREF%2Fat_commands%2Fmob_termination_ctrl_status%2Fxsystemmode_set.html" rel="noopener noreferrer" target="_blank"&gt;AT%XSYSTEMMODE?&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;1,0,0,0 = LTE CAT-M1

0,1,0,0 = LTE CAT-NB1

0,0,1,0 = GNSS&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;This has to be set before the modem is turned on (&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fref_at_commands%2FREF%2Fat_commands%2Fmob_termination_ctrl_status%2Fcfun_set.html&amp;amp;resultof=%22cfun%22%20" rel="noopener noreferrer" target="_blank"&gt;AT+CFUN=1&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;and can be changed if the modem is in Offline mode (AT+CFUN=4)&amp;nbsp;&lt;/p&gt;
&lt;p&gt;(When you turn on the nRF91 it will default be in Offline mode if the application&amp;nbsp;&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;2. Our nrfcloud solution runs on AWS.&lt;/p&gt;
&lt;p&gt;The security tag you are referring to is used&amp;nbsp;when provisioning the certificates to the nrf91.&lt;br /&gt;Please see how this is used in&lt;a href="https://github.com/NordicPlayground/fw-nrfconnect-nrf/blob/d7bd8c476bc115006bb4417b39ecb75e34568164/subsys/net/lib/nrf_cloud/src/nrf_cloud_transport.c#L357" rel="noopener noreferrer" target="_blank"&gt; nrf_cloud_transport.c&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;So if you are going to provision certificates to the modem you need a security tag.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Martin L.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 Cannot make Kconfig options have an effect in Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/thread/186748?ContentTypeID=1</link><pubDate>Mon, 13 May 2019 13:50:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:733dc3ba-50a5-4c9d-aa0e-82b576898f2a</guid><dc:creator>Johan</dc:creator><description>&lt;p&gt;As, well, how do I remove pairing with nrfCloud?&amp;nbsp;&lt;br /&gt;I removed my unit from it, but the local device refuses to go into &amp;quot;led 3 and led 4&amp;quot; -blink.&lt;br /&gt;Just &amp;quot;led 3&amp;quot; - blinking.&lt;br /&gt;&lt;br /&gt;It seems it&amp;#39;s receiving this from the cloud, what to do. So the cloud solution tells my unit it doesn&amp;#39;t need any paring, but I have removed it, so it does!&lt;br /&gt;Bug?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 Cannot make Kconfig options have an effect in Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/thread/186599?ContentTypeID=1</link><pubDate>Mon, 13 May 2019 09:03:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6e83c026-1421-4c51-a453-67fa50c2f880</guid><dc:creator>Johan</dc:creator><description>&lt;p&gt;Some more questions for you Martin:&lt;br /&gt;&lt;br /&gt;1.How do I know what kind of connection the LTE is using, with the sample BLE_LTE_gateway?&lt;br /&gt;I want to be in control of and set it to &lt;strong&gt;NB-LTE&lt;/strong&gt; forced, and also read and verify this setting has been taken effect.&lt;br /&gt;How can I accomplish this?&lt;br /&gt;&lt;br /&gt;2. What is &amp;quot;&lt;strong&gt;Security tag to use for nRF Cloud connection&lt;/strong&gt;&amp;quot;? Is it for AWS or just your own solution? I haven&amp;#39;t found any documentation on AWS of this yet.&lt;br /&gt;&lt;br /&gt;Cheers,&lt;br /&gt;Johan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 Cannot make Kconfig options have an effect in Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/thread/186597?ContentTypeID=1</link><pubDate>Mon, 13 May 2019 09:02:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:74157fff-3a89-4615-a75f-18ec282523bf</guid><dc:creator>Johan</dc:creator><description>&lt;p&gt;I got it to accept, with leaving out the last 2 digits.&lt;br /&gt;Device registered.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 Cannot make Kconfig options have an effect in Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/thread/186593?ContentTypeID=1</link><pubDate>Mon, 13 May 2019 08:45:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:03e333f3-47b4-49a4-85c4-2d33cc6c6af2</guid><dc:creator>Johan</dc:creator><description>&lt;p&gt;Hi martin!&lt;br /&gt;&lt;br /&gt;BLE connects now. I made the mistake of not selecting the right board when flashing.&lt;br /&gt;&lt;br /&gt;Other problem.&lt;br /&gt;I&amp;#39;m trying to register my IOT-simcard, from Swedish Telia.com&lt;br /&gt;&lt;br /&gt;The ICCID doesn&amp;#39;t fit in the input field of your nrf-cloud website.&lt;br /&gt;The last 2 numbers are refused due to the limit of characters in the field, when adding a LTE device.&lt;br /&gt;Im reading the ICC: -field on my sim card and it is 5x4 = 20 numbers long.&lt;br /&gt;You only accept 18 numbers.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 Cannot make Kconfig options have an effect in Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/thread/186411?ContentTypeID=1</link><pubDate>Fri, 10 May 2019 12:00:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ef257fa-89e9-4783-aec3-b6e8092162c4</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hi Johan,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;The NCS tag v0.4.0 just got released!&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/0.4.0/nrf/doc/release-notes-0.4.0.html"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/0.4.0/nrf/doc/release-notes-0.4.0.html&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Please go to:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;cd ncs/nrf
git checkout master
git pull
git checkout v0.4.0
west update&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;To get the stable release.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Remember that you need to flash the nrf52 (&lt;span style="text-decoration:underline;"&gt;&lt;strong&gt;nrf52840_pca10090&lt;/strong&gt;&lt;/span&gt;) on the nRF91 DK with the HCI_UART sample.&lt;/p&gt;
&lt;p&gt;as described here:&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/nrf9160/lte_ble_gateway/README.html"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/nrf9160/lte_ble_gateway/README.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Martin L.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>