<?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>[nRF Connect SDK](Urgent) How to fix Tx power?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/93099/nrf-connect-sdk-urgent-how-to-fix-tx-power</link><description>Target nRF52832(nrf52dk_nrf52832) SDK NCS v2.0.0 My project base: \nrf\samples\bluetooth\peripheral_hids_keyboard 
 Hello. I want to increase Tx power for test. I already review sample(zephyr/samples/bluetooth/hci_pwr_ctrl) and I found it looks working</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 24 Oct 2022 07:26:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/93099/nrf-connect-sdk-urgent-how-to-fix-tx-power" /><item><title>RE: [nRF Connect SDK](Urgent) How to fix Tx power?</title><link>https://devzone.nordicsemi.com/thread/392030?ContentTypeID=1</link><pubDate>Mon, 24 Oct 2022 07:26:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:304b4692-1787-42f3-9e28-0a8756bbb2f9</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Ah, I did not notice that you posted this. Note that with this you are using the Zephyr LL instead of the SoftDevice Controller. That is OK and up to you, but I would normally recomend using the SoftDevice controller. This is also the controller we qualify (see &lt;a href="https://infocenter.nordicsemi.com/topic/comp_matrix_nrf52832/COMP/nrf52832/ble_qdid_qual_matrix.html"&gt;Bluetooth QDIDs&lt;/a&gt;).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [nRF Connect SDK](Urgent) How to fix Tx power?</title><link>https://devzone.nordicsemi.com/thread/392028?ContentTypeID=1</link><pubDate>Mon, 24 Oct 2022 07:22:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4ae92e40-f0d3-48e9-aa48-527fba7c4f15</guid><dc:creator>Einar Thorsrud</dc:creator><description>[quote user="Tim Hwang"]1. CONFIG_XXX for Tx&amp;nbsp;&lt;br /&gt;Do you have any idea?[/quote]
&lt;p&gt;You can change the default Tx power using&amp;nbsp;&lt;code&gt;CONFIG_BT_CTLR_TX_PWR_*&lt;/code&gt;, for instance&amp;nbsp;&lt;code&gt;CONFIG_BT_CTLR_TX_PWR_PLUS_4&lt;/code&gt; to set +4 dBm. Note that this does not work with early versions of the SoftDevice controller, though.&lt;/p&gt;
[quote user="Tim Hwang"]2.. Handle[/quote]
&lt;p&gt;This code&amp;nbsp;looks a bit odd, and while I did not fully&amp;nbsp;understand the failure you described it is clear an error occurred). You should&amp;nbsp;essentially do as you can see in the implementation of &lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/d9f99ed1951a973c691cd5d6bd70aecb597b2030/samples/bluetooth/hci_pwr_ctrl/src/main.c#L77"&gt;set_tx_power()&lt;/a&gt;&amp;nbsp;in&amp;nbsp;zephyr/samples/bluetooth/hci_pwr_ctrl/src/main.c. Note also that this is called with a parameter that distinguishes between roles).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [nRF Connect SDK](Urgent) How to fix Tx power?</title><link>https://devzone.nordicsemi.com/thread/392024?ContentTypeID=1</link><pubDate>Mon, 24 Oct 2022 07:10:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:75517c7d-c159-4017-b389-7ea40712ae17</guid><dc:creator>Tim Hwang</dc:creator><description>&lt;p&gt;Now I could fix my issue adding two configs, and clean build.&lt;br /&gt;I could set Tx as 4.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;#Tx&lt;br /&gt;CONFIG_BT_CTLR_ADVANCED_FEATURES=y&lt;br /&gt;CONFIG_BT_CTLR_CONN_RSSI=y&lt;br /&gt;CONFIG_BT_CTLR_TX_PWR_DYNAMIC_CONTROL=y&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#ff0000;"&gt;CONFIG_BT_LL_SOFTDEVICE=n&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;CONFIG_BT_LL_SW_SPLIT=y&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [nRF Connect SDK](Urgent) How to fix Tx power?</title><link>https://devzone.nordicsemi.com/thread/392003?ContentTypeID=1</link><pubDate>Mon, 24 Oct 2022 02:02:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:696b0cc0-fd7a-4803-a558-4f9c7cad139d</guid><dc:creator>Tim Hwang</dc:creator><description>&lt;p&gt;Thanks for updating.&lt;/p&gt;
&lt;p&gt;1. CONFIG_XXX for Tx&amp;nbsp;&lt;br /&gt;Do you have any idea?&lt;br /&gt;&lt;br /&gt;2.. Handle&lt;br /&gt;if(0==bt_hci_get_conn_handle(m_conn, &amp;amp;default_conn_handle))&lt;br /&gt; {&lt;br /&gt; set_tx_power(BT_HCI_VS_LL_HANDLE_TYPE_CONN, default_conn_handle, 4);&lt;br /&gt; }&lt;br /&gt;handle is correct.&lt;br /&gt;&lt;br /&gt;log&lt;br /&gt;00&amp;gt; update_txupdate_tx &lt;br /&gt;00&amp;gt; set_tx_power (4)&lt;br /&gt;00&amp;gt; Actual Tx Power: 4&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1666576891984v1.png" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [nRF Connect SDK](Urgent) How to fix Tx power?</title><link>https://devzone.nordicsemi.com/thread/391875?ContentTypeID=1</link><pubDate>Fri, 21 Oct 2022 12:03:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ce869b6d-d6af-47e1-a2e0-31386aca5708</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am not sure I understand correctly, but is the problem that you are only able to set the Tx power for the first connection, but not subsequent ones? If so, my first thought is that you are using an invalid connection handle (for instance that you do not update it for subsequent connections). Could that be the case? If not, can you elaborate, explain what you have found by debugging (any error codes returned from&amp;nbsp;bt_hci_cmd_send_sync() for instance?).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [nRF Connect SDK](Urgent) How to fix Tx power?</title><link>https://devzone.nordicsemi.com/thread/391830?ContentTypeID=1</link><pubDate>Fri, 21 Oct 2022 09:49:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5124e3f3-bb70-4037-8d9e-acc2cb484da4</guid><dc:creator>Tim Hwang</dc:creator><description>&lt;p&gt;In my additional test, sample including pairing made this issue.&lt;br /&gt;&lt;span&gt;peripheral_uart sample(&lt;/span&gt;\nrf\samples\bluetooth\peripheral_uart) works well.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>