<?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>Need to devleop a source code which will connect mac address BLE_GAP_ADDR_TYPE_RANDOM_PRIVATE_RESOLVABLE</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/65864/need-to-devleop-a-source-code-which-will-connect-mac-address-ble_gap_addr_type_random_private_resolvable</link><description>Hi, 
 I am working on a project which will connect to device having static mac address . My job is to make sure that the device will connect to device having BLE_GAP_ADDR_TYPE_RANDOM_PRIVATE_RESOLVABLE address.When I checked the source code ,I found that</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 15 Sep 2020 06:16:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/65864/need-to-devleop-a-source-code-which-will-connect-mac-address-ble_gap_addr_type_random_private_resolvable" /><item><title>RE: Need to devleop a source code which will connect mac address BLE_GAP_ADDR_TYPE_RANDOM_PRIVATE_RESOLVABLE</title><link>https://devzone.nordicsemi.com/thread/269512?ContentTypeID=1</link><pubDate>Tue, 15 Sep 2020 06:16:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1cfa2936-5acb-4d86-8670-e8cb7bed634d</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi Vijith,&lt;/p&gt;
[quote user=""]I am working on a project which will connect to device having static mac address . My job is to make sure that the device will connect&amp;nbsp; to device having&amp;nbsp; BLE_GAP_ADDR_TYPE_RANDOM_PRIVATE_RESOLVABLE address.[/quote]
&lt;p&gt;&lt;span&gt;Resolvable addresses can be changed at any time, and thus it doesn&amp;#39;t make sense to use that address for directed advertising. Instead undirected advertising with a whitelist should be used. The Identity Resolve Key (IRK) is put in the whitelist, which makes it possible to recognize the Master even though it has changed its address. &lt;/span&gt;&lt;span&gt;See this &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/904/bond-manager-issue/4398#4398"&gt;thread&lt;/a&gt;.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;You can refer to for instance refer to the&amp;nbsp;&lt;a href="https://www.nordicsemi.com/DocLib/Content/SDK_Doc/nRF5_SDK/v15-2-0/ble_sdk_app_hids_keyboard"&gt;HID Keyboard Application&lt;/a&gt;&amp;nbsp;to see how whitelisting is implemented there. See this &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/42059/using-whitelist-with-ble_gap_addr_type_random_private_resolvable"&gt;post&lt;/a&gt;.&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;-Amanda H.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>