<?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>connection problem with Samsung devices</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/30211/connection-problem-with-samsung-devices</link><description>Hello, 
 
 I have a product in the field (sdk 12.2 and soft device S132, based on NUS profile) since a couple of month that works ok but crash with some Samsung devices 
 Initially there was a problem with Tab A6 2016 (softdevice hangs and reset on connection</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 11 May 2018 07:04:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/30211/connection-problem-with-samsung-devices" /><item><title>RE: connection problem with Samsung devices</title><link>https://devzone.nordicsemi.com/thread/131663?ContentTypeID=1</link><pubDate>Fri, 11 May 2018 07:04:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db235969-e077-4d70-b842-97193a4875a6</guid><dc:creator>energy</dc:creator><description>&lt;p&gt;Thank you, I upgraded to S132 3.1.0 and did the API calls you recommanded and it&amp;nbsp;works now&lt;/p&gt;
&lt;p&gt;For info the problem was with A3 2017 and not other version&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: connection problem with Samsung devices</title><link>https://devzone.nordicsemi.com/thread/119970?ContentTypeID=1</link><pubDate>Tue, 06 Feb 2018 14:32:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e9f13e65-776d-4c4e-ab5b-295b0ee9a6c2</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Yes, with S132 4.0.5 the compatibilities mentioned in the release notes are enabled by default in the SoftDevice, and you don&amp;rsquo;t need to call any special SoftDevice functions in the application code to enable them.&lt;/p&gt;
&lt;p&gt;With S132 3.0.1, you need to use sd_ble_opt_set(), and also perhaps disable DLE completely(Compatibility mode 2 does allow Feature exchange and version exchange in parallel, but not DLE(data length extension) and LE Ping procedure packets in parallel, i.e you will need to disable DLE if that is the issue with the A3. The last comments in the post I linked to shows how to disable DLE).&lt;/p&gt;
&lt;p&gt;Migrating from S132 v.3.0.0 to v.3.0.1 require much less migration work, since the SoftDevice binaries are &amp;ldquo;binary compatible&amp;rdquo;, and both of them is compatible with SDK 12.2. If you need DLE, then it would perhaps&amp;nbsp;be worth to spend time on updating to a new major SoftDevice version. In that case it would perhaps be best to update to the latest SoftDevice version (5.1.0), while you&amp;#39;re at it. If you don&amp;rsquo;t need DLE, and want to minimize the time spent on this, then it would be easier to update to 3.0.1. Then deliver the new firmware with DFU, and hope that it solves the issue on the A3 phone.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: connection problem with Samsung devices</title><link>https://devzone.nordicsemi.com/thread/119959?ContentTypeID=1</link><pubDate>Tue, 06 Feb 2018 13:52:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c9cb60a6-cad0-4c92-aead-823acb1ea9dc</guid><dc:creator>energy</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Thanks for your answer. I don&amp;#39;t have the A3 phone but can deliver firmware update using DFU to my client&lt;/p&gt;
&lt;p&gt;So recommended solution is to go to&amp;nbsp;&lt;span&gt;S132&amp;nbsp;version 4.0.5. With this version there is no need of&amp;nbsp;any specific parameters in softdevice initialization&amp;nbsp;to support Samsung &amp;quot;deviation&amp;quot; from BLE standart&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: connection problem with Samsung devices</title><link>https://devzone.nordicsemi.com/thread/119949?ContentTypeID=1</link><pubDate>Tue, 06 Feb 2018 13:33:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:acbe62de-cd20-4502-a668-9387700c4ff1</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;We have seen several reports on Samsung A devices breaking the Bluetooth specification. This includes sending version exchange and length request packets in parallel(i.e., does not wait for the peripheral to respond before sending the next control packet). We don&amp;rsquo;t have any lists, but it&amp;rsquo;s usually phones and tablets from the A series that have this problem. A over-the-air sniffer trace would reveal exactly what is happening with the A3 phone.&lt;/p&gt;
&lt;p&gt;We have added several workarounds in recent SoftDevice versions because of this. E.g. in S132 version 4.0.5 we have the following stated in the release notes:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;The SoftDevice slave role now accepts overlapping peer-initiated Link Layer control procedures (DRGN-8623,&lt;/p&gt;
&lt;p&gt;DRGN-8975). The following LL control procedures can be executed in parallel with any other control procedure, except for&lt;/p&gt;
&lt;p&gt;themselves: LE Ping, Feature Exchange, Data Length Update, and Version Exchange. This is done for compatibilityreasons. As a result of this, BLE_GAP_OPT_COMPAT_MODE_2 has no effect.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Since you are using SDK 12.2, I assume that you are using either S132 version 3.0.0 or 3.1.0. The first thing you can try is to upgrade to S132 v3.1.0 if you are using v3.0.0, and then enable compatibility mode 2, and perhaps also disable DLE.&lt;/p&gt;
&lt;p&gt;See &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/24672/connection-problems-with-android-7-and-sdk12-1"&gt;this post&lt;/a&gt; on how to do it. Some information is also available in &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/24546/connection-issue-with-samsung-galaxy-a5-2017"&gt;this post&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>