<?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>API to get Current Transmit Power from Stack</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/63056/api-to-get-current-transmit-power-from-stack</link><description>Hi, 
 I am using nRF52832 along with Softdevice 6.0.0, SDK 15.0.0, Chip Revision 2 (QFAA-EX0). 
 To set the transmit power for advertisement, I am using sd_ble_gap_tx_power_set() function. 
 Is there an api/function by which I can get the transmit power</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 30 Jun 2020 14:09:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/63056/api-to-get-current-transmit-power-from-stack" /><item><title>RE: API to get Current Transmit Power from Stack</title><link>https://devzone.nordicsemi.com/thread/257628?ContentTypeID=1</link><pubDate>Tue, 30 Jun 2020 14:09:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5229ba54-d82c-4a8d-b3fa-1a6d06b29e4a</guid><dc:creator>Justin</dc:creator><description>&lt;p&gt;It would have been great if there was an API by which one can read the set power.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: API to get Current Transmit Power from Stack</title><link>https://devzone.nordicsemi.com/thread/257150?ContentTypeID=1</link><pubDate>Fri, 26 Jun 2020 13:00:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:046edee1-6cad-4d36-bbe1-85bae0433a66</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;There is no API to check the transmit power that the softdevice uses. The idea is that the Softdevice will always use 0dBm unless something else is specified. So if you need this information within your application, you should keep track of it in a local variable, as you describe.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The softdevice will never change the tx_power on its own.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;One other way I can think of is that it is possible to use the tx_power in the advertisement, so perhaps if you change your advertising data to use this, and then read out the advertising data you may get that information, but I think this is not a very smooth workaround. It would be better to just keep track in the application.&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></channel></rss>