<?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>Public address instead of random BLE central</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/113003/public-address-instead-of-random-ble-central</link><description>Hello 
 
 I&amp;#39;ve previously developped a BLE peripheral product with a nRF52840 chip. I&amp;#39;ve been able to do everything I wanted for my peripheral and while I was making it I understood random and public addresses. My peripheral was firstly discovering with</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 12 Jul 2024 15:42:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/113003/public-address-instead-of-random-ble-central" /><item><title>RE: Public address instead of random BLE central</title><link>https://devzone.nordicsemi.com/thread/493687?ContentTypeID=1</link><pubDate>Fri, 12 Jul 2024 15:42:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6e5bd3d7-b303-4e34-ba1d-0be7fd7a3a3b</guid><dc:creator>Thibaud</dc:creator><description>&lt;p&gt;I&amp;#39;ve found the macro&amp;nbsp;BT_ADDR_IS_STATIC.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;That is how I used it :&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:72px;max-width:360px;" height="72" src="https://devzone.nordicsemi.com/resized-image/__size/720x144/__key/communityserver-discussions-components-files/4/pastedimage1720788729100v1.png" width="360" alt=" " /&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In my connected callback.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I let the ticket public if anyone has the same issue.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR&lt;/p&gt;
&lt;p&gt;Thibaud&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Public address instead of random BLE central</title><link>https://devzone.nordicsemi.com/thread/493631?ContentTypeID=1</link><pubDate>Fri, 12 Jul 2024 12:21:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:acfdafbd-f24e-4f8f-8dfc-98c3b16c1373</guid><dc:creator>Thibaud</dc:creator><description>&lt;p&gt;I looked deeper into how random/public addresses work. And I understood that public addresses need to be register &lt;span&gt;with the IEEE registration authority.&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;So, instead, I will use static mac address which is free and pre-programmed in your chips.&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;My question now is, in my Peripheral firmware, how do I know if the random address I get is private or static ? So I can do directed advertising on either public or static random address, regarding which one my central is using.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thibaud&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>