<?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>nRF8001 SetTxPower ends with DEVICE_STATE_INVALID</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/1618/nrf8001-settxpower-ends-with-device_state_invalid</link><description>Hi,
I&amp;#39;ve started developing some test applications for the nRF8001 to better understand all the ACI libraries and improve my knowledge of the chip. 
 I&amp;#39;m experiencing some problems with the SetTxPower command. 
 Basically I would like to build a program</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 06 Mar 2014 04:31:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/1618/nrf8001-settxpower-ends-with-device_state_invalid" /><item><title>RE: nRF8001 SetTxPower ends with DEVICE_STATE_INVALID</title><link>https://devzone.nordicsemi.com/thread/7122?ContentTypeID=1</link><pubDate>Thu, 06 Mar 2014 04:31:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:14364cb4-c393-4e17-9851-1f3d9c4059b8</guid><dc:creator>Soren</dc:creator><description>&lt;p&gt;Table 31 illustrates the commands and events that are usable/accessible in each mode. The corresponding states are marked with an X. So &lt;em&gt;SetTxPower&lt;/em&gt; only works in the Standby and Active modes.&lt;/p&gt;
&lt;p&gt;Since your Setup has been completed, my guess is that you must be in the Sleep mode. In that case, send a Wakeup (0x05) command before SetTxPower.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>