<?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>Ble connection distance adjustment</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/114127/ble-connection-distance-adjustment</link><description>Hi, 
 Currently, I am developing a project using the nRF52810 as my controller. I am using an emulated project of ble_app_uart with the SoftDevice S112. I have integrated the timer peripheral into the project to perform LED indications based on some Bluetooth</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 28 Aug 2024 18:25:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/114127/ble-connection-distance-adjustment" /><item><title>RE: Ble connection distance adjustment</title><link>https://devzone.nordicsemi.com/thread/500279?ContentTypeID=1</link><pubDate>Wed, 28 Aug 2024 18:25:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:89c5a9e0-0a4e-4a03-98d0-9cf64adeab19</guid><dc:creator>Sigurd</dc:creator><description>[quote user="siltvm"]What is the maximum BLE connection and advertising range for the nRF52810?[/quote]
&lt;p&gt;It depends on the PCB/board, and the RF environment the device is in.&lt;/p&gt;
[quote user="siltvm"]Are there any other options for improving the connection range?[/quote]
&lt;p&gt;&lt;span&gt;Again, it&amp;#39;s important to tune the matching network/antenna and have a good PCB layout to get good range. This is maybe the most important thing.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
[quote user="siltvm"]observed a slight variation in advertising and connection distance over a few meters (3 to 4).[/quote]
&lt;p&gt;For connections, if only 1 side of the link have increased TX-power, then it might not make that much difference in range, if the device that increased the TX-power is also the device with the poorest&amp;nbsp;RX&amp;nbsp;sensitivity.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If you want, you can create a new private case, ask for a PCB layout review of your board. We can also help with the tuning.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/guides/hardware-design-test-and-measuring/b/nrf5x/posts/general-pcb-design-guidelines-for-nrf52-series"&gt;General PCB design guidelines for nRF52 series&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Ble connection distance adjustment</title><link>https://devzone.nordicsemi.com/thread/500100?ContentTypeID=1</link><pubDate>Wed, 28 Aug 2024 05:11:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:12228984-b6d8-40d8-8f9f-35db094cf19a</guid><dc:creator>siltvm</dc:creator><description>&lt;p&gt;hi &lt;a href="https://devzone.nordicsemi.com/members/sigurdon"&gt;Sigurd&lt;/a&gt;&amp;nbsp;, modified the code according to your suggestion. adjusted the power of BLE_GAP_TX_POWER_ROLE_ADV before starting advertising and BLE_GAP_TX_POWER_ROLE_CONN after establishing the Bluetooth connection. observed a slight variation in advertising and connection distance over a few meters (3 to 4).&amp;nbsp; tested this behavior on a development board. Are there any other options for improving the connection range? What is the maximum BLE connection and advertising range for the nRF52810?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Ble connection distance adjustment</title><link>https://devzone.nordicsemi.com/thread/499961?ContentTypeID=1</link><pubDate>Tue, 27 Aug 2024 11:30:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e8ea87fc-1ba9-4ce4-a977-3b3cabedb822</guid><dc:creator>Sigurd</dc:creator><description>[quote user="siltvm"]&lt;span&gt;However,&lt;/span&gt;&lt;span&gt; adjusting the power of BLE_GAP_TX_POWER_ROLE_CONN causes the issue&lt;/span&gt;[/quote]
&lt;p&gt;Since you are not in a connection yet, then sd_ble_gap_tx_power_set()&amp;nbsp;likely returned&amp;nbsp;&lt;span&gt;BLE_ERROR_INVALID_CONN_HANDLE&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Ble connection distance adjustment</title><link>https://devzone.nordicsemi.com/thread/499958?ContentTypeID=1</link><pubDate>Tue, 27 Aug 2024 11:19:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a9563fa-c799-4208-a72c-395feed09041</guid><dc:creator>siltvm</dc:creator><description>&lt;p&gt;hi,&lt;a href="https://devzone.nordicsemi.com/members/sigurdon"&gt;Sigurd&lt;/a&gt;&amp;nbsp;,&lt;/p&gt;
&lt;p data-sourcepos="5:1-5:288"&gt;&lt;span&gt;I created a function to adjust the transmission power.&lt;/span&gt;&lt;span&gt; The function definition is given below.&lt;/span&gt;&lt;span&gt; I called the function before the advertising start function call and flashed the code into the PCA10040 nRF52832 development board.&lt;/span&gt;&lt;span&gt; I believe it&amp;#39;s rebooting.&lt;/span&gt;&lt;span&gt; What could be the possible issues?&lt;/span&gt;&lt;/p&gt;
&lt;p data-sourcepos="7:1-7:164"&gt;&lt;span&gt;When I adjust the transmission power of BLE_GAP_TX_POWER_ROLE_ADV,&lt;/span&gt;&lt;span&gt; there&amp;#39;s no problem.&lt;/span&gt;&lt;span&gt; However,&lt;/span&gt;&lt;span&gt; adjusting the power of BLE_GAP_TX_POWER_ROLE_CONN causes the issue&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;void tx_power_modification()
{

int8_t tx_power = 4;  // Value can range from -40 to +4 dBm

uint32_t err_code = sd_ble_gap_tx_power_set(BLE_GAP_TX_POWER_ROLE_ADV, 0, tx_power);
printf(&amp;quot;BLE_GAP_TX_POWER_ROLE_ADV : %d\n&amp;quot;,err_code);
APP_ERROR_CHECK(err_code);

uint32_t err_code = sd_ble_gap_tx_power_set(BLE_GAP_TX_POWER_ROLE_CONN, 0, tx_power);
printf(&amp;quot;BLE_GAP_TX_POWER_ROLE_CONN: %u\n&amp;quot;, err_code);
APP_ERROR_CHECK(err_code);

}&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Ble connection distance adjustment</title><link>https://devzone.nordicsemi.com/thread/499485?ContentTypeID=1</link><pubDate>Fri, 23 Aug 2024 07:54:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:99bcec9c-b667-4ed2-a0f2-d630859c7c24</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;For custom boards, it&amp;#39;s also important to tune the antenna, have a good PCB layout, etc to get good range.&lt;/p&gt;
[quote user="siltvm"]I just read somewhere that adjusting the transmission power range can improve signal strength, thereby increasing the bluetooth range. Is this possible?[/quote]
&lt;p&gt;Yes, correct, use the function&amp;nbsp;sd_ble_gap_tx_power_set() for that. You can set it to +4 dBm when using the nRF52823 and nRF52810.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s112.api.v7.2.0/group___b_l_e___g_a_p___f_u_n_c_t_i_o_n_s.html?cp=5_7_0_2_2_1_3_31#gad10e80ba20ddab42d1753fd1be2d8c26"&gt;https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s112.api.v7.2.0/group___b_l_e___g_a_p___f_u_n_c_t_i_o_n_s.html?cp=5_7_0_2_2_1_3_31#gad10e80ba20ddab42d1753fd1be2d8c26&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Ble connection distance adjustment</title><link>https://devzone.nordicsemi.com/thread/499464?ContentTypeID=1</link><pubDate>Fri, 23 Aug 2024 04:38:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d5576da3-0d7a-4888-979f-94d901e9f8ef</guid><dc:creator>siltvm</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;During the firmware development stage, we used the nRF52832 PCA10040 development board. Currently, we are using a custom PCB with the nRF52810 controller.&lt;/p&gt;
&lt;p&gt;I just read somewhere that adjusting the transmission power range can improve signal strength, thereby increasing the bluetooth range. Is this possible?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Ble connection distance adjustment</title><link>https://devzone.nordicsemi.com/thread/499379?ContentTypeID=1</link><pubDate>Thu, 22 Aug 2024 12:53:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0df27387-3395-4e3f-82e8-76c759255a43</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;Are you using a custom board or the DK?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>