<?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>nRF52 beacone TXPOWER</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/86476/nrf52-beacone-txpower</link><description>I tryed to reduce the power consumption of my beacon (ble_app_beacone example from SDK) to have more battery live. To do this, I want to reduce the TX power. And also change advertising interval. With advertising interval its easy, but TX power.. I tried</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 01 Apr 2022 13:37:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/86476/nrf52-beacone-txpower" /><item><title>RE: nRF52 beacone TXPOWER</title><link>https://devzone.nordicsemi.com/thread/361252?ContentTypeID=1</link><pubDate>Fri, 01 Apr 2022 13:37:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:27e6472b-c8c4-4828-a72f-758997581d4f</guid><dc:creator>YaroslavRakhnenko</dc:creator><description>&lt;p&gt;Thanks for the answer! I found an error. I called sd_ble_gap_tx_power_set() with the wrong parameters in the wrong place (facepalm)&lt;/p&gt;
&lt;p&gt;maybe it will be useful for someone, in the ble_app_beacone example (from SDK)&amp;nbsp; you need to write it here:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1648820126337v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 beacone TXPOWER</title><link>https://devzone.nordicsemi.com/thread/361224?ContentTypeID=1</link><pubDate>Fri, 01 Apr 2022 12:18:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:74406e8f-9798-49bd-9841-a650f4885828</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]&lt;p&gt;I tried to do it in several ways:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;sd_ble_gap_tx_power_set() or NRF_RADIO-&amp;gt;TXPOWER&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;but in this case, the beacon does not work at all.&lt;/p&gt;[/quote]
&lt;p&gt;Did you try to debug in this case? Did you get any errors? In any case, the correct way to adjust the Tx power for Bluetooth advertising is to use &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s113.api.v7.2.0/group___b_l_e___g_a_p___f_u_n_c_t_i_o_n_s.html?cp=4_7_1_2_2_1_3_34#gad10e80ba20ddab42d1753fd1be2d8c26"&gt;sd_ble_gap_tx_power_set()&lt;/a&gt;&amp;nbsp;with the role (first parameter) set to&amp;nbsp;BLE_GAP_TX_POWER_ROLE_ADV. The second parameter should be the advertising handle which you got from the call to &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s113.api.v7.2.0/group___b_l_e___g_a_p___f_u_n_c_t_i_o_n_s.html?cp=4_7_1_2_2_1_3_3#ga9969047f4e7485c3f856c841978cc31a"&gt;sd_ble_gap_adv_set_configure()&lt;/a&gt;. Therefore, I suggest you simply call&amp;nbsp;sd_ble_gap_tx_power_set() immediately after the call to&amp;nbsp;sd_ble_gap_adv_set_configure().&lt;/p&gt;
&lt;p&gt;(Note that if you use the advertising module this is not called directly, but by&amp;nbsp;ble_advertising_init(), so you should get it from there. Also, in that case you can find the advertising handle from the&amp;nbsp;ble_advertising_t struct after the call to ble_advertising_init().)&lt;/p&gt;
[quote user=""]Then I found a comment that says that the APP_MEASURED_RSSI parameter is responsible for the TX power[/quote]
&lt;p&gt;That is not correct. This is just a&amp;nbsp;information about the typical RSSI measured at a fixed distance from the beacon to make it a bit simpler to estimate distance based on RSSI.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>