<?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>Is it possible to be dynamic change TX power in nrf52 SDK PXP example ?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/9902/is-it-possible-to-be-dynamic-change-tx-power-in-nrf52-sdk-pxp-example</link><description>I have a question about PXP profile. Could I use the nrF52 (S132) Nordic&amp;#39;s PXP example to dynamic change TX power when I have bonded or connected Android phone device ? I want to dynamic change TX power level
(Ex: using SDK API &amp;quot;sd_ble_gap_tx_power_set</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 03 Nov 2015 03:22:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/9902/is-it-possible-to-be-dynamic-change-tx-power-in-nrf52-sdk-pxp-example" /><item><title>RE: Is it possible to be dynamic change TX power in nrf52 SDK PXP example ?</title><link>https://devzone.nordicsemi.com/thread/36731?ContentTypeID=1</link><pubDate>Tue, 03 Nov 2015 03:22:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ffa40f7-ea01-4fce-8baf-a1a921d48f4d</guid><dc:creator>Derek</dc:creator><description>&lt;p&gt;Hi,
After refine my source code flow and then use &amp;quot;sd_ble_gap_tx_power_set&amp;quot;.
It&amp;#39;s OK!!
Thank you for your help !!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to be dynamic change TX power in nrf52 SDK PXP example ?</title><link>https://devzone.nordicsemi.com/thread/36730?ContentTypeID=1</link><pubDate>Mon, 26 Oct 2015 10:04:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:67532354-3855-4202-962e-f4a5e21fed0e</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Hi. I&amp;#39;m not exactly sure what you are asking here, but yes, you can change the power level whenever you want. Just use the function you mention, &lt;a href="http://infocenter.nordicsemi.com/index.jsp"&gt;sd_ble_gap_tx_power_set()&lt;/a&gt;, or you can set it directly in the &lt;a href="http://infocenter.nordicsemi.com/topic/nrf52.v1.7/Chunk1840422508.html?cp=1_1_0_19_1_9#register.TXPOWER"&gt;RADIO-&amp;gt;TXPOWER register&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;You can also measure the &lt;a href="http://infocenter.nordicsemi.com/topic/nrf52.v1.7/Chunk1840422508.html?cp=1_1_0_19_0_9#rssi"&gt;RSSI&lt;/a&gt; by triggering &lt;a href="http://infocenter.nordicsemi.com/topic/nrf52.v1.7/Chunk1840422508.html#topic"&gt;RADIO-&amp;gt;TASKS_RSSISTART&lt;/a&gt; and then read from the &lt;a href="http://infocenter.nordicsemi.com/topic/nrf52.v1.7/Chunk1840422508.html?cp=1_1_0_19_1_23#register.RSSISAMPLE"&gt;RADIO-&amp;gt;RSSISAMPLE register&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;This way you can e.g. change the TX power level dynamically based on the measured RSSI.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>