<?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>set TX power nrf52840 PCA10059 SDK 15.3 S140  program hangs at APP_ERROR _CHECK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/51256/set-tx-power-nrf52840-pca10059-sdk-15-3-s140-program-hangs-at-app_error-_check</link><description>Good day 
 I converted a Central UART example. I thought I would experiment with the &amp;quot;sd_ble_gap_tx_power_set()&amp;quot; function to see how it works. 
 
 When I include the following 
 
 My program just hangs at APP_ERROR_CHECK. No error code or assert. 
 If</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 22 Aug 2019 08:19:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/51256/set-tx-power-nrf52840-pca10059-sdk-15-3-s140-program-hangs-at-app_error-_check" /><item><title>RE: set TX power nrf52840 PCA10059 SDK 15.3 S140  program hangs at APP_ERROR _CHECK</title><link>https://devzone.nordicsemi.com/thread/205469?ContentTypeID=1</link><pubDate>Thu, 22 Aug 2019 08:19:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:42d71bbc-5b5d-4fc6-98b7-a268b09e677a</guid><dc:creator>Sigurd</dc:creator><description>[quote userid="74893" url="~/f/nordic-q-a/51256/set-tx-power-nrf52840-pca10059-sdk-15-3-s140-program-hangs-at-app_error-_check"]I set a breakpoint at APP_ERROR_CHECK&amp;nbsp; err_code =0x00000002[/quote]
&lt;p&gt;Error code 2 is &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s140.api.v6.1.1/group__nrf__error.html?cp=3_4_3_1_2_0_7_17#ga9a2af1a322a5dfb3bdb69e2aacd3bc27"&gt;NRF_ERROR_SOFTDEVICE_NOT_ENABLED&lt;/a&gt;. Make sure that you set TX power after the softdevice is enabled.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: set TX power nrf52840 PCA10059 SDK 15.3 S140  program hangs at APP_ERROR _CHECK</title><link>https://devzone.nordicsemi.com/thread/205379?ContentTypeID=1</link><pubDate>Wed, 21 Aug 2019 15:08:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b8dea37e-2070-4a34-83ca-8f9f4dc52752</guid><dc:creator>melt</dc:creator><description>&lt;p&gt;thanks, Jimmy, will have a look.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: set TX power nrf52840 PCA10059 SDK 15.3 S140  program hangs at APP_ERROR _CHECK</title><link>https://devzone.nordicsemi.com/thread/205368?ContentTypeID=1</link><pubDate>Wed, 21 Aug 2019 14:46:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f828262e-8e24-4eeb-832d-4b6c10ede3b8</guid><dc:creator>Jimmy Wong</dc:creator><description>&lt;p&gt;HI,&lt;br /&gt;&lt;br /&gt;you can refer to my example (&lt;a href="https://github.com/jimmywong2003/nrf52-ble5-long-range-demo"&gt;https://github.com/jimmywong2003/nrf52-ble5-long-range-demo&lt;/a&gt;).&lt;br /&gt;&lt;br /&gt;I set the TX power on both peripheral and central role.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>