<?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>Custom BD address (MAC) in secure bootloader with bonds</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/38255/custom-bd-address-mac-in-secure-bootloader-with-bonds</link><description>I&amp;#39;ve created this function 
 static void set_bd_addr(void) { ret_code_t ret_code; ble_gap_addr_t gap_addr; gap_addr.addr_id_peer = 0; gap_addr.addr_type = BLE_GAP_ADDR_TYPE_PUBLIC; // Get BD address from UICR memory uint8_t* ptr = (uint8_t*)&amp;amp;NRF_UICR</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 06 Sep 2018 13:26:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/38255/custom-bd-address-mac-in-secure-bootloader-with-bonds" /><item><title>RE: Custom BD address (MAC) in secure bootloader with bonds</title><link>https://devzone.nordicsemi.com/thread/147602?ContentTypeID=1</link><pubDate>Thu, 06 Sep 2018 13:26:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7cbf4373-2c85-42ad-9c38-eef8eb34e083</guid><dc:creator>vist</dc:creator><description>&lt;p&gt;Thank you for the quick reply, I decided to make a copy of nrf_dfu_ble.c and use that in order to not mess up the sdk files. I put the set_bd_addr function at the end of gap_params_init and it seems to work well.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom BD address (MAC) in secure bootloader with bonds</title><link>https://devzone.nordicsemi.com/thread/147589?ContentTypeID=1</link><pubDate>Thu, 06 Sep 2018 12:35:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5c93a62f-14d7-44a7-a94a-45e2a549b39f</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Most of the softdevice APIs can only be used after the softdevice has been enabled. It is the BLE transport layer that enables the softdevice in the bootloader. I would suggest to change the address in nrf_dfu_ble.c::gap_params_init().&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>