<?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>Use fixed ble mac address on advertisement</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/85825/use-fixed-ble-mac-address-on-advertisement</link><description>I&amp;#39;m trying to send data readings an advertising packets from the nrf21540-dk board, and use the phone as an observer to record the data. 
 So far I&amp;#39;ve been able to send counters, and other data over BLE as advertisements. The issue I&amp;#39;m having is that</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 15 Mar 2022 15:05:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/85825/use-fixed-ble-mac-address-on-advertisement" /><item><title>RE: Use fixed ble mac address on advertisement</title><link>https://devzone.nordicsemi.com/thread/358267?ContentTypeID=1</link><pubDate>Tue, 15 Mar 2022 15:05:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b7568b0-d7a7-4d57-b1d7-9fa1e0639266</guid><dc:creator>Taylor</dc:creator><description>&lt;p&gt;I was trying to get the device to advertise without changing it&amp;#39;s address each time I did a stop and start. What I found is that I overlooked the first parameter for bt_le_adv_start, which after changing it to BT_LE_ADV_NCONN_IDENTITY, the address no longer changes and it works.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Use fixed ble mac address on advertisement</title><link>https://devzone.nordicsemi.com/thread/358228?ContentTypeID=1</link><pubDate>Tue, 15 Mar 2022 13:33:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9299102e-06a1-42e1-9bff-b601e0a5b055</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Typically you can use the&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.nrf52832.ps.v1.1%2Fficr.html&amp;amp;cp=4_2_0_12_0_13&amp;amp;anchor=register.DEVICEADDR-0"&gt; DEVICEADDR[0..1] &lt;/a&gt;in FICR for this. It&amp;#39;s not possible to change this address, but it is randomly generated in production with the sole intent to be used as a random static address in BLE.&lt;/p&gt;
&lt;p&gt;In the&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/reference/bluetooth/gap.html"&gt; Zephyr GAP &lt;/a&gt;you can use the bt_addr_le_create_static to create a random static address as well if you&amp;#39;d like, or just set the address used by the Bluetooth controller to use the one from FICR.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;SImon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>