<?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>Is BLE_GAP_PHY_CODED using the S=2 or the S=8 coding?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/19716/is-ble_gap_phy_coded-using-the-s-2-or-the-s-8-coding</link><description>Hi, 
 the nRF5 SDK v13.0.0-1.alpha uses the BLE_GAP_PHY_CODED constant to indicate a coded PHY. 
 The BLE 5.0 standard specifies two options for coding: S=2 (500 kbit/s) and S=8 (125 kbit/s). 
 Which one of these does BLE_GAP_PHY_CODED enable? 
 Regards</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 14 Aug 2018 14:18:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/19716/is-ble_gap_phy_coded-using-the-s-2-or-the-s-8-coding" /><item><title>RE: Is BLE_GAP_PHY_CODED using the S=2 or the S=8 coding?</title><link>https://devzone.nordicsemi.com/thread/144212?ContentTypeID=1</link><pubDate>Tue, 14 Aug 2018 14:18:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bfd06644-f39f-4039-a389-9c87ba09b005</guid><dc:creator>Sigurd</dc:creator><description>[quote userid="73265" url="~/f/nordic-q-a/19716/is-ble_gap_phy_coded-using-the-s-2-or-the-s-8-coding/143697"]When both applications are configured with BLE_GAP_PHY_CODED, the one using S140_nrf52_5.0.0-2.alpha&amp;nbsp; reaches a farther point than the one using S140_nrf52_6.1.0. (S140v5 is about twice more efficient than S140v6).[/quote]
&lt;p&gt;You mean that you are getting better range with the 5.0.0-2-alpha?&lt;/p&gt;
&lt;p&gt;Please make sure that you are using &lt;strong&gt;nRF52840 DK version 1.0.0 &lt;/strong&gt;(nRF52840 production silicon)&amp;nbsp;when testing the S140 v6.1.0.&amp;nbsp;&lt;/p&gt;
[quote userid="73265" url="~/f/nordic-q-a/19716/is-ble_gap_phy_coded-using-the-s-2-or-the-s-8-coding/143697"]From these results, I am wondering if S140_nrf52_6.1.0. uses the S=2 coding scheme and if so, is there a way to configure the S=8 coding scheme like in the S140_nrf52_5.0.0-2.alpha ?[/quote]
&lt;p&gt;S140 V6.1 &lt;span&gt;can receive both S=2 and S=8, but it will only send S=8 when configured with&amp;nbsp;BLE_GAP_PHY_CODED.&amp;nbsp;That means that&amp;nbsp;you are already using S=8 when sending data between 2 nRF52840 devices.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is BLE_GAP_PHY_CODED using the S=2 or the S=8 coding?</title><link>https://devzone.nordicsemi.com/thread/143697?ContentTypeID=1</link><pubDate>Fri, 10 Aug 2018 09:52:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fc8e7023-c49a-4f71-9351-e0681aa683d3</guid><dc:creator>cedric pi</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The S140_nrf52_6.1.0 release notes document says that this SoftDevice supports S=2 coding scheme since version 6.0.0. It also says that version 5.0.0-2.alpha supports S=8 coding scheme only.&lt;/p&gt;
&lt;p&gt;I use two applications to perform some tests. The first application is using nRF5_SDK14.2.0 and the SoftDevice S140_nrf52_5.0.0-2.alpha while the second one is using nRF5_SDK15.0.0 and the SoftDevice S140_nrf52_6.1.0.&lt;/p&gt;
&lt;p&gt;When both applications are configured with BLE_GAP_PHY_1MBPS (set using sd_ble_phy_request function, checked using BLE_GAP_EVT_PHY_UPDATE event), the disconnection appears at the same point.&lt;/p&gt;
&lt;p&gt;When both applications are configured with BLE_GAP_PHY_CODED, the one using S140_nrf52_5.0.0-2.alpha&amp;nbsp; reaches a farther point than the one using S140_nrf52_6.1.0. (S140v5 is about twice more efficient than S140v6).&lt;/p&gt;
&lt;p&gt;From these results, I am wondering if S140_nrf52_6.1.0. uses the S=2 coding scheme and if so, is there a way to configure the S=8 coding scheme like in the S140_nrf52_5.0.0-2.alpha ?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is BLE_GAP_PHY_CODED using the S=2 or the S=8 coding?</title><link>https://devzone.nordicsemi.com/thread/133360?ContentTypeID=1</link><pubDate>Fri, 25 May 2018 08:13:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1dc500b-9666-484e-8872-e8565417c9a1</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The S140 version 6.0.0 SoftDevice does not have full support for S=2 (500 kbps). The application cannot select S=2, so all packets are transmitted using S=8 when Coded PHY is used. However, the nRF can receive both S=2 and S=8 coded packets from the peer.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is BLE_GAP_PHY_CODED using the S=2 or the S=8 coding?</title><link>https://devzone.nordicsemi.com/thread/133358?ContentTypeID=1</link><pubDate>Fri, 25 May 2018 08:02:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d2c52ab-1143-4f66-910c-44afc26683ea</guid><dc:creator>l_kamp</dc:creator><description>&lt;p&gt;Sorry to warm up this old topic, but is it possible now to use S=2 on an NRF52840 with SoftDevice S140? I looked at the API but can only find the &lt;code&gt;BLE_GAP_PHY_CODED&lt;/code&gt; PHY, no way to specify S=2 or S=8.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is BLE_GAP_PHY_CODED using the S=2 or the S=8 coding?</title><link>https://devzone.nordicsemi.com/thread/76715?ContentTypeID=1</link><pubDate>Thu, 21 Sep 2017 13:26:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:73ced4a7-6a86-4202-92b9-6f81294045ca</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi Christian,&lt;/p&gt;
&lt;p&gt;We are still working on the implementation of S=2.
It will probably be released together with the production variants of the nRF52840 in Q4 2017.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is BLE_GAP_PHY_CODED using the S=2 or the S=8 coding?</title><link>https://devzone.nordicsemi.com/thread/76714?ContentTypeID=1</link><pubDate>Thu, 21 Sep 2017 13:19:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:98dd51f2-0bed-4a8c-b6eb-7ae4982c6f3d</guid><dc:creator>Christian</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Is there any update on the implementation of S=2 in the Soft Device?&lt;/p&gt;
&lt;p&gt;Sorry if this is the wrong place to ask&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is BLE_GAP_PHY_CODED using the S=2 or the S=8 coding?</title><link>https://devzone.nordicsemi.com/thread/76721?ContentTypeID=1</link><pubDate>Tue, 16 May 2017 12:59:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:17a81ffc-4ad1-4b22-aea3-040d21965351</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Yes, that should be possible.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is BLE_GAP_PHY_CODED using the S=2 or the S=8 coding?</title><link>https://devzone.nordicsemi.com/thread/76713?ContentTypeID=1</link><pubDate>Fri, 12 May 2017 08:40:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba5fc11a-42ab-4547-a971-e19bfaf877c4</guid><dc:creator>Luke</dc:creator><description>&lt;p&gt;Thanks, i found the examples \peripherals\radio\receiver and transmitter, where I can do just what I want. It si possible to send and receive single packets. With the modifications:
&lt;a href="https://devzone.nordicsemi.com/question/117136/ble-5-transmiterreceiver-examples-nrff52840/"&gt;devzone.nordicsemi.com/.../&lt;/a&gt;
it is also possible to run the 125 kBit BLE5.0 mode&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is BLE_GAP_PHY_CODED using the S=2 or the S=8 coding?</title><link>https://devzone.nordicsemi.com/thread/76716?ContentTypeID=1</link><pubDate>Thu, 11 May 2017 14:55:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:64b6d9d9-060f-4c2e-9878-4357f737ce3b</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Note that BLE all communication is reliable, the link layer will ensure all packets are received, and in the correct order. Only a link loss will stop this. Unfortunately, there is no API to check the link quality itself. However, you can see a “pause” in the terminal printing flow when a packet must be retransmitted.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is BLE_GAP_PHY_CODED using the S=2 or the S=8 coding?</title><link>https://devzone.nordicsemi.com/thread/76711?ContentTypeID=1</link><pubDate>Wed, 10 May 2017 08:51:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b0dda67-1fe3-4def-85db-1e5239247e9c</guid><dc:creator>Luke</dc:creator><description>&lt;p&gt;The ATT_MTU Throughput Example is very good! But is there a possiblity to see the link quality? For example it would be interesting how many packets had to be resent. Now I can only take the ellapsed time and throughput to conclude on the quality of the link&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is BLE_GAP_PHY_CODED using the S=2 or the S=8 coding?</title><link>https://devzone.nordicsemi.com/thread/76712?ContentTypeID=1</link><pubDate>Wed, 10 May 2017 06:57:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f5fd786-9ee1-48b0-88a1-f9fe39e4ca42</guid><dc:creator>Luke</dc:creator><description>&lt;p&gt;I would like to select a specific (non advertising) channel and send packets from one nRF52840-PDK to the other and counting the received packets. If the devices are connected over the GATT profiles I do not have so much control over the lower layers...
Thanks I will have a look into the Throughput Example anyway&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is BLE_GAP_PHY_CODED using the S=2 or the S=8 coding?</title><link>https://devzone.nordicsemi.com/thread/76719?ContentTypeID=1</link><pubDate>Tue, 09 May 2017 15:05:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c52097a4-e6a8-4568-8f3e-5390d6a766fc</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;If you have 2 nRF52840-PDK you can use the &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v13.0.0/ble_sdk_app_att_mtu.html?cp=4_0_0_4_1_1_0"&gt;ATT_MTU Throughput Example&lt;/a&gt; for that. What do you mean by &amp;quot;Connected mode is not the best option&amp;quot;? You will need to connect 2 devices(1 master/ 1 slave) to test the throughput.&lt;/p&gt;
&lt;p&gt;Also take a look at this blog post here: &lt;a href="https://devzone.nordicsemi.com/blogs/1078/throughput-and-long-range-demo/"&gt;devzone.nordicsemi.com/.../&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is BLE_GAP_PHY_CODED using the S=2 or the S=8 coding?</title><link>https://devzone.nordicsemi.com/thread/76718?ContentTypeID=1</link><pubDate>Tue, 09 May 2017 14:55:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8f1d39df-265e-46f7-9d5a-14fb5bd5c621</guid><dc:creator>Luke</dc:creator><description>&lt;p&gt;Thanks for the quick answer!
Is there any example code to send packets (simple rx/tx) in the 125kBit(BLE_GAP_PHY_CODED) mode? I would like to test the percentage of throughput in difficult environment. Connected mode is not the best option to test that.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is BLE_GAP_PHY_CODED using the S=2 or the S=8 coding?</title><link>https://devzone.nordicsemi.com/thread/76720?ContentTypeID=1</link><pubDate>Tue, 09 May 2017 12:59:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6bbe7071-b711-4def-a146-02f99a3a45ed</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Bluetooth 5 specifies 3 new PHYs:&lt;/p&gt;
&lt;p&gt;S=2, S=8 and 2Mbps.&lt;/p&gt;
&lt;p&gt;If you want high speed you need to use the 2Mbps, and you if you want the longest range(4x longer) you should use S=8(BLE_GAP_PHY_CODED). S=2 is currently not supported by the SoftDevice, but we will hopfully add support for S=2 soon.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://blog.bluetooth.com/%7E/media/images/blog%20images/bluetooth%205%20campaign/comparing_three_phys.ashx?la=en&amp;amp;hash=2DA8F33FDBF1C80A9E9191ECF8F301D29103047B" alt="image description" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is BLE_GAP_PHY_CODED using the S=2 or the S=8 coding?</title><link>https://devzone.nordicsemi.com/thread/76717?ContentTypeID=1</link><pubDate>Tue, 09 May 2017 12:15:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac3b95c5-1c64-4ac5-b809-adc33e6aec23</guid><dc:creator>Luke</dc:creator><description>&lt;p&gt;Hey,
And how do I configure the S=2 (500 kbit/s)?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is BLE_GAP_PHY_CODED using the S=2 or the S=8 coding?</title><link>https://devzone.nordicsemi.com/thread/76710?ContentTypeID=1</link><pubDate>Wed, 15 Feb 2017 11:50:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d9731675-cb1b-4269-ba85-ae131e02d401</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The &lt;code&gt;BLE_GAP_PHY_CODED&lt;/code&gt; option enables S=8 coding (125 kbit/s), this is the option that will give you the longest range.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>