<?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>How to set static nRF52 MAC address in using nRF Connect SDK 2.0.0?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/90889/how-to-set-static-nrf52-mac-address-in-using-nrf-connect-sdk-2-0-0</link><description>Hello together, 
 I have my own MAC addresses and want to make Zephyr use them. How can I do that? 
 What I found out is that the firmware read the MAC from settings &amp;quot;bt/id&amp;quot;, but cannot find any and thus calls to generate one. 
 Is there a way to define</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 11 Aug 2022 12:14:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/90889/how-to-set-static-nrf52-mac-address-in-using-nrf-connect-sdk-2-0-0" /><item><title>RE: How to set static nRF52 MAC address in using nRF Connect SDK 2.0.0?</title><link>https://devzone.nordicsemi.com/thread/381191?ContentTypeID=1</link><pubDate>Thu, 11 Aug 2022 12:14:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fa370314-a541-4bb1-ac8b-5fd2b55b8029</guid><dc:creator>Hauser</dc:creator><description>&lt;p&gt;Works perfect, thank you!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to set static nRF52 MAC address in using nRF Connect SDK 2.0.0?</title><link>https://devzone.nordicsemi.com/thread/381185?ContentTypeID=1</link><pubDate>Thu, 11 Aug 2022 12:01:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d2b0181-27fa-4370-a857-cdb81916ee1a</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;Hauser,&lt;/p&gt;
&lt;p&gt;You can either use &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/connectivity/bluetooth/api/controller.html#c.bt_ctlr_set_public_addr"&gt;bt_ctlr_set_public_addr()&lt;/a&gt;&amp;nbsp;to set the public address, or you can use &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/connectivity/bluetooth/api/gap.html#c.bt_id_create"&gt;bt_id_create()&lt;/a&gt;&amp;nbsp;if the address is of another type. See Einar&amp;#39;s comment for an example of how to use this here:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/88961/private-bluetooth-address/372731"&gt;RE: Private Bluetooth Address&lt;/a&gt;&amp;nbsp;.&lt;/p&gt;
&lt;p&gt;Make sure to set the address before you call bt_enable().&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>