<?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>nRF840 - S140 : How to fetch MAC addresses of surrounding  mobile devices during nRF52840 scanning using Bluetooth 5.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/46434/nrf840---s140-how-to-fetch-mac-addresses-of-surrounding-mobile-devices-during-nrf52840-scanning-using-bluetooth-5</link><description>Hello Nordic Team, We are using nRF52840 ble chip with S140 nordic stack and SDK 15.2.0 on the SEGGER IDE installed on the Windows OS. We want nRF52840 chip to detect surrounding mobile devices and also nRF52840 can fetch MAC addresses of mobile devices</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 25 Apr 2019 07:49:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/46434/nrf840---s140-how-to-fetch-mac-addresses-of-surrounding-mobile-devices-during-nrf52840-scanning-using-bluetooth-5" /><item><title>RE: nRF840 - S140 : How to fetch MAC addresses of surrounding  mobile devices during nRF52840 scanning using Bluetooth 5.</title><link>https://devzone.nordicsemi.com/thread/183664?ContentTypeID=1</link><pubDate>Thu, 25 Apr 2019 07:49:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:31ad94af-e4d2-40f8-9a25-092a6ea4112d</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Hi Bharat,&lt;/p&gt;
&lt;p&gt;You have asked an identical question &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/46433/nrf840---s140-how-to-fetch-mac-addresses-of-surrounding-mobile-devices-during-nrf52840-scanning-using-bluetooth-5"&gt;here&lt;/a&gt;. I would kindly suggest you to continue asking questions in that thread. Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF840 - S140 : How to fetch MAC addresses of surrounding  mobile devices during nRF52840 scanning using Bluetooth 5.</title><link>https://devzone.nordicsemi.com/thread/182870?ContentTypeID=1</link><pubDate>Sat, 20 Apr 2019 09:57:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a1c8dc87-9443-4e5a-9453-3c5fc2cab7e5</guid><dc:creator>Bharat</dc:creator><description>&lt;p&gt;Thanks Andy,&lt;/p&gt;
&lt;p&gt;How can we get public (identity) address or&amp;nbsp; Random static (identity) address of android mobile devices&lt;/p&gt;
&lt;p&gt;during the scanning&amp;nbsp; by nRF52840&amp;nbsp; ??&lt;/p&gt;
&lt;p&gt;Shoud we use central or pheripheral or dual mode (Central and Pheripheral)&amp;nbsp; stack for nRF52840&amp;nbsp; ??&lt;/p&gt;
&lt;p&gt;We are looking forward to hear from you.&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Bharat&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF840 - S140 : How to fetch MAC addresses of surrounding  mobile devices during nRF52840 scanning using Bluetooth 5.</title><link>https://devzone.nordicsemi.com/thread/182867?ContentTypeID=1</link><pubDate>Sat, 20 Apr 2019 09:43:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:14ba64e1-0939-4367-89c0-17828d188c5b</guid><dc:creator>Andy</dc:creator><description>&lt;p&gt;Well you can also check the type of address with&amp;nbsp;&lt;span&gt;p_ble_evt&lt;/span&gt;&lt;span&gt;-&amp;gt;&lt;/span&gt;&lt;span&gt;evt&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span&gt;gap_evt.params.adv_report.peer_addr&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span&gt;addr_type.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;You should get one of the following. What you do with that information is up to you.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;/**@defgroup BLE_GAP_ADDR_TYPES GAP Address types
 * @{ */
#define BLE_GAP_ADDR_TYPE_PUBLIC                        0x00 /**&amp;lt; Public (identity) address.*/
#define BLE_GAP_ADDR_TYPE_RANDOM_STATIC                 0x01 /**&amp;lt; Random static (identity) address. */
#define BLE_GAP_ADDR_TYPE_RANDOM_PRIVATE_RESOLVABLE     0x02 /**&amp;lt; Random private resolvable address. */
#define BLE_GAP_ADDR_TYPE_RANDOM_PRIVATE_NON_RESOLVABLE 0x03 /**&amp;lt; Random private non-resolvable address. */
#define BLE_GAP_ADDR_TYPE_ANONYMOUS                     0x7F /**&amp;lt; An advertiser may advertise without its address.
                                                                  This type of advertising is called anonymous. */
/**@} */&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF840 - S140 : How to fetch MAC addresses of surrounding  mobile devices during nRF52840 scanning using Bluetooth 5.</title><link>https://devzone.nordicsemi.com/thread/182864?ContentTypeID=1</link><pubDate>Sat, 20 Apr 2019 09:36:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6f5adb11-9edb-4677-a4da-3a6ef64d3558</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;But the address you get from a phone is not likely to be fixed ?&lt;/p&gt;
&lt;p&gt;It&amp;#39;ll be a &amp;quot;resolvable&amp;quot; address ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF840 - S140 : How to fetch MAC addresses of surrounding  mobile devices during nRF52840 scanning using Bluetooth 5.</title><link>https://devzone.nordicsemi.com/thread/182861?ContentTypeID=1</link><pubDate>Sat, 20 Apr 2019 09:26:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:27a840fd-7fea-4df4-8ef7-eb012b99b6b8</guid><dc:creator>Andy</dc:creator><description>&lt;p&gt;It is possible. Check&amp;nbsp;&lt;span&gt;p_ble_evt&lt;/span&gt;&lt;span&gt;-&amp;gt;&lt;/span&gt;evt&lt;span&gt;.&lt;/span&gt;gap_evt.params.adv_report.peer_addr&lt;span&gt;.&lt;/span&gt;addr on&amp;nbsp;BLE_GAP_EVT_ADV_REPORT.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>