<?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>Not able to set transmission power using s110 APIs.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/8706/not-able-to-set-transmission-power-using-s110-apis</link><description>Hi , I tried to change the transmission power using the s110 API and tried checking if the value of the register storing the transmission power is changed or not. Following is the portion of code code that I wrote: 
 #define TX_POWER_LEVEL (-8)
.
</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 14 Aug 2015 10:58:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/8706/not-able-to-set-transmission-power-using-s110-apis" /><item><title>RE: Not able to set transmission power using s110 APIs.</title><link>https://devzone.nordicsemi.com/thread/31929?ContentTypeID=1</link><pubDate>Fri, 14 Aug 2015 10:58:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9383ad06-a6c7-4339-abe2-50b6dbc721a5</guid><dc:creator>Ulrich Myhre</dc:creator><description>&lt;p&gt;Yes, depending on how strict the memory protection is enabled to be (by default it is off) you will either get invalid values (often 0 or 255) or a HardFault.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not able to set transmission power using s110 APIs.</title><link>https://devzone.nordicsemi.com/thread/31928?ContentTypeID=1</link><pubDate>Fri, 14 Aug 2015 10:54:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:963067fa-bb2d-4406-ad1e-334e4d655534</guid><dc:creator>akhil</dc:creator><description>&lt;p&gt;@Ulrich Myhre ok. yeah. You mean to say the protected peripherals can be read as document in the link you provided says, but will yield invalid values after being read. Am I right? Please correct me if I am wrong.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not able to set transmission power using s110 APIs.</title><link>https://devzone.nordicsemi.com/thread/31927?ContentTypeID=1</link><pubDate>Thu, 13 Aug 2015 10:32:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:255f65d9-24e0-4727-8195-67de5df5a2ee</guid><dc:creator>Ulrich Myhre</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;When the SoftDevice is enabled, the RADIO peripheral is protected. Trying to access its registers while it is running will yield invalid values. For more information about the protected peripherals, refer to the individual SoftDevice Specification. &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.pdf.sds/S110_SDS_v2.0.pdf"&gt;Here is the one for S110&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;There is currently no way to retrieve the TX power through an API call, but the SoftDevice will not change this by itself (unless you disable and re-enable the SoftDevice), so the last value given to sd_ble_gap_tx_power_set() should stay valid.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>