<?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 specify default TX power at runtime for the nrf5340?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/111440/how-to-specify-default-tx-power-at-runtime-for-the-nrf5340</link><description>I know how to set the TX power on an individual bluetooth handle basis per connection/advertisement. This is fine for advertising because I can create the advertising set, set the power level, then start advertising. But for connections I don&amp;#39;t see a</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 03 Jun 2024 10:56:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/111440/how-to-specify-default-tx-power-at-runtime-for-the-nrf5340" /><item><title>RE: How to specify default TX power at runtime for the nrf5340?</title><link>https://devzone.nordicsemi.com/thread/487086?ContentTypeID=1</link><pubDate>Mon, 03 Jun 2024 10:56:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:29e16413-2ed1-4f9a-a4b8-6e2ccfce42bf</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am glad to hear it works. Regarding doumentation that seems to be missing, and I have asked the team to look into that.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to specify default TX power at runtime for the nrf5340?</title><link>https://devzone.nordicsemi.com/thread/486959?ContentTypeID=1</link><pubDate>Fri, 31 May 2024 19:25:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3f900161-22e0-4542-9815-77cf0965f6ce</guid><dc:creator>EDLT</dc:creator><description>&lt;p&gt;Einar, thanks for your input. I was able to test and verify the behavior. I&amp;#39;ve not seen anything like this mentioned in documentation, and think it would be great to add this kind of detail. Thanks again for your help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to specify default TX power at runtime for the nrf5340?</title><link>https://devzone.nordicsemi.com/thread/485951?ContentTypeID=1</link><pubDate>Mon, 27 May 2024 06:45:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f0ce224c-7690-4df3-a99d-022dd3b7fec1</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;The handle is ignored when the type is scan, so you can&amp;nbsp;pass 0.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to specify default TX power at runtime for the nrf5340?</title><link>https://devzone.nordicsemi.com/thread/485882?ContentTypeID=1</link><pubDate>Fri, 24 May 2024 16:48:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:774a46ef-7aa0-4ab6-a77b-8b6404201c4b</guid><dc:creator>EDLT</dc:creator><description>&lt;p&gt;I see, since there&amp;#39;s no handle,&amp;nbsp;what handle value should be used when constructing&amp;nbsp;&lt;span&gt;bt_hci_cp_vs_write_tx_power_level?&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to specify default TX power at runtime for the nrf5340?</title><link>https://devzone.nordicsemi.com/thread/485864?ContentTypeID=1</link><pubDate>Fri, 24 May 2024 14:09:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:15f5508a-bc29-4d23-8caf-6fc57d2a2c3e</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I did not get a chance to test this now, but looking at the implementation the same shoudl apply to scanning, by&amp;nbsp;using handle type&amp;nbsp; BT_HCI_VS_LL_HANDLE_TYPE_SCAN.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to specify default TX power at runtime for the nrf5340?</title><link>https://devzone.nordicsemi.com/thread/485860?ContentTypeID=1</link><pubDate>Fri, 24 May 2024 14:00:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2b488143-afc0-4f33-a754-35535785e27e</guid><dc:creator>EDLT</dc:creator><description>&lt;p&gt;I didn&amp;#39;t realize the peripheral connection power level is determined from the advertising power level. That is a helpful bit of information.&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t imagine this applies for the central role, who may know nothing about the peripheral&amp;#39;s TX power level.&amp;nbsp;For the central, how does one setup the connection power level before connecting?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to specify default TX power at runtime for the nrf5340?</title><link>https://devzone.nordicsemi.com/thread/485745?ContentTypeID=1</link><pubDate>Fri, 24 May 2024 08:38:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0bc5a222-737d-42b6-8b9b-30f05442a1f4</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Sorry, the link was wrong. I did not find the one I indended to link to again now, but it is essentially what is demonstrated in the &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/samples/bluetooth/hci_pwr_ctrl/README.html"&gt;HCI Power Control&lt;/a&gt;&amp;nbsp;sample. This demonstragte how you adjust the Tx power on the host side (so the app core on he nRF53).&lt;/p&gt;
&lt;p&gt;A key poin there, which is demonstrated by the sample but perhaps not very clearly, is that the Tx power used for advertising will be the initial (default if you like) Tx power for the resulting connection. So there is no need to explicitly set the Tx power for the connection(s) as long as you set it for the advertiser.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to specify default TX power at runtime for the nrf5340?</title><link>https://devzone.nordicsemi.com/thread/485670?ContentTypeID=1</link><pubDate>Thu, 23 May 2024 14:23:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:443ffab8-bab8-4155-a97f-035a5843af2c</guid><dc:creator>EDLT</dc:creator><description>&lt;p&gt;Thanks, I understand the use of the HCI commands for setting the power on a per handle basis and use those. I was hoping for&amp;nbsp;something like &amp;quot;sdc_default_tx_power_set&amp;quot; that can be triggered from the application core after&amp;nbsp;the BLE stack is already initialized.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to specify default TX power at runtime for the nrf5340?</title><link>https://devzone.nordicsemi.com/thread/485609?ContentTypeID=1</link><pubDate>Thu, 23 May 2024 11:10:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:93b4211c-3e90-4f1c-9ab5-ba56985ea004</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You can use the approach shown in &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/104222/nrf5340---setting-public-bt-address/448020"&gt;this post&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>