<?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>Can SoftDevice generate random address automatically?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/75613/can-softdevice-generate-random-address-automatically</link><description>Hi, 
 How can I make the device generate random address periodically? I searched on the forum and found people mentioned BLE_GAP_ADDR_CYCLE_MODE_AUTO when call sd_ble_gap_address_set. This seems to be there in very old SDK. Is this feature still supported</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 27 May 2021 07:38:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/75613/can-softdevice-generate-random-address-automatically" /><item><title>RE: Can SoftDevice generate random address automatically?</title><link>https://devzone.nordicsemi.com/thread/311973?ContentTypeID=1</link><pubDate>Thu, 27 May 2021 07:38:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d6c54137-1dca-4506-891d-1b44bcf68cc4</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi Min-Ching,&lt;/p&gt;
&lt;p&gt;I would suggest to use the SDAPI to enable privacy:&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s140.api.v7.2.0/group___b_l_e___g_a_p___f_u_n_c_t_i_o_n_s.html#ga2203b7709d7178bc35e7f903bd0e913f"&gt;&lt;span&gt;sd_ble_gap_privacy_set&lt;/span&gt;&lt;/a&gt;() instead. See the example in this &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/39921/how-to-set-my-nrf-device-to-use-the-private-resolvable-address/155736#155736"&gt;post&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can SoftDevice generate random address automatically?</title><link>https://devzone.nordicsemi.com/thread/311890?ContentTypeID=1</link><pubDate>Wed, 26 May 2021 16:09:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b8087f07-03c2-4b2f-bc03-656b325b1861</guid><dc:creator>Min-Ching Ho</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Amanda,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; I&amp;#39;m using s140 on 52840. Isn&amp;#39;t the random static address will be set once and keep the address? I want to change my mac address periodically. Is it possible to do it?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Min-Ching Ho&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can SoftDevice generate random address automatically?</title><link>https://devzone.nordicsemi.com/thread/311800?ContentTypeID=1</link><pubDate>Wed, 26 May 2021 12:47:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d11c40c-afe9-4d2e-92e2-75c4f3e927d7</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Min-Ching,&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Which SD would you use?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s130.api.v2.0.1/group___b_l_e___g_a_p___f_u_n_c_t_i_o_n_s.html#ga78b1e409a55beedde9902e2c35a5b5c9"&gt;sd_ble_gap_address_set&lt;/a&gt;&amp;nbsp;is supported by (S13x v2.x).&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;In the latest SDK, you can set the BLE address using the function &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.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;&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v4.0.2/group___b_l_e___g_a_p___f_u_n_c_t_i_o_n_s.html?cp=2_3_0_1_1_2_1_2_1#gaef69dc212534adf4b78d211edce2267b"&gt;()&lt;/a&gt;.&amp;nbsp;The Nordic default is the random static address, for a random static address you do not need to change it periodically. Using a random static address does not require any management by the application.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>