<?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 get Bluetooth mac address of connected device?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/20456/how-to-get-bluetooth-mac-address-of-connected-device</link><description>I have tried extracting Bluetooth address of connected device by using &amp;quot;ble_gap_addr_t&amp;quot; ,
by this i am able to get some address but that address is being changed after re-connection,why is it? I am using nRF51 DK.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 15 Mar 2017 14:19:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/20456/how-to-get-bluetooth-mac-address-of-connected-device" /><item><title>RE: How to get Bluetooth mac address of connected device?</title><link>https://devzone.nordicsemi.com/thread/79758?ContentTypeID=1</link><pubDate>Wed, 15 Mar 2017 14:19:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:10f66877-b9cc-40f0-b9c5-0f1c052efaff</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;We did see problems with Android and the device manager (predecessor to peer manager) when there was a shift in what address types Android uses. I recommend peer manager over device manager for that reason.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get Bluetooth mac address of connected device?</title><link>https://devzone.nordicsemi.com/thread/79757?ContentTypeID=1</link><pubDate>Wed, 15 Mar 2017 14:17:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b33e4c9a-72d8-47f4-ac93-83f825293496</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;AFAIK the default in recent  versions of Android is random addresses, either resolvable private address or non-resolvable private address.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get Bluetooth mac address of connected device?</title><link>https://devzone.nordicsemi.com/thread/79756?ContentTypeID=1</link><pubDate>Wed, 15 Mar 2017 14:12:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:68061e76-3a93-47bb-ab46-ef0b88bb5231</guid><dc:creator>Pranay</dc:creator><description>&lt;p&gt;Thanks...generally what type of BT address android device has?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get Bluetooth mac address of connected device?</title><link>https://devzone.nordicsemi.com/thread/79755?ContentTypeID=1</link><pubDate>Wed, 15 Mar 2017 14:01:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:60ad177b-d277-4204-a1b9-9950aa6b0dae</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;It depends on the type of address, but if it is a bonded device then you can identify and authenticate the device. See peer manager as suggested by @jorg1&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get Bluetooth mac address of connected device?</title><link>https://devzone.nordicsemi.com/thread/79753?ContentTypeID=1</link><pubDate>Wed, 15 Mar 2017 13:59:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4afb4f3f-fd18-4049-86f8-db8ef889a89c</guid><dc:creator>J&amp;#248;rgen Kvalvaag</dc:creator><description>&lt;p&gt;Yes, look into the module peer_manager in the nRF5 SDK (or device_manager on older versions of the SDK)&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v13.0.0/lib_peer_manager.html?cp=4_0_0_3_1_6"&gt;Link to peer_manager docs&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get Bluetooth mac address of connected device?</title><link>https://devzone.nordicsemi.com/thread/79754?ContentTypeID=1</link><pubDate>Wed, 15 Mar 2017 13:50:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cf94a59f-31ff-496e-aa07-f1da89527ff6</guid><dc:creator>Pranay</dc:creator><description>&lt;p&gt;then Is there any way to identify that device if it tries to connect second time?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get Bluetooth mac address of connected device?</title><link>https://devzone.nordicsemi.com/thread/79752?ContentTypeID=1</link><pubDate>Wed, 15 Mar 2017 12:34:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:14ccf0e4-754c-4e15-bb87-41323bade44d</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The address of a BLE device can change, depending on what type of address it uses. See &lt;a href="https://devzone.nordicsemi.com/question/6496/gap-address-types/?answer=6498#post-id-6498"&gt;this answer&lt;/a&gt; for the various address types and how they are supposed to behave.&lt;/p&gt;
&lt;p&gt;Regards, Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>