<?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>[NRF52833] [Bluetooth Mesh mode] set Tx power</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/95026/nrf52833-bluetooth-mesh-mode-set-tx-power</link><description>Hello developers, I am using nRF52833 chip for Bluetooth Mesh sensor application In Kconfig I am setting TX POWER transmitter power at +8dbm. According to the device specifications it can reach up to 8dBm with a current consumption of 15mA. But now I</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 04 Jan 2023 01:34:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/95026/nrf52833-bluetooth-mesh-mode-set-tx-power" /><item><title>RE: [NRF52833] [Bluetooth Mesh mode] set Tx power</title><link>https://devzone.nordicsemi.com/thread/403065?ContentTypeID=1</link><pubDate>Wed, 04 Jan 2023 01:34:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:167d2017-ea32-48ce-9f8c-9a148bcfea18</guid><dc:creator>Tien_Nguyen</dc:creator><description>&lt;p&gt;In the future I will be converting to the newer NCS, but for now everything is working.&lt;br /&gt;Thanks for the support.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [NRF52833] [Bluetooth Mesh mode] set Tx power</title><link>https://devzone.nordicsemi.com/thread/403035?ContentTypeID=1</link><pubDate>Tue, 03 Jan 2023 17:05:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c68924f9-a7cf-4771-9086-d29352a93108</guid><dc:creator>Hieu</dc:creator><description>[quote user="Tien_Nguyen"]&lt;p&gt;In &amp;quot;nrf_radio.h&amp;quot; line 273-275, I remove:&lt;/p&gt;
&lt;p&gt;#if defined(RADIO_TXPOWER_TXPOWER_Pos8dBm) || defined(NRFX_DOXYGEN)&lt;br /&gt; NRF_RADIO_TXPOWER_POS8DBM = RADIO_TXPOWER_TXPOWER_Pos8dBm, /**&amp;lt; 8 dBm. */&lt;br /&gt;#endif&lt;/p&gt;
&lt;p&gt;And replace by:&lt;/p&gt;
&lt;p&gt;NRF_RADIO_TXPOWER_POS8DBM = RADIO_TXPOWER_TXPOWER_Pos8dBm,&lt;/p&gt;[/quote]
&lt;p&gt;Are you sure just this change&amp;nbsp;works? Are there any other changes you made that you perhaps forgot to consider?&lt;/p&gt;
&lt;p&gt;Your update simply ensures an enum value is exposed regardless of the build configurations. &lt;br /&gt;As the nRF52833 supports +8 dBm, I think that option would be&amp;nbsp;defined&amp;nbsp;regardless, because the nRF52833 supports +8 dBm.&lt;/p&gt;
&lt;p&gt;Our&amp;nbsp;R&amp;amp;D also&amp;nbsp;shares that the TX Power is ultimately controlled by the SoftDevice Controller. Thus, even if you made a change that affect the application, it should not have&amp;nbsp;an actual physical impact on signal strength.&lt;/p&gt;
&lt;p&gt;Meanwhile, this hack could be dangerous for your future projects which use a device that does not support +8 dBm.&lt;/p&gt;
&lt;p&gt;Finally, just out of curiosity, I tried your solution on a separated copy of&amp;nbsp;NCS v2.0.2, it has no effect. It doesn&amp;#39;t seem that nrf_radio.h is even included in my build.&amp;nbsp;My tests are done with the Zephyr beacon sample.&lt;/p&gt;
&lt;p&gt;If you wish to stay on NCS 2.0.x, our recommendation is that you&amp;nbsp;set TX Power dynamically as I shared in my previous response.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [NRF52833] [Bluetooth Mesh mode] set Tx power</title><link>https://devzone.nordicsemi.com/thread/402480?ContentTypeID=1</link><pubDate>Thu, 29 Dec 2022 01:41:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1ef8901-339c-4fcc-b243-43e1eae211fb</guid><dc:creator>Tien_Nguyen</dc:creator><description>[quote userid="9456" url="~/f/nordic-q-a/95026/nrf52833-bluetooth-mesh-mode-set-tx-power/402451"]CS v2.1.0 or newer, the&amp;nbsp;Kconfi[/quote]
&lt;p&gt;Yes, i sucessed config TX power by change source in SDK few days ago.&lt;/p&gt;
&lt;p&gt;In &amp;quot;nrf_radio.h&amp;quot; line 273-275, I remove:&lt;/p&gt;
&lt;p&gt;#if defined(RADIO_TXPOWER_TXPOWER_Pos8dBm) || defined(NRFX_DOXYGEN)&lt;br /&gt; NRF_RADIO_TXPOWER_POS8DBM = RADIO_TXPOWER_TXPOWER_Pos8dBm, /**&amp;lt; 8 dBm. */&lt;br /&gt;#endif&lt;/p&gt;
&lt;p&gt;And replace by:&lt;/p&gt;
&lt;p&gt;NRF_RADIO_TXPOWER_POS8DBM = RADIO_TXPOWER_TXPOWER_Pos8dBm,&lt;/p&gt;
&lt;p&gt;It work like a charm &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [NRF52833] [Bluetooth Mesh mode] set Tx power</title><link>https://devzone.nordicsemi.com/thread/402451?ContentTypeID=1</link><pubDate>Wed, 28 Dec 2022 14:22:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dcd6e57f-c0d3-4d80-95c3-5c9a20290bd4</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi TienNguyen,&lt;/p&gt;
&lt;p&gt;In NCS v2.0.2 and older, &lt;span&gt;CONFIG_BT_CTLR_TX_PWR_PLUS_8 and similar Kconfig&amp;nbsp;CONFIG_BT_CTLR_TX_PWR_*&amp;nbsp;don&amp;#39;t work correctly.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;You can refer to Known Issue&amp;nbsp;DRGN-15903 here&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.0.2/nrf/known_issues.html"&gt;Known issues — nRF Connect SDK 2.0.2 documentation (nordicsemi.com)&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If you have to stay with NCS v2.0, please set TX power dynamically instead. The following sample will show you how to do it:&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.0.2/zephyr/samples/bluetooth/hci_pwr_ctrl/README.html"&gt;Bluetooth: HCI Power Control — Zephyr Project Documentation (nordicsemi.com)&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If you can upgrade to NCS v2.1.0 or newer, the&amp;nbsp;Kconfig should work correctly.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Sorry for the inconvenience.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Hieu&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [NRF52833] [Bluetooth Mesh mode] set Tx power</title><link>https://devzone.nordicsemi.com/thread/401657?ContentTypeID=1</link><pubDate>Wed, 21 Dec 2022 08:47:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c503283b-e318-4627-94e5-273faee691e4</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Did you also include the dependencies that the config setting requires?&lt;/p&gt;
&lt;p&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/kconfig/index.html#!CONFIG_BT_CTLR_TX_PWR_PLUS_8"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/kconfig/index.html#!CONFIG_BT_CTLR_TX_PWR_PLUS_8&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Kind regard,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [NRF52833] [Bluetooth Mesh mode] set Tx power</title><link>https://devzone.nordicsemi.com/thread/401644?ContentTypeID=1</link><pubDate>Wed, 21 Dec 2022 07:48:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:def0adbf-cf1c-4543-acd7-71e24b89a489</guid><dc:creator>Tien_Nguyen</dc:creator><description>&lt;p&gt;I tried the config but nothing changed, I tried measuring the RSSI between 0dbm and 8dbm also no change at all. 0dbm and 8dbm is a very large range so it can be concluded that this setting does not give me the results I want.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [NRF52833] [Bluetooth Mesh mode] set Tx power</title><link>https://devzone.nordicsemi.com/thread/401571?ContentTypeID=1</link><pubDate>Tue, 20 Dec 2022 15:28:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:62bbccfb-638e-41c3-97dc-1de9a700c104</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You could try to use&amp;nbsp;CONFIG_BT_CTLR_TX_PWR_PLUS_8=y to change the it to 8dB. There are also similar configs to change it to other values, such as&amp;nbsp;&lt;span&gt;CONFIG_BT_CTLR_TX_PWR_MINUS_4=y if you want to set it to -4 instead of +8&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Kind regards,&lt;br /&gt;Andreas&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>