<?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>advertising address</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/28957/advertising-address</link><description>Hi, 
 May I ask a simple question about an example how does it generate its own advertising address, such as the &amp;quot;ble_app_hrs&amp;quot; example? I mean where I can find device address assignment source code for the example. 
 Thank you.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 04 Jan 2018 11:53:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/28957/advertising-address" /><item><title>RE: advertising address</title><link>https://devzone.nordicsemi.com/thread/114555?ContentTypeID=1</link><pubDate>Thu, 04 Jan 2018 11:53:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:93cf13de-3ed4-471e-863e-782bd1b99f4f</guid><dc:creator>Archer</dc:creator><description>&lt;p&gt;Got it.
Thanks for your prompt reply.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: advertising address</title><link>https://devzone.nordicsemi.com/thread/114554?ContentTypeID=1</link><pubDate>Thu, 04 Jan 2018 11:43:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:933681a3-9be9-400b-8828-abe2f62b004b</guid><dc:creator>shibshab</dc:creator><description>&lt;p&gt;The default behavior is to use the address found in the &lt;code&gt;NRF_FICR-&amp;gt;DEVICEADDR&lt;/code&gt; &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/ficr.html?cp=2_1_0_12_0_13#register.DEVICEADDR-0"&gt;registers&lt;/a&gt; (with some potential modifications to make it legal per BLE standard). This is not visible in the code as it is done internally in the SoftDevice.&lt;/p&gt;
&lt;p&gt;You can however set the address yourself using &lt;code&gt;sd_ble_gap_addr_set&lt;/code&gt; (or &lt;code&gt;sd_ble_gap_address_set&lt;/code&gt; if using old SoftDevice).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>