<?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>The BLE firmware gets stuck when BLE signal crashes.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/56342/the-ble-firmware-gets-stuck-when-ble-signal-crashes</link><description>Hello Support Team, 
 I am using an nrf52832 module in our project. During testing, we have observed that the BLE firmware gets stuck and it stops advertising further when we crash the BLE signals by keeping the device in an RF chamber. 
 We tried to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 23 Jan 2020 10:37:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/56342/the-ble-firmware-gets-stuck-when-ble-signal-crashes" /><item><title>RE: The BLE firmware gets stuck when BLE signal crashes.</title><link>https://devzone.nordicsemi.com/thread/230553?ContentTypeID=1</link><pubDate>Thu, 23 Jan 2020 10:37:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d75e8380-860b-4e8f-860d-bd9dcc1dba37</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Please check the value of the&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/structapp__uart__evt__t.html#ae2f48256edd4052e8273d098bb8249c4"&gt;error_communication&lt;/a&gt;&amp;nbsp;variable when you get the&amp;nbsp;&lt;span&gt;APP_UART_COMMUNICATION_ERROR&amp;nbsp;event. That will correspond to the errors indicated in the&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/uarte.html?cp=4_0_0_5_33_8_20#register.ERRORSRC"&gt;ERRORSRC&lt;/a&gt;&amp;nbsp;register.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The BLE firmware gets stuck when BLE signal crashes.</title><link>https://devzone.nordicsemi.com/thread/230104?ContentTypeID=1</link><pubDate>Tue, 21 Jan 2020 14:22:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:859ff4e4-bb32-4ca3-b167-61068a3f6b35</guid><dc:creator>Meetali Patel</dc:creator><description>&lt;p&gt;Hi Jorgen,&lt;/p&gt;
&lt;p&gt;I enabled the DEBUG flags and observed that the APP_UART_COMMUNICATION_ERROR event is received. Can you please help in letting me know how can I handle this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The BLE firmware gets stuck when BLE signal crashes.</title><link>https://devzone.nordicsemi.com/thread/229883?ContentTypeID=1</link><pubDate>Mon, 20 Jan 2020 14:16:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3b610b0c-b22f-4169-aaad-31ca21d66794</guid><dc:creator>Meetali Patel</dc:creator><description>&lt;p&gt;Hi Jorgen,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The error code is&amp;nbsp;&lt;span&gt;NRF_ERROR_INVALID_STATE. Sorry for the mistake.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The BLE firmware gets stuck when BLE signal crashes.</title><link>https://devzone.nordicsemi.com/thread/228389?ContentTypeID=1</link><pubDate>Thu, 09 Jan 2020 14:47:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:397e884f-151b-41ba-8c87-a5e1a71bea85</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;&lt;span&gt;NRF_ERROR_RESOURCES is returned by the call to &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v6.0.0/group___b_l_e___g_a_t_t_s___f_u_n_c_t_i_o_n_s.html#ga313fe43c2e93267da668572e885945db"&gt;sd_ble_gatts_hvx&lt;/a&gt;&lt;/span&gt;() in the end of ble_nus_data_send(). The reason for this error is described in the API documentation:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&amp;quot;The number of Handle Value Notifications that can be queued is configured by&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v6.0.0/structble__gatts__conn__cfg__t.html#ae2a1156d8b06a6ccc70696f2372226cc"&gt;ble_gatts_conn_cfg_t::hvn_tx_queue_size&lt;/a&gt;&amp;nbsp;When the queue is full, the function call will return&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v6.0.0/group__nrf__error.html#gac94383171545e604e8347a044e8be13f"&gt;NRF_ERROR_RESOURCES&lt;/a&gt;. A&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v6.0.0/group___b_l_e___g_a_t_t_s___e_n_u_m_e_r_a_t_i_o_n_s.html#ggae537647902af1b05c1e32f12d6b401c7afab96bfa9918017082235f7664919f9d"&gt;BLE_GATTS_EVT_HVN_TX_COMPLETE&lt;/a&gt;&amp;nbsp;event will be issued as soon as the transmission of the notification is complete.&amp;quot;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;I cannot see&amp;nbsp;&lt;span&gt;NRF_ERROR_INVALID_DATA&amp;nbsp;being a valid error code from this function call. Are you sure this is the error you are receiving?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The BLE firmware gets stuck when BLE signal crashes.</title><link>https://devzone.nordicsemi.com/thread/228372?ContentTypeID=1</link><pubDate>Thu, 09 Jan 2020 13:54:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e9adaeac-367d-4cd5-83a6-319329a29f56</guid><dc:creator>Meetali Patel</dc:creator><description>&lt;p&gt;Hi Jorgen,&lt;/p&gt;
&lt;p&gt;The function&amp;nbsp;ble_nus_data_send() returns the error code&amp;nbsp;&lt;span&gt;NRF_ERROR_INVALID_DATA and&amp;nbsp;NRF_ERROR_RESOURCES. It has also been observed that sometimes the application simply gets stuck and no further logs are seen. We are using SDK v15.0.0.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;Thanks &amp;amp; Regards&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Meetali Patel&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The BLE firmware gets stuck when BLE signal crashes.</title><link>https://devzone.nordicsemi.com/thread/228368?ContentTypeID=1</link><pubDate>Thu, 09 Jan 2020 13:37:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c152aecf-af20-4074-8ff5-acc2327d8973</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Which SDK version and example are your application based on? Which function call returned the&amp;nbsp;&lt;span&gt;NRF_ERROR_INVALID_DATA and NRF_ERROR_RESOURCES error codes?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The API documentation in our &lt;a href="https://infocenter.nordicsemi.com/index.jsp"&gt;infocenter&lt;/a&gt; will normally tell you the reason for the error codes. Search up the name of the function that returns the error and check if there are any suggestions.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;br /&gt;Jørgen&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>