<?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 peer device address(Android/iOS)?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/14014/how-to-get-peer-device-address-android-ios</link><description>`Hi Guys,
My project requirement is that first time i have to bond and connect my nRF8001 BLE with peer device, once connected i have to find peer device address, after finding peer address i have to store the address, so i have to make sure that only</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 23 May 2016 11:55:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/14014/how-to-get-peer-device-address-android-ios" /><item><title>RE: how to get peer device address(Android/iOS)?</title><link>https://devzone.nordicsemi.com/thread/53520?ContentTypeID=1</link><pubDate>Mon, 23 May 2016 11:55:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1d374727-7797-414b-b39b-10c182a93336</guid><dc:creator>gbiradar</dc:creator><description>&lt;p&gt;Hi run_ar, thanks for your help i got the way to get peer address i have read p_aci_evt.params.connected.dev_addr[0]...[5]. device address order is 5-4-3-2-1-0.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to get peer device address(Android/iOS)?</title><link>https://devzone.nordicsemi.com/thread/53519?ContentTypeID=1</link><pubDate>Mon, 23 May 2016 10:24:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cda8195c-8c26-4f66-aaa5-4938f57ccb0e</guid><dc:creator>gbiradar</dc:creator><description>&lt;p&gt;i have called these API, acil_decode_evt_connected(readBuff, &amp;amp;(p_aci_evt.params.connected)); once i have connected with my peer device but when i read peer address p_aci_evt_params_connected.dev_addr[0] i&amp;#39;m getting 0 value, when read total readbuff i&amp;#39;m getting 70 value. can you just tell me which API can give me peer address and when should i call to read peer address.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to get peer device address(Android/iOS)?</title><link>https://devzone.nordicsemi.com/thread/53518?ContentTypeID=1</link><pubDate>Mon, 23 May 2016 09:46:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bafa5d3a-1edf-49ce-aab3-fdf41dfd14b9</guid><dc:creator>gbiradar</dc:creator><description>&lt;p&gt;hi run_ar, thanks for your reply, actually i&amp;#39;m trying to add a security feature that my nRF8001 board should connect with only one peer device whose address i&amp;#39;m going to store once it is bonded first time and no other peer device should connect. Now i have checked that ConnectedEvent(0x85) in which content peerAddress is available. can i call acil_decode_evt_connected API to read peer device address after connection. one more thing how can i find whether it is static address. As i have gone through in forum &lt;a href="https://devzone.nordicsemi.com/question/73434/different-peer-address-each-time/"&gt;random peer address&lt;/a&gt; it is mention that latest android phones are using random address.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to get peer device address(Android/iOS)?</title><link>https://devzone.nordicsemi.com/thread/53517?ContentTypeID=1</link><pubDate>Mon, 23 May 2016 09:25:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f9cd8bf5-da97-4145-b94a-554749fa9133</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;The peer address is provided in the connection event. However, if you are already bonded with a device using a static address a whitelist will be enabled by default. For devices using a resolvable private address the whitelist is disabled. Resolving the private address so you can choose to disconnect from unknown devices using a random private is possible, but can be complicated. So an option could be to simple start a timer to disconnect the peer in case the bond is not re-esthablished within a given time.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>