<?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>Device freezing after change tx power from the nrf app</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/56523/device-freezing-after-change-tx-power-from-the-nrf-app</link><description>Hello All, 
 
 I have nrf52810 chip. using softdevice 6.1.1 
 I have implemented dfu feature. 
 Now i have implement tx power change feature through nrf connect mobile app using custom service . 
 I am saving the variable in flash after receive from app</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 16 Jan 2020 13:04:37 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/56523/device-freezing-after-change-tx-power-from-the-nrf-app" /><item><title>RE: Device freezing after change tx power from the nrf app</title><link>https://devzone.nordicsemi.com/thread/229412?ContentTypeID=1</link><pubDate>Thu, 16 Jan 2020 13:04:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bb329207-c958-4902-a675-622fc536cfd1</guid><dc:creator>Rohit</dc:creator><description>&lt;p&gt;Thanks... for links Its really helped to solve above issue.&lt;/p&gt;
&lt;p&gt;[quote userid="2111" url="~/f/nordic-q-a/56523/device-freezing-after-change-tx-power-from-the-nrf-app/229208"][/quote]&lt;/p&gt;
&lt;p&gt;You may find this reply useful:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/37630/sd_ble_gap_tx_power_set-not-working/145233#145233"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/37630/sd_ble_gap_tx_power_set-not-working/145233#145233&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Understood tx operation...&lt;/p&gt;
&lt;p&gt;I previously try set_TX_power call alone.&lt;/p&gt;
&lt;p&gt;Because of i am not staring the advt init function before tx set call so it is hang issue was there.&lt;/p&gt;
&lt;p&gt;Now code is working properly....&lt;/p&gt;
&lt;p&gt;Thanks for your support...&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Rohit&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Device freezing after change tx power from the nrf app</title><link>https://devzone.nordicsemi.com/thread/229208?ContentTypeID=1</link><pubDate>Wed, 15 Jan 2020 12:19:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c8dbcff3-7e70-44ad-aa42-0e7dfa1ad159</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;The error code is:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s140.api.v6.0.0/group__ble__err.html#ga3f3e21cbd6cf24e72e5bf641098379aa"&gt;https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s140.api.v6.0.0/group__ble__err.html#ga3f3e21cbd6cf24e72e5bf641098379aa&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;See parameters:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s140.api.v6.0.0/group___b_l_e___g_a_p___f_u_n_c_t_i_o_n_s.html?cp=4_5_3_4_2_1_2_37#gad10e80ba20ddab42d1753fd1be2d8c26"&gt;https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s140.api.v6.0.0/group___b_l_e___g_a_p___f_u_n_c_t_i_o_n_s.html?cp=4_5_3_4_2_1_2_37#gad10e80ba20ddab42d1753fd1be2d8c26&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You may find this reply useful:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/37630/sd_ble_gap_tx_power_set-not-working/145233#145233"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/37630/sd_ble_gap_tx_power_set-not-working/145233#145233&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Device freezing after change tx power from the nrf app</title><link>https://devzone.nordicsemi.com/thread/229197?ContentTypeID=1</link><pubDate>Wed, 15 Jan 2020 11:49:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b9264f4c-df9c-480e-8d38-6fd6fda33168</guid><dc:creator>Rohit</dc:creator><description>&lt;p&gt;Hi Kenneth,&lt;/p&gt;
&lt;p&gt;Please check this below images ....I am&amp;nbsp; getting following error..What that error means?&lt;/p&gt;
&lt;p&gt;this error is after calling&amp;nbsp;&lt;strong&gt;tx_power_set(); in main (Withot read write function) and declare &amp;quot;uint8_t TX_POWER_LEVEL&amp;nbsp; &amp;nbsp; =&amp;nbsp; (4) ; //default&amp;quot;&lt;br /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1579088761525v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;What modification is required?&lt;/p&gt;
&lt;p&gt;Waiting for your reply....&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Rohit&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Device freezing after change tx power from the nrf app</title><link>https://devzone.nordicsemi.com/thread/229194?ContentTypeID=1</link><pubDate>Wed, 15 Jan 2020 11:13:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e3e28213-4c1c-4aef-88e6-0679a26fbeda</guid><dc:creator>Rohit</dc:creator><description>&lt;p&gt;Hi Kenneth,&lt;/p&gt;
&lt;p&gt;Thanks for your information.&lt;/p&gt;
[quote userid="2111" url="~/f/nordic-q-a/56523/device-freezing-after-change-tx-power-from-the-nrf-app/229070"]It should not be required to reset the chip to change the output power.[/quote]
&lt;p&gt;Okay..&lt;/p&gt;
&lt;p&gt;Because I have implemented read write for other two-three data like advertising interval. That is working properly.&lt;/p&gt;
&lt;p&gt;It is properly reading updating data from flash so what is the issue , i am not getting...&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Rohit&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Device freezing after change tx power from the nrf app</title><link>https://devzone.nordicsemi.com/thread/229070?ContentTypeID=1</link><pubDate>Tue, 14 Jan 2020 14:07:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6e0ea3da-1b92-45ba-9721-2ef78657e134</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;You need to debug this somehow, my suggestion for instance is that remove flash writing, custom characteristic and system reset for now, and simply call&amp;nbsp;sd_ble_gap_tx_power_set() to see if it returns any error code after a connection is established. If there is no error code, then the issue must be somewhere else (custom characteristic or flash writing). It should not be required to reset the chip to change the output power.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>