<?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>Hi, Do the S140 version 6.1.1 SoftDevice does have full support for S=2(500 kbps) ?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/41963/hi-do-the-s140-version-6-1-1-softdevice-does-have-full-support-for-s-2-500-kbps</link><description>if yes how can i choose between S=2 and S=8, where the change should take place, at the advertising init ?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 08 Jan 2019 08:39:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/41963/hi-do-the-s140-version-6-1-1-softdevice-does-have-full-support-for-s-2-500-kbps" /><item><title>RE: Hi, Do the S140 version 6.1.1 SoftDevice does have full support for S=2(500 kbps) ?</title><link>https://devzone.nordicsemi.com/thread/164444?ContentTypeID=1</link><pubDate>Tue, 08 Jan 2019 08:39:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b8a52eae-2c6b-463b-8d6e-f1ad2c656cde</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t think you have configured the &lt;strong&gt;PHY&lt;/strong&gt; correctly then. Can you use a sniffer to sniff for BLE packets? They should be marked with &lt;strong&gt;CODED_PHY &lt;/strong&gt;if they are CODED_PHY.&lt;/p&gt;
&lt;p&gt;The worst case range you should expect in open air is atleast double distance from BLE_GAP_PHY_1MBPS&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi, Do the S140 version 6.1.1 SoftDevice does have full support for S=2(500 kbps) ?</title><link>https://devzone.nordicsemi.com/thread/164298?ContentTypeID=1</link><pubDate>Mon, 07 Jan 2019 14:13:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d75a4e31-5890-43f0-a332-3895ba6c9257</guid><dc:creator>jawadk</dc:creator><description>&lt;p&gt;Hi , now there is no problem regards the range I get after testing Long Range&lt;/p&gt;
&lt;p&gt;In long range I got 75 meter range between two ntf52840 ...&lt;/p&gt;
&lt;p&gt;In normal with BLE_GAP_PHY_1MBPS I got the same range ( 75 meters )&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Is there any problem with the code ?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Jawad K&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi, Do the S140 version 6.1.1 SoftDevice does have full support for S=2(500 kbps) ?</title><link>https://devzone.nordicsemi.com/thread/164290?ContentTypeID=1</link><pubDate>Mon, 07 Jan 2019 13:58:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cdf978e1-7e05-4170-960b-b009342b80d0</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;I was able to compile the projects in &lt;strong&gt;SDK 15.0&lt;/strong&gt;, and debug them. But I did not get any errors, here is my output:&lt;/p&gt;
&lt;p&gt;Central:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;lt;info&amp;gt; app: BLE UART central example started.
&amp;lt;info&amp;gt; app: ADV. report
&amp;lt;info&amp;gt; app: ADV. report
&amp;lt;info&amp;gt; app: ADV. report
&amp;lt;info&amp;gt; app: ADV. report
&amp;lt;info&amp;gt; app: ADV. report
&amp;lt;info&amp;gt; app: ADV. report
&amp;lt;info&amp;gt; app: ADV. report
&amp;lt;info&amp;gt; app: Connecting to target 914819FB65EE
&amp;lt;info&amp;gt; app: Connected to target
&amp;lt;info&amp;gt; app: RSSI : -35 dBm
&amp;lt;info&amp;gt; app: ATT MTU exchange completed.
&amp;lt;info&amp;gt; app: Ble NUS max data length set to 0xF4(244)
&amp;lt;info&amp;gt; app: Discovery complete.
&amp;lt;info&amp;gt; app: Connected to device with Nordic UART Service.
&amp;lt;info&amp;gt; app: RSSI : -25 dBm
&amp;lt;info&amp;gt; app: RSSI : -36 dBm
&amp;lt;info&amp;gt; app: RSSI : -26 dBm
&amp;lt;info&amp;gt; app: Disconnected.
&amp;lt;info&amp;gt; app: ADV. report
&amp;lt;info&amp;gt; app: ADV. report
&amp;lt;info&amp;gt; app: Connecting to target 914819FB65EE
&amp;lt;info&amp;gt; app: Connected to target
&amp;lt;info&amp;gt; app: RSSI : -24 dBm
&amp;lt;info&amp;gt; app: ATT MTU exchange completed.
&amp;lt;info&amp;gt; app: Ble NUS max data length set to 0xF4(244)
&amp;lt;info&amp;gt; app: Discovery complete.
&amp;lt;info&amp;gt; app: Connected to device with Nordic UART Service.
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Peripheral:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;lt;info&amp;gt; app: Debug logging for UART over RTT started.
&amp;lt;info&amp;gt; app: Connected
&amp;lt;info&amp;gt; app: Data len is set to 0xF4(244)
&amp;lt;info&amp;gt; app: Debug logging for UART over RTT started.
&amp;lt;info&amp;gt; app: Connected
&amp;lt;info&amp;gt; app: Data len is set to 0xF4(244)
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Is the problem still &lt;strong&gt;NRF_ERROR_INVALID_PARAM?&lt;/strong&gt; I&amp;#39;m a bit unsure what the problem is now.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi, Do the S140 version 6.1.1 SoftDevice does have full support for S=2(500 kbps) ?</title><link>https://devzone.nordicsemi.com/thread/164249?ContentTypeID=1</link><pubDate>Mon, 07 Jan 2019 12:53:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:caf0b2b1-a7ff-434c-be01-3800bdd59572</guid><dc:creator>jawadk</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;thanks for your reply&lt;/p&gt;
&lt;p&gt;in order to compile these projects you need to add them to the SDK 15.2 as the other examples.&lt;/p&gt;
&lt;p&gt;the function :&amp;nbsp;&lt;strong&gt;sd_ble_gap_adv_set_configure() is called by&amp;nbsp;ble_advertising_init() that called by the&amp;nbsp;advertising_init() in main.c&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;I appreciate your help&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Best regards&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Jawad&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi, Do the S140 version 6.1.1 SoftDevice does have full support for S=2(500 kbps) ?</title><link>https://devzone.nordicsemi.com/thread/164242?ContentTypeID=1</link><pubDate>Mon, 07 Jan 2019 12:40:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2b006784-c91f-4f16-8c43-d8e2f25a0846</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;I can&amp;#39;t compile neither of these projects, and I don&amp;#39;t see that you have called &lt;strong&gt;sd_ble_gap_adv_set_configure()&lt;/strong&gt; in either one of them.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi, Do the S140 version 6.1.1 SoftDevice does have full support for S=2(500 kbps) ?</title><link>https://devzone.nordicsemi.com/thread/164233?ContentTypeID=1</link><pubDate>Mon, 07 Jan 2019 12:08:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5f4442a0-f2ae-4c44-9f80-931373031518</guid><dc:creator>jawadk</dc:creator><description>&lt;p&gt;Hi AndreasF,&lt;/p&gt;
&lt;p&gt;i saw a solution in here:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/37409/sdk15-long-advertising-and-long-range-connect?ReplySortBy=Votes&amp;amp;ReplySortOrder=Descending"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/37409/sdk15-long-advertising-and-long-range-connect?ReplySortBy=Votes&amp;amp;ReplySortOrder=Descending&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;used this example for the central:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-c6345b7a087b403b9c50bcb24fdeac27/ble_5F00_app_5F00_uart_5F00_c_5F00_lr.zip"&gt;https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-c6345b7a087b403b9c50bcb24fdeac27/ble_5F00_app_5F00_uart_5F00_c_5F00_lr.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;and this example for the peripheral :&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-c6345b7a087b403b9c50bcb24fdeac27/ble_5F00_app_5F00_uart_5F00_lr.zip"&gt;https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-c6345b7a087b403b9c50bcb24fdeac27/ble_5F00_app_5F00_uart_5F00_lr.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;tested the result distance between two nrf52840 with long range and without (with the regular examples, ble_app_uart and ble_app_uart_c) , but i got the same result!&lt;/p&gt;
&lt;p&gt;In both tests&amp;nbsp;gives&amp;nbsp;I got about 75 meters range between the two nrf52840.&lt;/p&gt;
&lt;p&gt;in the two test i set the TX power to +8dBm&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;don&amp;#39;t know what&amp;nbsp;is the problem here.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi, Do the S140 version 6.1.1 SoftDevice does have full support for S=2(500 kbps) ?</title><link>https://devzone.nordicsemi.com/thread/164220?ContentTypeID=1</link><pubDate>Mon, 07 Jan 2019 11:36:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d9cac177-ff7d-43b8-b29e-493b616424ee</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;What do you have in your &lt;strong&gt;ble_gap_adv_data_t&lt;/strong&gt; and &lt;strong&gt;ble_gap_adv_params_t&lt;/strong&gt; structs?&lt;/p&gt;
&lt;p&gt;Do you use a whitelist?&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;NRF_ERROR_INVALID_PARAM &lt;/strong&gt;occurs when a invalid parameter is supplied to the function call:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt; * @retval ::NRF_ERROR_INVALID_PARAM                   Invalid parameter(s) supplied:
 *                                                      - Invalid advertising data configuration specified. See @ref ble_gap_adv_data_t.
 *                                                      - Invalid configuration of p_adv_params. See @ref ble_gap_adv_params_t.
 *                                                      - Use of whitelist requested but whitelist has not been set,
 *                                                        see @ref sd_ble_gap_whitelist_set.&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi, Do the S140 version 6.1.1 SoftDevice does have full support for S=2(500 kbps) ?</title><link>https://devzone.nordicsemi.com/thread/163921?ContentTypeID=1</link><pubDate>Fri, 04 Jan 2019 10:05:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:41d17067-057c-4235-8bf2-c35e053706c4</guid><dc:creator>jawadk</dc:creator><description>&lt;p&gt;Hi AndreasF , the ble central change worked , but the the ble peripheral didn&amp;#39;t.&lt;/p&gt;
&lt;p&gt;the change in ble app blinky causes the&amp;nbsp;sd_ble_gap_adv_set_configure() function to return error code 7 , think it is a&amp;nbsp;NRF_ERROR_INVALID_PARAM&lt;/p&gt;
&lt;p&gt;what should i change also to make this works for the central and the peripheral ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi, Do the S140 version 6.1.1 SoftDevice does have full support for S=2(500 kbps) ?</title><link>https://devzone.nordicsemi.com/thread/163776?ContentTypeID=1</link><pubDate>Thu, 03 Jan 2019 13:59:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:74a09536-ed42-4611-bfd7-298d7ee1f9a8</guid><dc:creator>jawadk</dc:creator><description>&lt;p&gt;I am using the ble uart c example&amp;nbsp;&lt;/p&gt;
&lt;p&gt;and ble uart example for the next one&lt;/p&gt;
&lt;p&gt;each with s140_nrf52_6.1.1_softdevice.hex&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;tried to add the code from&amp;nbsp;&lt;strong&gt;nRF5_SDK_15.2.0_9412b96\examples\ble_central\ble_app_gatts\ to the my&amp;nbsp;&lt;span&gt;&amp;nbsp;ble uart c example&lt;/span&gt;&lt;/strong&gt;&amp;nbsp;, talking about the scan_init and scan_start functions&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;that is not working !&lt;/p&gt;
&lt;p&gt;the functions d_ble_gap_scan_start() returns error 0x0007 -&amp;nbsp;Invalid Parameter&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi, Do the S140 version 6.1.1 SoftDevice does have full support for S=2(500 kbps) ?</title><link>https://devzone.nordicsemi.com/thread/163144?ContentTypeID=1</link><pubDate>Fri, 28 Dec 2018 09:44:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c13b3edb-b21e-4616-982f-9b90108bcf82</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;SoftDevice S140 version 6.1.0 is able to &lt;strong&gt;receive&lt;/strong&gt; at &lt;strong&gt;125 kbps (S=8) and 500 kbps (S=2)&lt;/strong&gt;. But it can only &lt;strong&gt;transmit at 125 kbps (S=8)&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;These rates are fixed, you only have to set your scanning or advertising phys to &lt;strong&gt;BLE_GAP_PHY_CODED&lt;/strong&gt;,&lt;/p&gt;
&lt;p&gt;Like this in &lt;strong&gt;nRF5_SDK_15.2.0_9412b96\examples\ble_peripheral\ble_app_blinky\main.c :&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;Line 256:
adv_params.primary_phy     = BLE_GAP_PHY_1MBPS;

Change this line to:

adv_params.primary_phy     = BLE_GAP_PHY_CODED;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;For scanning, you should for example in &lt;strong&gt;nRF5_SDK_15.2.0_9412b96\examples\ble_central\ble_app_gatts\,&lt;/strong&gt; edit &lt;strong&gt;scan_phys&lt;/strong&gt; in &lt;strong&gt;m_scan_param&amp;nbsp;&lt;/strong&gt;in&lt;strong&gt; main.c&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;FROM THIS:

/**&amp;lt; Scan parameters requested for scanning and connection. */
static ble_gap_scan_params_t const m_scan_param =
{
    .active        = 0x01,
    .interval      = NRF_BLE_SCAN_SCAN_INTERVAL,
    .window        = NRF_BLE_SCAN_SCAN_WINDOW,
    .filter_policy = BLE_GAP_SCAN_FP_WHITELIST,
    .timeout       = SCAN_DURATION_WITELIST,
    .scan_phys     = BLE_GAP_PHY_1MBPS,
};

TO THIS:

/**&amp;lt; Scan parameters requested for scanning and connection. */
static ble_gap_scan_params_t const m_scan_param =
{
    .active        = 0x01,
    .interval      = NRF_BLE_SCAN_SCAN_INTERVAL,
    .window        = NRF_BLE_SCAN_SCAN_WINDOW,
    .filter_policy = BLE_GAP_SCAN_FP_WHITELIST,
    .timeout       = SCAN_DURATION_WITELIST,
    .scan_phys     = BLE_GAP_PHY_CODED,
};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>