<?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>How to enable BLE long range mode (125 KBPS) on central and peripheral with nrf52840 and sdk 15.3.0?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/102720/how-to-enable-ble-long-range-mode-125-kbps-on-central-and-peripheral-with-nrf52840-and-sdk-15-3-0</link><description>My project consists of two custom PCB&amp;#39;s, one central role and one peripheral, with BT840f chips which utilize nrf52840. I am not aware of a way to change the settings to allow for longer range BLE communications. I have tried changing these settings in</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 18 Aug 2023 11:31:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/102720/how-to-enable-ble-long-range-mode-125-kbps-on-central-and-peripheral-with-nrf52840-and-sdk-15-3-0" /><item><title>RE: How to enable BLE long range mode (125 KBPS) on central and peripheral with nrf52840 and sdk 15.3.0?</title><link>https://devzone.nordicsemi.com/thread/442066?ContentTypeID=1</link><pubDate>Fri, 18 Aug 2023 11:31:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:02c1e741-1a36-4833-aca5-30ba95017197</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;Can you share your code?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;And what are the params your are trying to update to?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to enable BLE long range mode (125 KBPS) on central and peripheral with nrf52840 and sdk 15.3.0?</title><link>https://devzone.nordicsemi.com/thread/441957?ContentTypeID=1</link><pubDate>Thu, 17 Aug 2023 21:53:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8498fd41-16eb-4cb8-8e30-859c386d8ec4</guid><dc:creator>Aaron_BC</dc:creator><description>&lt;p&gt;I have successfully received packets with CODED_PHY modulation in my project using this example as a guide:&amp;nbsp;&lt;a id="" href="https://github.com/jimmywong2003/nrf52811-ble-long-range-demo"&gt;https://github.com/jimmywong2003/nrf52811-ble-long-range-demo&lt;/a&gt;&amp;nbsp;. However, I am now seeing an error occur occasionally while testing at long range in the ble_evt_handler() at&amp;nbsp;BLE_GAP_EVT_CONN_PARAM_UPDATE_REQUEST event, where&amp;nbsp;&lt;/p&gt;
&lt;p&gt;ret_code = sd_ble_gap_conn_param_update(p_gap_evt-&amp;gt;conn_handle,&lt;br /&gt; &amp;amp;p_gap_evt-&amp;gt;params.conn_param_update_request.conn_params);&lt;br /&gt; APP_ERROR_CHECK(ret_code);&lt;/p&gt;
&lt;p&gt;returns me error code&amp;nbsp;NRF_ERROR_INVALID_STATE. Most of the time this function gets called successfully, but sometimes at long range, around -90 db rssi, the app_error_check fails and causes a soft reset.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to enable BLE long range mode (125 KBPS) on central and peripheral with nrf52840 and sdk 15.3.0?</title><link>https://devzone.nordicsemi.com/thread/441786?ContentTypeID=1</link><pubDate>Thu, 17 Aug 2023 08:39:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0a32d196-e6b9-45de-ba09-b7a8caa67dc9</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;Can you share your code or the content of the parameters sendt to sd_ble_gap_adv_set_configure?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to enable BLE long range mode (125 KBPS) on central and peripheral with nrf52840 and sdk 15.3.0?</title><link>https://devzone.nordicsemi.com/thread/441257?ContentTypeID=1</link><pubDate>Mon, 14 Aug 2023 21:08:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3db9f15d-e34e-4863-9d61-f33086bdaaf5</guid><dc:creator>Aaron_BC</dc:creator><description>&lt;p&gt;I have set these parameters in my&amp;nbsp;ble_advertising_start() function:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;p_advertising-&amp;gt;adv_params.properties.type = BLE_GAP_ADV_TYPE_EXTENDED_CONNECTABLE_NONSCANNABLE_UNDIRECTED;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt; p_advertising-&amp;gt;adv_modes_config.ble_adv_secondary_phy = BLE_GAP_PHY_CODED;&lt;/p&gt;
&lt;p&gt;p_advertising-&amp;gt;adv_params.primary_phy = BLE_GAP_PHY_CODED;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt; p_advertising-&amp;gt;adv_modes_config.ble_adv_extended_enabled = true;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I am now getting an error when calling&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s140.api.v7.3.0/group___b_l_e___g_a_p___f_u_n_c_t_i_o_n_s.html?cp=5_7_4_1_2_1_3_3#ga9969047f4e7485c3f856c841978cc31a"&gt;sd_ble_gap_adv_set_configure&lt;/a&gt;(), with return code == 7, which I believe to be&amp;nbsp;&lt;a class="el" title="Invalid Parameter." href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s140.api.v7.3.0/group__nrf__error.html#ga0a5831cf5092e0dd43a01869676ee076"&gt;NRF_ERROR_INVALID_PARAM&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to enable BLE long range mode (125 KBPS) on central and peripheral with nrf52840 and sdk 15.3.0?</title><link>https://devzone.nordicsemi.com/thread/440761?ContentTypeID=1</link><pubDate>Thu, 10 Aug 2023 13:28:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cbd59230-27ca-4fba-9d27-a192792c1cf8</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;If the peripheral does not advertise with CODED_PHY modulation then a central using&amp;nbsp;&lt;span&gt;CODED_PHY modulation&lt;/span&gt; will not be able to receive any packets.&lt;/p&gt;
&lt;p&gt;See: &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s140.api.v7.3.0/group___b_l_e___g_a_p___f_u_n_c_t_i_o_n_s.html?cp=5_7_4_1_2_1_3_3#ga9969047f4e7485c3f856c841978cc31a"&gt;sd_ble_gap_adv_set_configure&lt;/a&gt;&lt;span&gt;,&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s140.api.v7.3.0/structble__gap__adv__params__t.html"&gt;ble_gap_adv_params_t&lt;/a&gt;,&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s140.api.v7.3.0/structble__gap__adv__params__t.html#accbe0a08a04e608076f1c6f94ee146c7"&gt;primary_phy&lt;/a&gt;/&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s140.api.v7.3.0/structble__gap__adv__params__t.html#acf8d8ba208b631c927fd578f1ca5bc67"&gt;secondary_phy&lt;/a&gt;, and&amp;nbsp;&lt;/span&gt;&lt;span&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/group__ble__advertising.html?cp=9_1_6_2_0_13#ga442849c2457f7b745011b3b0546eb95a"&gt;ble_advertising_modes_config_set&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>