<?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>Extended advertising (nRF52833 + S140) - Samsung S20+ can&amp;#39;t connect, Huawei P30 can</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/59340/extended-advertising-nrf52833-s140---samsung-s20-can-t-connect-huawei-p30-can</link><description>So, we have a problem that the new Samsung S20+ phone is not able to connect to the nRF52833 if extended advertising is enabled (using nRF Connect for Mobile app). 
 The phone can see the device, but fails to establish the connection with the device in</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 25 Mar 2020 09:08:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/59340/extended-advertising-nrf52833-s140---samsung-s20-can-t-connect-huawei-p30-can" /><item><title>RE: Extended advertising (nRF52833 + S140) - Samsung S20+ can't connect, Huawei P30 can</title><link>https://devzone.nordicsemi.com/thread/241528?ContentTypeID=1</link><pubDate>Wed, 25 Mar 2020 09:08:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:78dee649-4efc-4bcc-8b78-d3c68fae76d7</guid><dc:creator>Simonr</dc:creator><description>[quote user="Simonr"]Do you see this error on both devices or just one end?[/quote]
&lt;p&gt;By both devices, I meant both the Samsung as well as the debugging on the nRF side. Do you see this error when logging on the nRF device as well?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please try adding&amp;nbsp;adv_params.properties.scannable = 1; and adv_coded = false; when advertising with the 1MBPS PHY. Take a look at&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/35278/toggle-1mbit-phy-and-codedphy/135728#135728"&gt; this case &lt;/a&gt;where a customer has implemented switching between 1MBPS and CODED PHY advertising.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Extended advertising (nRF52833 + S140) - Samsung S20+ can't connect, Huawei P30 can</title><link>https://devzone.nordicsemi.com/thread/241441?ContentTypeID=1</link><pubDate>Tue, 24 Mar 2020 16:58:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6bd06c30-6409-4b54-a40a-1da38a432e7b</guid><dc:creator>MatevzB</dc:creator><description>&lt;p&gt;We see the error only on the Samsung device after &amp;#39;Connecting&amp;#39; status. The other phone connects immediately.&lt;/p&gt;
&lt;p&gt;The ble_evt handler (nrf_sdh_soc_evt_observer_t) is not called during the unsuccessful connection establishment.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;void advertising_init(void)
{
	ret_code_t             err_code;
	ble_advertising_init_t init;

	memset(&amp;amp;init, 0, sizeof(init));

	init.advdata.name_type               = BLE_ADVDATA_FULL_NAME;
	init.advdata.include_appearance      = true;
	init.advdata.flags                   = BLE_GAP_ADV_FLAGS_LE_ONLY_GENERAL_DISC_MODE;
	init.advdata.uuids_complete.uuid_cnt = 0;	
	init.advdata.p_manuf_specific_data   = &amp;amp;manufData;	
	
	init.config.ble_adv_fast_enabled  = false;
	init.config.ble_adv_fast_interval = APP_ADV_INTERVAL;
	init.config.ble_adv_fast_timeout  = APP_ADV_DURATION;
	
	init.config.ble_adv_slow_enabled = true;
	init.config.ble_adv_slow_interval = APP_ADV_INTERVAL;
	init.config.ble_adv_slow_timeout = 0; // Never timeout

	init.evt_handler = on_adv_evt;
	
	init.config.ble_adv_extended_enabled = true;
	init.config.ble_adv_secondary_phy = BLE_GAP_PHY_1MBPS;
	//init.config.ble_adv_primary_phy = BLE_GAP_PHY_1MBPS;
	init.config.ble_adv_primary_phy = BLE_GAP_PHY_CODED;

	err_code = ble_advertising_init(&amp;amp;m_advertising, &amp;amp;init);
	APP_ERROR_CHECK(err_code);

	ble_advertising_conn_cfg_tag_set(&amp;amp;m_advertising, APP_BLE_CONN_CFG_TAG);
}

void advertising_start()
{
	ret_code_t err_code;
		
	err_code = ble_advertising_start(&amp;amp;m_advertising, BLE_ADV_MODE_FAST);
	APP_ERROR_CHECK(err_code);
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Anyway, we have now found an alternative way in order to avoid the use of extended advertisements.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Extended advertising (nRF52833 + S140) - Samsung S20+ can't connect, Huawei P30 can</title><link>https://devzone.nordicsemi.com/thread/241349?ContentTypeID=1</link><pubDate>Tue, 24 Mar 2020 11:51:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:92926fdc-6e95-4f2e-ae2c-c4cdbbcd2f4c</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Okay, the GATT ERROR (0x85) is unfortunately very general and can be a bunch of things.&amp;nbsp;Do you see this error on both devices or just one end? In that case, where do you see it? I also recommend making a support ticket with Samsung&amp;#39;s support channels as well, as you&amp;#39;re only seeing this on a Samsung device. You can also test on more mobile devices to see if the error propagates elsewhere if you have the opportunity.&lt;/p&gt;
&lt;p&gt;Can you&amp;nbsp;upload a snippet of your code (advertising init) where you include extended advertising, etc., so I can have a look to see that everything seems correct?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Extended advertising (nRF52833 + S140) - Samsung S20+ can't connect, Huawei P30 can</title><link>https://devzone.nordicsemi.com/thread/241284?ContentTypeID=1</link><pubDate>Tue, 24 Mar 2020 08:16:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f6e5f086-69c0-4d47-b37e-3172cf5d08c4</guid><dc:creator>MatevzB</dc:creator><description>&lt;p&gt;We missed the log entry there - it is Error 133 (0x85): GATT ERROR&lt;/p&gt;
&lt;p&gt;The devices are being tested one at a time (no concurrent operation of both phones).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Extended advertising (nRF52833 + S140) - Samsung S20+ can't connect, Huawei P30 can</title><link>https://devzone.nordicsemi.com/thread/241268?ContentTypeID=1</link><pubDate>Tue, 24 Mar 2020 06:57:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:67add723-43d0-473a-9b83-eb1dad3590e7</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Have you tried debugging on the nRF side of things? I think you should be able to get an error code when the connection times out. Could it be that the nRF is bonded to the Huawei device already, which is why it isn&amp;#39;t able to connect to the Samsung device?&lt;/p&gt;
&lt;p&gt;Also, if you swipe left in the nRFConnect app, you should be able to see a log on the phone side as well, maybe you can see some error code there?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Extended advertising (nRF52833 + S140) - Samsung S20+ can't connect, Huawei P30 can</title><link>https://devzone.nordicsemi.com/thread/241042?ContentTypeID=1</link><pubDate>Mon, 23 Mar 2020 08:36:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1021dfec-d467-48f8-9e31-ff096ab308de</guid><dc:creator>MatevzB</dc:creator><description>&lt;p&gt;Indeed, the Samsung device is unable to connect even if both are set to&amp;nbsp;&lt;span&gt;PHY_1MBPS, while Huawei has no issue.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;No, there is no error displayed in the app - it simply times out.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Extended advertising (nRF52833 + S140) - Samsung S20+ can't connect, Huawei P30 can</title><link>https://devzone.nordicsemi.com/thread/241041?ContentTypeID=1</link><pubDate>Mon, 23 Mar 2020 08:23:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4760c4ba-5f0c-47d4-9bd3-820d980047d3</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;This seems very strange indeed. Do you get any error code in the nRFConnect app? Do you see this error when the PHY_1MBPS is set to both primary and secondary PHY? Does it work if Coded PHY is set as both primary and secondary PHY?&lt;/p&gt;
&lt;p&gt;I also think you should contact Samsung support, but we don&amp;#39;t have any &amp;quot;ties&amp;quot; with their engineers for additional support, and we suggest using their regular support channels.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Extended advertising (nRF52833 + S140) - Samsung S20+ can't connect, Huawei P30 can</title><link>https://devzone.nordicsemi.com/thread/240981?ContentTypeID=1</link><pubDate>Sat, 21 Mar 2020 11:18:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:84a1faea-86ec-46c3-b793-31b9e20a2852</guid><dc:creator>MatevzB</dc:creator><description>&lt;p&gt;Update, it somehow works if primary interface is configured as PHY_CODED and secondary as PHY_1MBPS.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>