<?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 change random static bd addr dynamicly using mesh SDK V3.1?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/46353/how-to-change-random-static-bd-addr-dynamicly-using-mesh-sdk-v3-1</link><description>Hello, I just want to set one random static bd addr using mesh SDK v3.1, and it seemed I have set correctly, but the SOC(nrf52840DK) still use the default bd addr which is read from NRF_FICR. the log is as follow 
 
 
 but I what I actually got is 
 I</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 24 Apr 2019 14:44:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/46353/how-to-change-random-static-bd-addr-dynamicly-using-mesh-sdk-v3-1" /><item><title>RE: How to change random static bd addr dynamicly using mesh SDK V3.1?</title><link>https://devzone.nordicsemi.com/thread/183549?ContentTypeID=1</link><pubDate>Wed, 24 Apr 2019 14:44:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:55eaa2cc-ef86-4618-a9a2-4930cead0cd4</guid><dc:creator>summer</dc:creator><description>&lt;p&gt;thank you!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to change random static bd addr dynamicly using mesh SDK V3.1?</title><link>https://devzone.nordicsemi.com/thread/183471?ContentTypeID=1</link><pubDate>Wed, 24 Apr 2019 12:51:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:51583fd6-78b7-4480-a203-b31c2f910b02</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Sorry. this API is used to change the address that is used for Mesh only, not the BLE part.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;So if you send a mesh packet, it will have the originator address equal to the one you set in mesh_opt_core_adv_addr_set(). If you want to change the BLE address, you must use the sd_ble_gap_addr_set().&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to change random static bd addr dynamicly using mesh SDK V3.1?</title><link>https://devzone.nordicsemi.com/thread/183285?ContentTypeID=1</link><pubDate>Wed, 24 Apr 2019 02:03:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a087f905-f5af-4932-bccb-ad13c9a18e2c</guid><dc:creator>summer</dc:creator><description>&lt;p&gt;actually it returns NRF_SUCCESS, but&amp;nbsp;&lt;span&gt;mesh_opt_core_adv_addr_set() can&amp;#39;t change the address.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to change random static bd addr dynamicly using mesh SDK V3.1?</title><link>https://devzone.nordicsemi.com/thread/183166?ContentTypeID=1</link><pubDate>Tue, 23 Apr 2019 14:09:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eebd6f83-497a-43ec-b258-ce26b015919e</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;You should check the return value for your SDK function calls. mesh_opt_core_adv_addr_set() returns an uint32_t, as you can see &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.meshsdk.v3.1.0%2Fgroup__MESH__OPT__CORE.html&amp;amp;anchor=ga69a4b612e5989f682c90f8c2a5098626"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;What did it return? NRF_SUCCESS (=0) or something else?&lt;/p&gt;
&lt;p&gt;Your sd_ble_gap_addr_set() probably returned 0 (NRF_SUCCESS), but you should check that return value as well.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to change random static bd addr dynamicly using mesh SDK V3.1?</title><link>https://devzone.nordicsemi.com/thread/182707?ContentTypeID=1</link><pubDate>Thu, 18 Apr 2019 06:51:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b871839d-0242-48fd-a3db-15916d9faff5</guid><dc:creator>summer</dc:creator><description>&lt;p&gt;Problem solved by using the api&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;sd_ble_gap_addr_set()&lt;/pre&gt;&lt;br /&gt;but I still want to know why&amp;nbsp;mesh_opt_core_adv_addr_set() won&amp;#39;t work.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>