<?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>The nRF52 use the same Mac Address execute ADV mode is interference on some mobile</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/59776/the-nrf52-use-the-same-mac-address-execute-adv-mode-is-interference-on-some-mobile</link><description>Hi, 
 My product continues adv mode after connected with mobile until the amount of connection is full. By the way, there are 4 connect handle in my product. 
 My client use Samsung Note 5 bonding to my product (nRF52), and then this mobile continues</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 04 May 2020 06:54:23 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/59776/the-nrf52-use-the-same-mac-address-execute-adv-mode-is-interference-on-some-mobile" /><item><title>RE: The nRF52 use the same Mac Address execute ADV mode is interference on some mobile</title><link>https://devzone.nordicsemi.com/thread/247768?ContentTypeID=1</link><pubDate>Mon, 04 May 2020 06:54:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b09520a9-5daf-4dfd-8d98-82e8079226f9</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi Ken,&lt;/p&gt;
&lt;p&gt;Could you provide the&amp;nbsp;&lt;a href="https://www.nordicsemi.com/Software-and-tools/Development-Tools/nRF-Sniffer-for-Bluetooth-LE"&gt;sniff &lt;/a&gt;log? I would like&lt;span&gt;&amp;nbsp;the intended behavior from which side.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Could you also try other phones or OS versions? Do they also have the same behavior?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The nRF52 use the same Mac Address execute ADV mode is interference on some mobile</title><link>https://devzone.nordicsemi.com/thread/247435?ContentTypeID=1</link><pubDate>Thu, 30 Apr 2020 05:11:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6206d8d7-be2c-4546-915a-46948b0a6624</guid><dc:creator>CFF.K</dc:creator><description>&lt;p&gt;Hi Amanda:&lt;/p&gt;
&lt;p&gt;I follow your advice that the type of adv set direct mode, and the direct mac address set the Samsung&amp;#39;s mac address. The result of the Samsung mobile doesn&amp;#39;t reconnect with nRF52. The nRF52 was bonded with the Samsung mobile. I think the Samsung mobile reconnect when the nRF52 broadcast the type of adv is BLE_ADV_MODE_FAST.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The nRF52 use the same Mac Address execute ADV mode is interference on some mobile</title><link>https://devzone.nordicsemi.com/thread/247266?ContentTypeID=1</link><pubDate>Wed, 29 Apr 2020 09:41:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8b5c8a6c-ea75-45cd-a7a9-cecf549976ad</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi Ken,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;See&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v11.0.0/lib_ble_advertising.html?cp=5_0_0_3_1_1_3#ble_adv_msc"&gt;this&lt;/a&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;message sequence chart.&lt;/p&gt;
&lt;p&gt;When you start the directed advertisement you will get a BLE_ADV_EVT_PEER_ADDR_REQUEST event. There you will have to call&lt;span&gt; &lt;a title="ble_advertising_peer_addr_reply" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/group__ble__advertising.html?cp=7_1_6_2_0_15#gadf2cc35c97d0d6a75abbc82a6f148ee4"&gt;ble_advertising_peer_addr_reply&lt;/a&gt;()&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;with the peer address. Please see this &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/14558/connect-to-the-specified-phone/55591#55591"&gt;post&lt;/a&gt;. You could set the address in the&amp;nbsp;&lt;span&gt;BLE_ADV_EVT_PEER_ADDR_REQUEST event case or give the mac address to&amp;nbsp;m_advertising.&lt;a title="peer_address" href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/structble__advertising__t.html?cp=7_5_0_6_2_0_2_16#ac51d427456d5a57933bc87e1d26c7f8a"&gt;peer_address&lt;/a&gt;&amp;nbsp;(see the mac order in this &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/2293/how-to-work-with-direct-advetisement-mode"&gt;post&lt;/a&gt;).&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The nRF52 use the same Mac Address execute ADV mode is interference on some mobile</title><link>https://devzone.nordicsemi.com/thread/246990?ContentTypeID=1</link><pubDate>Tue, 28 Apr 2020 07:58:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7ebd81da-99f4-4b9a-b072-2d52cead44f9</guid><dc:creator>CFF.K</dc:creator><description>&lt;p&gt;Hi Amanda:&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I don&amp;#39;t know how setting direct mac address of direct adv type? How could I set&amp;nbsp;p_advertising-&amp;gt;peer_address.addr in the&amp;nbsp;adv_mode_next_avail_get() ?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Below is my setting:&lt;/p&gt;
&lt;p&gt;&lt;span&gt;m_advertising.adv_modes_config.ble_adv_directed_enabled = true;&lt;br /&gt; m_advertising.adv_mode_current = BLE_ADV_MODE_DIRECTED;&lt;br /&gt; err_code = ble_advertising_start(&amp;amp;m_advertising, m_advertising.adv_mode_current);&lt;br /&gt; APP_ERROR_CHECK(err_code);&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The nRF52 use the same Mac Address execute ADV mode is interference on some mobile</title><link>https://devzone.nordicsemi.com/thread/246266?ContentTypeID=1</link><pubDate>Thu, 23 Apr 2020 12:46:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:806ebe17-d686-4f12-b913-da0d5460bdc1</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;One of my last suggestion is:&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Are you doing the directed advertisement on the same phone?&amp;nbsp;You may try to disable the directed advertisement and see if you still get the same result.&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;You could check the HID mouse/keyboard example to see how to do that.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The nRF52 use the same Mac Address execute ADV mode is interference on some mobile</title><link>https://devzone.nordicsemi.com/thread/245468?ContentTypeID=1</link><pubDate>Mon, 20 Apr 2020 09:19:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e005e17e-e2a3-4a65-bbe0-69ca306f3ad6</guid><dc:creator>CFF.K</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I test 2 situations.&lt;/p&gt;
&lt;p&gt;(1) Different Mac address of nRF52&lt;/p&gt;
&lt;p&gt;Step1: I set&amp;nbsp;BLE_ADV_EVT_FAST in adv type, and start to adv.&lt;/p&gt;
&lt;p&gt;Step2: I change the mac address of the nRF52 after the mobile connects with nRF52.&lt;/p&gt;
&lt;p&gt;Step3: The nRF52 starts adv. the mobile doesn&amp;#39;t connect with this nRF52.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;(2)&amp;nbsp;Set&amp;nbsp;BLE_ADV_EVT_DIRECTED in second adv packet&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Step1:&amp;nbsp;I set&amp;nbsp;BLE_ADV_EVT_FAST in adv type, and start to adv.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Step2: I &lt;span&gt;set BLE_ADV_EVT_DIRECTED&lt;/span&gt;&lt;span&gt;&amp;nbsp;in adv type&lt;/span&gt;&amp;nbsp;after the mobile connects with nRF52.&lt;/p&gt;
&lt;p&gt;Step3: The nRF52 starts adv. the mobile doesn&amp;#39;t connect with this nRF52.&lt;/p&gt;
&lt;p&gt;By the way, the directed peer address set other mac address in the&amp;nbsp;&lt;span&gt;BLE_ADV_EVT_DIRECTED.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t know this test could help you analyze this question.&amp;nbsp; and I don&amp;#39;t sure this directed test is right. because I find many direct types in nRF52 ADV. Below these types:&lt;/p&gt;
&lt;p&gt;#define BLE_GAP_ADV_TYPE_CONNECTABLE_SCANNABLE_UNDIRECTED 0x01 /**&amp;lt; Connectable and scannable undirected&lt;br /&gt; advertising events. */&lt;br /&gt;#define BLE_GAP_ADV_TYPE_CONNECTABLE_NONSCANNABLE_DIRECTED_HIGH_DUTY_CYCLE 0x02 /**&amp;lt; Connectable non-scannable directed advertising&lt;br /&gt; events. Advertising interval is less that 3.75 ms.&lt;br /&gt; Use this type for fast reconnections.&lt;br /&gt; @note Advertising data is not supported. */&lt;br /&gt;#define BLE_GAP_ADV_TYPE_CONNECTABLE_NONSCANNABLE_DIRECTED 0x03 /**&amp;lt; Connectable non-scannable directed advertising&lt;br /&gt; events.&lt;br /&gt; @note Advertising data is not supported. */&lt;br /&gt;#define BLE_GAP_ADV_TYPE_NONCONNECTABLE_SCANNABLE_UNDIRECTED 0x04 /**&amp;lt; Non-connectable scannable undirected&lt;br /&gt; advertising events. */&lt;br /&gt;#define BLE_GAP_ADV_TYPE_NONCONNECTABLE_NONSCANNABLE_UNDIRECTED 0x05 /**&amp;lt; Non-connectable non-scannable undirected&lt;br /&gt; advertising events. */&lt;br /&gt;#define BLE_GAP_ADV_TYPE_EXTENDED_CONNECTABLE_NONSCANNABLE_UNDIRECTED 0x06 /**&amp;lt; Connectable non-scannable undirected advertising&lt;br /&gt; events using extended advertising PDUs. */&lt;br /&gt;#define BLE_GAP_ADV_TYPE_EXTENDED_CONNECTABLE_NONSCANNABLE_DIRECTED 0x07 /**&amp;lt; Connectable non-scannable directed advertising&lt;br /&gt; events using extended advertising PDUs. */&lt;br /&gt;#define BLE_GAP_ADV_TYPE_EXTENDED_NONCONNECTABLE_SCANNABLE_UNDIRECTED 0x08 /**&amp;lt; Non-connectable scannable undirected advertising&lt;br /&gt; events using extended advertising PDUs.&lt;br /&gt; @note Only scan response data is supported. */&lt;br /&gt;#define BLE_GAP_ADV_TYPE_EXTENDED_NONCONNECTABLE_SCANNABLE_DIRECTED 0x09 /**&amp;lt; Non-connectable scannable directed advertising&lt;br /&gt; events using extended advertising PDUs.&lt;br /&gt; @note Only scan response data is supported. */&lt;br /&gt;#define BLE_GAP_ADV_TYPE_EXTENDED_NONCONNECTABLE_NONSCANNABLE_UNDIRECTED 0x0A /**&amp;lt; Non-connectable non-scannable undirected advertising&lt;br /&gt; events using extended advertising PDUs. */&lt;br /&gt;#define BLE_GAP_ADV_TYPE_EXTENDED_NONCONNECTABLE_NONSCANNABLE_DIRECTED 0x0B /**&amp;lt; Non-connectable non-scannable directed advertising&lt;br /&gt; events using extended advertising PDUs. */&lt;/p&gt;
&lt;p&gt;Could you support an example for the direct packet of the adv packet?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The nRF52 use the same Mac Address execute ADV mode is interference on some mobile</title><link>https://devzone.nordicsemi.com/thread/244848?ContentTypeID=1</link><pubDate>Thu, 16 Apr 2020 06:26:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:146e8e06-e3b4-4cbd-a337-ea6e2df1b6bb</guid><dc:creator>CFF.K</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thank you for your help. I need a few days to test your suggestion. I will continue&amp;nbsp;the discussion with you when I finish these testing.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The nRF52 use the same Mac Address execute ADV mode is interference on some mobile</title><link>https://devzone.nordicsemi.com/thread/244715?ContentTypeID=1</link><pubDate>Wed, 15 Apr 2020 12:26:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c74ba12-a409-412d-844a-7ed6e0015f8b</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi Ken,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;We are not sure how to fix this since you&amp;#39;re initiating the connection through Bluetooth settings and not a custom app.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The following information came from the developer:&lt;/p&gt;
&lt;p&gt;The thing I understand it is like that:&lt;/p&gt;
&lt;p&gt;1. They have an HID device supporting multiple simultaneous clients. The device continues advertising after it&amp;#39;s connected, so other clients can connect to it.&lt;br /&gt; 2. However, the device is using only 1 resolvable MAC address for all connections. Instead, it should use 4, I think.&lt;br /&gt; 3. When first client bonds, the device should start advertising using a different MAC address, not the same.&amp;nbsp; There were already bonded devices, the device should advertise with all bound addresses, directly.&lt;br /&gt; 4. Right now, when the device is using the same MAC for all clients, the controller on the Samsung phone just checks, that the resolved MAC is in its white list and connects to it, despite it already being connected.&lt;br /&gt; 5. By separating MAC addresses this should not happen.&lt;br /&gt; 6. I don&amp;#39;t know if advertising with the same resolvable MAC (reusing MAC among different devices) is ok with spec. I guess yes, as they are random, so in theory, can repeat, but this may cause problems.&lt;/p&gt;
&lt;p&gt;Indeed, if an HID device was bound with Android, and the phone sees its advertising directly, it will try to connect automatically. I think. And this may be different between different phones/manufacturers.&lt;/p&gt;
&lt;p&gt;-----&lt;/p&gt;
&lt;p&gt;Hence, I wonder if this might be limited to note 5.&amp;nbsp;I guess it depends on the implementation on the android side. I&amp;#39;m not sure if it&amp;#39;s intended behavior from the android side. Could you try other phones or OS versions?&lt;/p&gt;
&lt;p&gt;Are you doing the directed advertisement to the same phone?&amp;nbsp;You may try to disable the directed advertisement and see if you still get the same result.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The nRF52 use the same Mac Address execute ADV mode is interference on some mobile</title><link>https://devzone.nordicsemi.com/thread/244053?ContentTypeID=1</link><pubDate>Wed, 08 Apr 2020 11:05:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:65e038db-512c-435e-8da2-641109d80134</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi Ken,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Due to the Easter holiday in Norway we are missing a lot of key personnel, so I will have to give you a definite answer next week when everybody is back.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The nRF52 use the same Mac Address execute ADV mode is interference on some mobile</title><link>https://devzone.nordicsemi.com/thread/243990?ContentTypeID=1</link><pubDate>Wed, 08 Apr 2020 07:47:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6974ff99-81a2-4912-8c58-6a3048cf0d9c</guid><dc:creator>CFF.K</dc:creator><description>&lt;p&gt;The same problem after I use the nRF Connect execute bonding.&lt;/p&gt;
&lt;p&gt;If I don&amp;#39;t use bonding that I just use the nRF Connect execute connect. It doesn&amp;#39;t happen.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The nRF52 use the same Mac Address execute ADV mode is interference on some mobile</title><link>https://devzone.nordicsemi.com/thread/243593?ContentTypeID=1</link><pubDate>Mon, 06 Apr 2020 09:59:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3d75f309-06b9-481b-bdd4-9bf9c023dd72</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi Ken,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you use the nRF Connect, will it have the same problem?&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The nRF52 use the same Mac Address execute ADV mode is interference on some mobile</title><link>https://devzone.nordicsemi.com/thread/243397?ContentTypeID=1</link><pubDate>Fri, 03 Apr 2020 12:29:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:90ab6792-de33-4c53-ba96-61424a10fff5</guid><dc:creator>CFF.K</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Is the Android system initiating multiple connections to the bonded nRF device? Or is he using an app to scan? &lt;br /&gt;Ans: I&amp;#39;m not sure your question, this problem doesn&amp;#39;t focus on the nRF device. I consider the mobile will connect all devices when the BLE device broadcasts the same mac address on ADV mode. And the mobile use system executes to scan, it doesn&amp;#39;t use the APP to Scan.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;How does Samsung Note 5 connect to the nRF52? Did it use nRF Connect? If not, do you see the same situation if you use the nRF Connect?&lt;br /&gt;Ans: I use the Bluetooth of System to choose the device name of ADV&amp;nbsp;to connect nRF52. And then the mobile will bond with nRF52. This problem that mainly the nRF52 is the bond device. therefore, this none of nRF Connect. By the way, there is the HID service in the nRF52, so the mobile will auto bond procedure with the nRF52 device.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;What is the SDK/SD used? &lt;br /&gt;Ans: I use SDK 15.2.0, SD 6.1.0&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The nRF52 use the same Mac Address execute ADV mode is interference on some mobile</title><link>https://devzone.nordicsemi.com/thread/243121?ContentTypeID=1</link><pubDate>Thu, 02 Apr 2020 09:09:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d241c505-1c98-465b-a248-5e40e1c2fa07</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not exactly sure I understand the question.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Is the Android system initiating multiple connections to the bonded nRF device? Or is he using an app to scan?&amp;nbsp;&lt;/li&gt;
&lt;li&gt;How does &lt;span&gt;Samsung Note 5 connect to the nRF52? Did it use nRF Connect? If not, do you see the same situation if you use the nRF Connect?&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;What is the SDK/SD used?&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span&gt;-Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>