<?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>do the BLE MAC address type can be  automatic recognition by the nrf2820&amp;#39;s ble stack?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/74995/do-the-ble-mac-address-type-can-be-automatic-recognition-by-the-nrf2820-s-ble-stack</link><description>Hello , 
 we know that, when initialize a BLE slave device ,we need to define the BLE MAC address type.(we need to write our owen address ,not usig the original ble address in the chip ) 
 
 In our production process, we use serevarl different ble mac</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 11 May 2021 12:31:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/74995/do-the-ble-mac-address-type-can-be-automatic-recognition-by-the-nrf2820-s-ble-stack" /><item><title>RE: do the BLE MAC address type can be  automatic recognition by the nrf2820's ble stack?</title><link>https://devzone.nordicsemi.com/thread/309237?ContentTypeID=1</link><pubDate>Tue, 11 May 2021 12:31:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd6b1e87-0a56-4c48-9789-053ef373fd4d</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;My suggestion here is that you write the address you want to use to the UICR in production:&lt;br /&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52820/uicr.html"&gt;https://infocenter.nordicsemi.com/topic/ps_nrf52820/uicr.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Then the application need to check the UICR content when initializing the BLE softdevice. If there is an address programmed to the UICR, then the application should call the &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s112.api.v7.2.0/group___b_l_e___g_a_p___f_u_n_c_t_i_o_n_s.html#gaef69dc212534adf4b78d211edce2267b"&gt;sd_ble_gap_addr_set()&lt;/a&gt; before starting to advertise or scan. The application should be able to set the address and address type based on the content in the UICR.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>