<?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>Zigbee TXPOWER change issue.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/64716/zigbee-txpower-change-issue</link><description>Hi, 
 
 I am trying to change the tx power of Zigbee using the following APIs : 
 1) zb_set_tx_power(0x32); 2) nrf_radio_txpower_set(NRF_RADIO_TXPOWER_NEG12DBM); 3) nrf_802154_tx_power_set(NRF_RADIO_TXPOWER_NEG12DBM); 
 
 None of this API makes a significant</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 22 Jan 2021 07:19:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/64716/zigbee-txpower-change-issue" /><item><title>RE: Zigbee TXPOWER change issue.</title><link>https://devzone.nordicsemi.com/thread/290650?ContentTypeID=1</link><pubDate>Fri, 22 Jan 2021 07:19:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6c1c346d-e12a-429f-8965-7ee7dd080314</guid><dc:creator>LangSQ</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I got a same question&amp;nbsp;about TX power increasing to +8dBm for nRF52840 in zigbee mode.&lt;/p&gt;
&lt;p&gt;1、Before reseting power value,call this function `nrf_802154_tx_power_get()`,results is 0 and `my_tx_power_register` is&amp;nbsp;0x00000000.&lt;/p&gt;
&lt;p&gt;2、Reseting&amp;nbsp;&lt;span&gt;power value 8 by calling this function `nrf_802154_tx_power_set(8)`,and call `nrf_802154_tx_power_get()`,the result is 8,but the `my_tx_power_register` still is 0x00000000&lt;/span&gt;&lt;/p&gt;
&lt;div class="trans-left"&gt;
&lt;div class="trans-input-wrap"&gt;
&lt;div class="input-wrap" dir="ltr"&gt;
&lt;div class="textarea-wrap without-textarea-bg"&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class="trans-right"&gt;
&lt;div class="output-wrap"&gt;
&lt;div class="output-mod ordinary-wrap"&gt;
&lt;div class="output-bd" dir="ltr"&gt;
&lt;p class="ordinary-output target-output clearfix"&gt;&lt;span class=""&gt;It can be seen from this&lt;/span&gt;,if call `nrf_802154_tx_power_set()` can get changed TX power value by call `&lt;span&gt;nrf_802154_tx_power_get()&lt;/span&gt;`,but the `&lt;span&gt;my_&lt;/span&gt;&lt;span&gt;tx_power_register&lt;/span&gt;` is same,why?&lt;/p&gt;
&lt;p class="ordinary-output target-output clearfix"&gt;This is part of power reset vaule code:&lt;/p&gt;
&lt;p class="ordinary-output target-output clearfix"&gt;&lt;pre class="ui-code" data-mode="text"&gt;NRF_LOG_INFO(&amp;quot;Get TX Power Before Reseting:  %d&amp;quot;, nrf_802154_tx_power_get());
NRF_LOG_INFO(&amp;quot;Register Valuse Before Reseting: 0x%08x&amp;quot;, NRF_RADIO-&amp;gt;TXPOWER);  // The actual value from the register
nrf_802154_tx_power_set(TX_POWER_LEVEL);
NRF_LOG_INFO(&amp;quot;Get TX Power After Reseting:  %d&amp;quot;, nrf_802154_tx_power_get());
NRF_LOG_INFO(&amp;quot;Register Valuse After Reseting: 0x%08x&amp;quot;, NRF_RADIO-&amp;gt;TXPOWER);&lt;/pre&gt;&lt;/p&gt;
&lt;p class="ordinary-output target-output clearfix"&gt;Thanks&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee TXPOWER change issue.</title><link>https://devzone.nordicsemi.com/thread/264085?ContentTypeID=1</link><pubDate>Tue, 11 Aug 2020 13:11:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d208bef5-1b13-41a8-a39b-0b3b18d68c6e</guid><dc:creator>embedded_noob</dc:creator><description>&lt;p&gt;Ok got it. I will try it again and make sure everything works.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks for your help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee TXPOWER change issue.</title><link>https://devzone.nordicsemi.com/thread/264084?ContentTypeID=1</link><pubDate>Tue, 11 Aug 2020 09:04:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b05a8a91-6b09-4025-8f7b-9f264885a803</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;The RSS should start at the effect that you set, but naturally, the signal strength will drop when the packet is received, because of noise and effect loss both at the transmitting antenna, receiving antenna, and the distance between the devices. However, if you set the output power to -40, you should never see the RSS of -35, because it is not possible that the signal strength has increased over the air. Again, can you double check that the extended device address is actually the device that you changed the TX power on, and that it is not another node routing the message to the receiver? The extended network address is part of the packet. If you still claim that it is not changing, do you have a project where it doesn&amp;#39;t work, and I can replicate it? Because I tried it in the light bulb example, and it worked there.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee TXPOWER change issue.</title><link>https://devzone.nordicsemi.com/thread/264083?ContentTypeID=1</link><pubDate>Mon, 10 Aug 2020 13:30:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4bbfe219-a7fa-49da-ba8d-6e0af67b4aaa</guid><dc:creator>embedded_noob</dc:creator><description>&lt;p&gt;Yeah it try to set -40 but by default in the WIreshark it was showing the value around -35 dBm so we cannot figure it out it changed or not. As you mentioned that the by default the code starts at 8 dBm I never saw RSS in positive. I used ZC power default and ZED power was changed by adding a CLI command.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee TXPOWER change issue.</title><link>https://devzone.nordicsemi.com/thread/264082?ContentTypeID=1</link><pubDate>Mon, 10 Aug 2020 12:41:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4dfc7494-86f8-4605-914c-d76634e4c18f</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Upon further inspection of the log, I see that the second message, which had RSS= -35 is coming from the coordinator, which I didn&amp;#39;t change the TX power on. So the TX power is successfully changed.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Please see the following screenshot:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-3467d4377caf438fb8f3994b89f094da/pastedimage1597063177762v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I am sorry, but my wireshark keeps crashing when I try to save a capture, so I can&amp;#39;t save the sniffer trace.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Did you try to set it to -40? And when you claim it doesn&amp;#39;t change, can you check the extended source, and verify that it is indeed from the device of which you changed the output power?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee TXPOWER change issue.</title><link>https://devzone.nordicsemi.com/thread/264081?ContentTypeID=1</link><pubDate>Mon, 10 Aug 2020 08:30:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c4a50e01-0f8c-4eec-8fd9-73eb3fe31b75</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Thanks for the guide. I usually use the dongle, so if I have already set the channel, this window doesn&amp;#39;t pop up again. Tried to sniff with a DK, and the window popped up.&lt;/p&gt;
&lt;p&gt;So what I see when I switch between +8 and -40 on the light bulb is that the RSS on the sniffer changes. But there are two ACKs from the lightbulb. One will use the RSSI that I set, while the other one is quite steady around -35 on the sniffer (so I guess it is 0 when transmitted).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You never mentioned what you saw on your sniffer? From your sniffer trace (with_power_change). What device is it that changes the TX power, and between what packets do you do it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee TXPOWER change issue.</title><link>https://devzone.nordicsemi.com/thread/264080?ContentTypeID=1</link><pubDate>Fri, 07 Aug 2020 14:54:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6193fae6-f547-44c4-8ce7-597ef0ffc95d</guid><dc:creator>embedded_noob</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I saw your post we have the same sniffer. I am trying to use -12, -20 and 0 dBm.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-3467d4377caf438fb8f3994b89f094da/pastedimage1596811953312v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;In the menu of Wireshark just on the side of nrf sniffer 802.15.4 you will find a setting icon clicking on it will let you select the IEEE TAP please look at the image after adding this you can see the RSS in your Wireshark.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee TXPOWER change issue.</title><link>https://devzone.nordicsemi.com/thread/264079?ContentTypeID=1</link><pubDate>Fri, 07 Aug 2020 14:07:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7e520ba4-55f6-41ee-8fa9-1236fd1c86cd</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;I suspect we are not using the same sniffer:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-3467d4377caf438fb8f3994b89f094da/pastedimage1596809237396v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;So what are the TX powers you are trying to use? Did you try +8 and -40 dBm?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee TXPOWER change issue.</title><link>https://devzone.nordicsemi.com/thread/264078?ContentTypeID=1</link><pubDate>Wed, 05 Aug 2020 14:14:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:72902c1e-4703-42a5-ab92-919884eadfe3</guid><dc:creator>embedded_noob</dc:creator><description>&lt;p&gt;When you configure the nRF Sniffer in the setting right besides it you can change the channel and there is one more drop down for IEEE 802.15.4 TAP please select that it will show the RSS information. I have attached the wireshark caputre files before and after changing the power. Please have look.&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-3467d4377caf438fb8f3994b89f094da/Capture_5F00_With_5F00_Power_5F00_Change.pcapng"&gt;devzone.nordicsemi.com/.../Capture_5F00_With_5F00_Power_5F00_Change.pcapng&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-3467d4377caf438fb8f3994b89f094da/Capture_5F00_WO_5F00_Power_5F00_Change.pcapng"&gt;devzone.nordicsemi.com/.../Capture_5F00_WO_5F00_Power_5F00_Change.pcapng&lt;/a&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-3467d4377caf438fb8f3994b89f094da/Power_5F00_Change_5F00_CmD.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;In the Image file you can see that I am setting the power and checking it with the same command the code is just besides the terminal window. But still I cannot see change in power.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The using a custom get data cmd I am sending 10 bytes of packet&amp;nbsp; 2 times and sending at interval of 5 seconds.&lt;/p&gt;
&lt;p&gt;get data [payload_size] [#to send] [Timer Interval] [True].&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;You can see the commands being Transmitted in the wireshark with and without power change.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee TXPOWER change issue.</title><link>https://devzone.nordicsemi.com/thread/264077?ContentTypeID=1</link><pubDate>Wed, 05 Aug 2020 12:05:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:02f4c305-c0e3-42ef-bda5-897ee3cb98ed</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Do you see the RSSI of packets in wireshark (because I can&amp;#39;t see it when I use the sniffer).&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I use a couple of methods to check the TX power. I use nrf_802154_tx_power_get() to read the TX power from the radio driver, and then I read the TX power register using:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;uint32_t my_tx_power_register = NRF_RADIO-&amp;gt;TX_POWER;
NRF_LOG_INFO(&amp;quot;my_tx_power_register: 0x%08x&amp;quot;, my_tx_power_register);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;To print the actual value from the register.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then I use the button handler (with some unused buttons) to trigger nrf_802154_tx_power_set() and print the values from the register. I see that sometimes it may take some time before the register updates, but I am fairly sure that this is only because the changes doesn&amp;#39;t take effect before the radio is actually going to transmit something.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;So can you describe to me how you change, and what you see in wireshark? You may not see the difference between 0 and -12, but perhaps you can try some more extreme values and see if you see any change in the RSSI. E.g. +8dBm vs -40dBm. Can you show a screenshot of what the RSSI looks like on wireshark?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee TXPOWER change issue.</title><link>https://devzone.nordicsemi.com/thread/264076?ContentTypeID=1</link><pubDate>Tue, 04 Aug 2020 13:45:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a0c291c1-694a-475b-a390-854d4d551cfc</guid><dc:creator>embedded_noob</dc:creator><description>&lt;p&gt;Thanks for the reply.&lt;/p&gt;
&lt;p&gt;I tried changing the TX power of the ZC so It was network creator. So basically does the&amp;nbsp;&lt;span&gt;nrf_802154_tx_power_set()&amp;nbsp; should be used before the stack is&amp;nbsp;&lt;/span&gt;initialized?. Additionally I can see the value getting set to value I set using the above API but cannot see the change in the Wireshark.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee TXPOWER change issue.</title><link>https://devzone.nordicsemi.com/thread/264075?ContentTypeID=1</link><pubDate>Tue, 04 Aug 2020 10:33:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a2eaa979-b98d-4b7d-8bb5-d0d49dc5428f</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I see that the zigbee stack will change the TX power back to 8dBm as long as the device is not part of a network. If you join a network, I could use the functions nrf_802154_tx_power_set() and&amp;nbsp;&lt;span&gt;nrf_802154_tx_power_get() to change the TX power (and confirm it). Was the node part of a network when you tried to use nrf_802154_tx_power_set()?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;BR,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Edvin&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>