<?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>forcing BLE 4.2 and above connection - Avoiding fallback to BLE 4.0</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/37280/forcing-ble-4-2-and-above-connection---avoiding-fallback-to-ble-4-0</link><description>We use nRF52832 (S112 / S130) and nRF840 (S140) for our future products 
 By default server device which supports BLE 4.2 shall fallback to BLE 4.0 and accept connection request from observer device which doesn&amp;#39;t support BLE 4.2. 
 Can we force BLE 4</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 05 Aug 2019 12:20:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/37280/forcing-ble-4-2-and-above-connection---avoiding-fallback-to-ble-4-0" /><item><title>RE: forcing BLE 4.2 and above connection - Avoiding fallback to BLE 4.0</title><link>https://devzone.nordicsemi.com/thread/202430?ContentTypeID=1</link><pubDate>Mon, 05 Aug 2019 12:20:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9a887e9f-b2c1-498a-93f9-7bd0067bf594</guid><dc:creator>Einar Thorsrud</dc:creator><description>[quote user="yes"]Due to regulation mater we&amp;nbsp;were required to make sure that only BLE 4.2 connection shall be established and client which sopports only 4.0 shall be rejected or atleast application layer shall be notified.[/quote]
&lt;p&gt;Strange.&amp;nbsp;What regulation affects this?&lt;/p&gt;
[quote user="yes"]Can we use LESC for that? Does it fallbacks or connection failed? Can our application be notified?[/quote]
&lt;p&gt;Not really. You can choose to always require LESC bonding, and the application can disconnect if the peer does not support LESC. However, it is perfectly legal for a BLE device which is 4.2 compliant (or even higher) to not support LESC, since this is an optional feature. So it is not a foolproof way to distinguish between Bluetooth version. (as mentioned before, Bluetooth versions are almost irrelevant, since virtually all features added after 4.0 are optional).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: forcing BLE 4.2 and above connection - Avoiding fallback to BLE 4.0</title><link>https://devzone.nordicsemi.com/thread/202394?ContentTypeID=1</link><pubDate>Mon, 05 Aug 2019 11:15:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6c30492e-6b30-4a50-8993-43a7b7b92836</guid><dc:creator>yes</dc:creator><description>[quote userid="7377" url="~/f/nordic-q-a/37280/forcing-ble-4-2-and-above-connection---avoiding-fallback-to-ble-4-0/202390"]If it does not, you can choose to disconnect.[/quote]
&lt;p&gt;Due to regulation mater we&amp;nbsp;were required to make sure that only BLE 4.2 connection shall be established and client which sopports only 4.0 shall be rejected or atleast application layer shall be notified.&lt;/p&gt;
&lt;p&gt;Can we use LESC for that? Does it fallbacks or connection failed? Can our application be notified?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: forcing BLE 4.2 and above connection - Avoiding fallback to BLE 4.0</title><link>https://devzone.nordicsemi.com/thread/202390?ContentTypeID=1</link><pubDate>Mon, 05 Aug 2019 11:02:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b0bc0ecf-a916-44c7-ac30-ddb9a3bea529</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;[quote user="yes"][/quote]&lt;/p&gt;
&lt;p&gt;Following the fact that SD does not pass BLE version (4.0 / 4.2 / 5.0) and fallbacks to client version, is there a way to use service / characteristics security or encryption flags and force failure if connection is below 4.2&amp;nbsp;&lt;/p&gt;
&lt;p&gt;e.g. messages&amp;#39; length in data link layer which is maximum 20 bytes (4.0) while 4.2 allows almost 254 bytes message length&lt;/p&gt;
&lt;p&gt;or use one of the advance security features of 4.2&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;What exactly do you mean? You can use security with lower versions as well, but then legacy pairing is the only option.&amp;nbsp;Why do care about the BL version of the other device? Almost all features since 4.0 are optional, so it is better to act based upon weather the peer supports the features you need or not. If it does not, you can choose to disconnect.&lt;/p&gt;
[quote user="yes"]Can we use ECDH which is only supported at 4.2 as mention &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/17130/central-4-0-and-peripheral-4-2"&gt;here&lt;/a&gt;? If yes, how it can be implemented?[/quote]
&lt;p&gt;LESC only works when both peers support LESC. But you can still have your device support both LESC and legacy pairing, so that LESC is used if the peer support it, or legacy pairing if not. That is up to you, and what makes most sense depends on the security requirements (etc.) of your product.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: forcing BLE 4.2 and above connection - Avoiding fallback to BLE 4.0</title><link>https://devzone.nordicsemi.com/thread/202261?ContentTypeID=1</link><pubDate>Sat, 03 Aug 2019 21:01:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2a885abf-c6dd-45e7-b9b1-61d2bf05f758</guid><dc:creator>yes</dc:creator><description>&lt;p&gt;Can we use ECDH which is only supported at 4.2 as mention &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/17130/central-4-0-and-peripheral-4-2"&gt;here&lt;/a&gt;? If yes, how it can be implemented?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: forcing BLE 4.2 and above connection - Avoiding fallback to BLE 4.0</title><link>https://devzone.nordicsemi.com/thread/202260?ContentTypeID=1</link><pubDate>Sat, 03 Aug 2019 20:53:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a3b2ea8e-1cd8-4f7f-a050-64cf1989485a</guid><dc:creator>yes</dc:creator><description>&lt;p&gt;I apologize for reopening this issue&lt;/p&gt;
&lt;p&gt;Following the fact that SD does not pass BLE version (4.0 / 4.2 / 5.0) and fallbacks to client version, is there a way to use service / characteristics security or encryption flags and force failure if connection is below 4.2&amp;nbsp;&lt;/p&gt;
&lt;p&gt;e.g. messages&amp;#39; length in data link layer which is maximum 20 bytes (4.0) while 4.2 allows almost 254 bytes message length&lt;/p&gt;
&lt;p&gt;or use one of the advance security features of 4.2&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks in advance&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: forcing BLE 4.2 and above connection - Avoiding fallback to BLE 4.0</title><link>https://devzone.nordicsemi.com/thread/143510?ContentTypeID=1</link><pubDate>Thu, 09 Aug 2018 08:45:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:62962f42-99ec-49a7-82b8-6fdc6d63d106</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]Can we&amp;nbsp;force BLE 4.2 (and above) connection i.e BLE 4.0 device connection request shall be rejected?[/quote]
&lt;p&gt;No, this is not possible. The softdevice does not pass this information on to the application.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>