<?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>Hostname in nrfConnect settings is not set when running code</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/57168/hostname-in-nrfconnect-settings-is-not-set-when-running-code</link><description>I have set the host name to my aws thing endpoint name per the instructions on the following link 
 
 developer.nordicsemi.com/.../README.html 
 
 but the hostname ends up blank as you can see in the watch window at the breakpoint 
 
 
 and the settings</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 06 Feb 2020 10:35:49 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/57168/hostname-in-nrfconnect-settings-is-not-set-when-running-code" /><item><title>RE: Hostname in nrfConnect settings is not set when running code</title><link>https://devzone.nordicsemi.com/thread/233015?ContentTypeID=1</link><pubDate>Thu, 06 Feb 2020 10:35:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:53ad0122-fe6a-49ce-98bf-683b3f9998a2</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I see that you are getting help regarding the same issue from my colleague in your other ticket. I think he has more knowledge about the application that you are working on, so unless you see a specific reason, I suggest that you follow up in &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/57401/nrf9160-aws-fota-fails-after-ota-job-starts" rel="noopener noreferrer" target="_blank"&gt;that ticket&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hostname in nrfConnect settings is not set when running code</title><link>https://devzone.nordicsemi.com/thread/232563?ContentTypeID=1</link><pubDate>Tue, 04 Feb 2020 12:56:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3dde2eb0-848f-4866-9582-e410d0f48649</guid><dc:creator>hmichel</dc:creator><description>&lt;p&gt;I could not find NET_ROUTE_ and NET_CONN. But I set all the others. Set &amp;quot;Optimize for size&amp;quot;&lt;/p&gt;
&lt;p&gt;Here is the terminal log. It seems like the LTE won&amp;#39;t connect with those settings&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1580820998958v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hostname in nrfConnect settings is not set when running code</title><link>https://devzone.nordicsemi.com/thread/232543?ContentTypeID=1</link><pubDate>Tue, 04 Feb 2020 12:25:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab09e9c4-2bb2-4a2e-bcc9-0283b449e8ea</guid><dc:creator>hmichel</dc:creator><description>&lt;p&gt;I fixed my error. I will try your suggestions now&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hostname in nrfConnect settings is not set when running code</title><link>https://devzone.nordicsemi.com/thread/232532?ContentTypeID=1</link><pubDate>Tue, 04 Feb 2020 11:59:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:633f2173-d865-492b-9934-357f751145e7</guid><dc:creator>hmichel</dc:creator><description>&lt;p&gt;I found the LOG_ entries. However, for some reason I am getting the following error&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:#ffffff;"&gt;LTE Link Connected!&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:#ffffff;"&gt;IPv4 Address 3.130.92.97&lt;br /&gt;client_id: nrf-352656100047698&lt;br /&gt;ERROR: mqtt_connect -45&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;And last night the device connected several times right before I stopped working. So I have a different problem I need to fix before I can test your suggestions.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you for seeing the missing &amp;quot;,&amp;quot; in the json file. Simple beginner mistake&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hostname in nrfConnect settings is not set when running code</title><link>https://devzone.nordicsemi.com/thread/232457?ContentTypeID=1</link><pubDate>Tue, 04 Feb 2020 07:52:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c91de677-8598-44d3-827a-7e313b571b84</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;If you search for &amp;quot;LOG_&amp;quot; in menuconfig, they should turn up.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regarding the json file: It looks like you are missing a comma after &amp;quot;size&amp;quot;: 232128,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Try to add this, and see if it still reports it as an invalid file.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hostname in nrfConnect settings is not set when running code</title><link>https://devzone.nordicsemi.com/thread/232441?ContentTypeID=1</link><pubDate>Tue, 04 Feb 2020 03:08:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:67fe9dd7-b895-43f5-8351-9e0ff782dbd2</guid><dc:creator>hmichel</dc:creator><description>&lt;p&gt;I don&amp;#39;t see where I set or select those in menuconfig&lt;/p&gt;
&lt;p&gt;Also did you see my screen shots about trying the json file as you had suggested?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hostname in nrfConnect settings is not set when running code</title><link>https://devzone.nordicsemi.com/thread/232400?ContentTypeID=1</link><pubDate>Mon, 03 Feb 2020 15:42:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bd0dcce8-154c-4980-b3fb-c40fd204d7b5</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Can you please try to enable some debug logging on some of the modules from your menuconfig, and then let me know what the log says when optimization isn&amp;#39;t enabled:&lt;/p&gt;
&lt;p&gt;MQTT_LOG_LEVEL_DBG&lt;br /&gt;NET_ROUTE_LOG_LEVEL_DBG&lt;br /&gt;NET:_CONN_LOG_LEVEL_DBG&lt;br /&gt;AWS_JOBS_LOG_LEVEL_DBG&lt;br /&gt;AWS_FOTA_LOG_LEVEL_DBG&lt;br /&gt;DFU_TARGET_LOG_LEVEL_DBG&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hostname in nrfConnect settings is not set when running code</title><link>https://devzone.nordicsemi.com/thread/232299?ContentTypeID=1</link><pubDate>Mon, 03 Feb 2020 12:07:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3d1c1155-044b-4aff-989a-2ed11d2c4e32</guid><dc:creator>hmichel</dc:creator><description>&lt;p&gt;And with &amp;quot;optimize for debug&amp;quot; turned back on it works&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1580731660815v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hostname in nrfConnect settings is not set when running code</title><link>https://devzone.nordicsemi.com/thread/232293?ContentTypeID=1</link><pubDate>Mon, 03 Feb 2020 11:52:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1a8d329c-5129-49d2-8c1d-8e38f9f1a483</guid><dc:creator>hmichel</dc:creator><description>&lt;p&gt;When I turn &amp;quot;optimize for size&amp;quot; back on I get the following error. Something is wrong with the optimization&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1580730728546v1.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hostname in nrfConnect settings is not set when running code</title><link>https://devzone.nordicsemi.com/thread/232287?ContentTypeID=1</link><pubDate>Mon, 03 Feb 2020 11:22:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:25dcc684-e0c5-4868-b031-6a62781eecad</guid><dc:creator>hmichel</dc:creator><description>&lt;p&gt;I uploaded the Json job file into the same bucket as the image&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1580728355195v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;then I created a new job&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1580728337954v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1580728382167v3.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1580728430595v4.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;and I keep defaults on this page&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1580728475030v5.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;When press create I get the following&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1580728758569v6.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;and this is the content of the json file&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1580728832592v7.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;which matches the format of the example given in&lt;/p&gt;
&lt;p&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/nrf9160/aws_fota/README.html#configuring"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/nrf9160/aws_fota/README.html#configuring&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1580728935214v8.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hostname in nrfConnect settings is not set when running code</title><link>https://devzone.nordicsemi.com/thread/232264?ContentTypeID=1</link><pubDate>Mon, 03 Feb 2020 09:23:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bca624f0-d4a8-4e16-ad8d-9a79bb3bb69f</guid><dc:creator>Edvin</dc:creator><description>[quote user="hmichel"]So it them becomes a concern that optimization is preventing a constant into memory.[/quote]
&lt;p&gt;&amp;nbsp;Optimization is not actually causing any problems. I believe that the compiler sees that it doesn&amp;#39;t actually need to push this variable to the stack, but pushes it right to the register that it is being used, which is why you don&amp;#39;t see it while debugging.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="hmichel"]You will see that in step 13 it mentions uploading the json format file created in step 11. Is the json format file to be uploaded to the same S3 bucket as the app_update.bin file or if it is to be uploaded into a new S3 bucket?[/quote]
&lt;p&gt;&amp;nbsp;I see that it is a bit confusing since you are asked to log in twice (step 7 and 12), but you should be able to store it in the same S3 bucket. This is only a file management system, so for the example, it shouldn&amp;#39;t require you to use another S3 bucket.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hostname in nrfConnect settings is not set when running code</title><link>https://devzone.nordicsemi.com/thread/232211?ContentTypeID=1</link><pubDate>Mon, 03 Feb 2020 04:35:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:45bf35ef-4c73-4f66-a373-bd2f3d0ca57e</guid><dc:creator>hmichel</dc:creator><description>&lt;p&gt;Hi Edvin,&lt;/p&gt;
&lt;p&gt;One additional question since it relates to the reason for this support thread in the first place. I am now trying to get the AWS FOTA sample to work. If you look at the instructions in the following link:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/nrf9160/aws_fota/README.html#configuring"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/nrf9160/aws_fota/README.html#configuring&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;You will see that in step 13 it mentions uploading the json format file created in step 11. Is the json format file to be uploaded to the same S3 bucket as the app_update.bin file or if it is to be uploaded into a new S3 bucket?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hostname in nrfConnect settings is not set when running code</title><link>https://devzone.nordicsemi.com/thread/232207?ContentTypeID=1</link><pubDate>Mon, 03 Feb 2020 00:21:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e6b56bc-8abc-4d51-b79e-0d8f15ef6a82</guid><dc:creator>hmichel</dc:creator><description>&lt;p&gt;I specifically selected MenuConfig and did not select mcubott_menuconfig or spm_menuconfig. I just tested again as you suggested. And with optimization set to debug (which I had set before but maybe it did not save) I get the same result as you are&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1580690439630v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;So it them becomes a concern that optimization is preventing a constant into memory. I will be working at 12:00 Norway / 05:00 Nashville time if you can find an answer as to why the optimization is causing a problem. We need optimization working for production code. But for the time being I can get some work done.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hostname in nrfConnect settings is not set when running code</title><link>https://devzone.nordicsemi.com/thread/232112?ContentTypeID=1</link><pubDate>Fri, 31 Jan 2020 14:36:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e43b98a-4c2a-4601-90e9-50cc7d8fe624</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello. I just tested the aws_fota example, and initially (without any modifications) I saw the same behavior as you did. What project&amp;nbsp;settings is the screenshot in your original post from? Menuconfig, mcuboot_menuconfig or spm_menuconfig?&lt;/p&gt;
&lt;p&gt;I tried to set Menuconfig -&amp;gt; ticked of Optimize debugging experience -&amp;gt; pressed Configure:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-9303b89716824548989df518e73e24fc/pastedimage1580480666732v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;And then I can see the hostname pointer:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-9303b89716824548989df518e73e24fc/pastedimage1580481264162v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Are you sure you selected menuconfig? And that you have not saved the project settings? Please check whether that option is still set.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hostname in nrfConnect settings is not set when running code</title><link>https://devzone.nordicsemi.com/thread/232069?ContentTypeID=1</link><pubDate>Fri, 31 Jan 2020 11:52:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a24597e3-1db1-411d-a90c-574efc387917</guid><dc:creator>hmichel</dc:creator><description>&lt;p&gt;I also can use the simple MQTT Sample and change the desired broker (using nrfConnect Settings) to mqtt.dashboard.mqtt.com and publish messages&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hostname in nrfConnect settings is not set when running code</title><link>https://devzone.nordicsemi.com/thread/231990?ContentTypeID=1</link><pubDate>Fri, 31 Jan 2020 00:35:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:868d2278-5f6b-4625-b8ab-69b2b3fc214b</guid><dc:creator>hmichel</dc:creator><description>&lt;p&gt;I should also point out that the reason that I am looking at the hostname in the AWS FOTA sample is because the connection is not being made in the terminal window.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hostname in nrfConnect settings is not set when running code</title><link>https://devzone.nordicsemi.com/thread/231989?ContentTypeID=1</link><pubDate>Fri, 31 Jan 2020 00:34:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0db7caa1-4925-4593-bd3f-e6398de9c8cb</guid><dc:creator>hmichel</dc:creator><description>&lt;p&gt;Also when I run the simple_mqtt sample the hostname (node in this case) is displayable in the debug window.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1580430832693v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hostname in nrfConnect settings is not set when running code</title><link>https://devzone.nordicsemi.com/thread/231985?ContentTypeID=1</link><pubDate>Fri, 31 Jan 2020 00:12:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aecb019c-3329-4a3f-821a-7a2cf399c28a</guid><dc:creator>hmichel</dc:creator><description>&lt;p&gt;I set the optimization level to optimize for debug&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1580429464169v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;then reran the program and I get the same result&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1580429327745v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I will be working at 09:00 Norway time (02:00 Nashville time) if you are&lt;/p&gt;
&lt;p&gt;able to provide something additional to try&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hostname in nrfConnect settings is not set when running code</title><link>https://devzone.nordicsemi.com/thread/231930?ContentTypeID=1</link><pubDate>Thu, 30 Jan 2020 14:30:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:de3133d9-a8af-43ee-9980-0af07544f1a3</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;It may be caused by optimization by your compiler. Can you please try to disable the optimization and see if the variable&amp;#39;s content is displayed?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hostname in nrfConnect settings is not set when running code</title><link>https://devzone.nordicsemi.com/thread/231877?ContentTypeID=1</link><pubDate>Thu, 30 Jan 2020 12:19:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dff53ede-00ae-40db-ad43-02cc78525d30</guid><dc:creator>hmichel</dc:creator><description>&lt;p&gt;It also shows up in a search through the obj file for main and the elf files&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1580386716976v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;So it looks like it is generated by the nrfConnect settings process followed by a build&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hostname in nrfConnect settings is not set when running code</title><link>https://devzone.nordicsemi.com/thread/231863?ContentTypeID=1</link><pubDate>Thu, 30 Jan 2020 12:01:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f78b2c78-c759-41cf-b88d-78f402ca4104</guid><dc:creator>hmichel</dc:creator><description>&lt;p&gt;I hit same breakpoint then did a debug &amp;quot;step-over&amp;quot; with still the same result&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1580385540540v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The hostname is set in the calling function&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1580385600517v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;With the define&amp;nbsp;&lt;span style="background-color:#ffffff;"&gt;CONFIG_MQTT_BROKER_HOSTNAME&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;which is set to mqtt.eclipse.org&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1580385683567v3.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hostname in nrfConnect settings is not set when running code</title><link>https://devzone.nordicsemi.com/thread/231821?ContentTypeID=1</link><pubDate>Thu, 30 Jan 2020 09:53:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e94de93d-08ef-4e86-876b-30c447b4afcf</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;When you have stopped on line 385 in Segger Embeddes Studio, this line has not yet been executed. Try to set the breakpoint on the next line, and then check the hostname pointer in watch.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>