<?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 node resets on connection negotiation timer timeout</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/65531/the-node-resets-on-connection-negotiation-timer-timeout</link><description>We are using the following. 
 Module: BM833 (nRF52833) from Fanstel 
 Softdevice: S140 7.0.0 
 SDK: nRF5SDK17009d13099 
 Sample code: nRF5_SDK_17009\examples\ble_peripheral\ble_app_uart 
 The parameters we use are as below. 
 #define APP_ADV_INTERVAL</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 07 Sep 2020 07:07:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/65531/the-node-resets-on-connection-negotiation-timer-timeout" /><item><title>RE: The node resets on connection negotiation timer timeout</title><link>https://devzone.nordicsemi.com/thread/268194?ContentTypeID=1</link><pubDate>Mon, 07 Sep 2020 07:07:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b4e0cc7b-1add-484d-9af7-04a5fc7bad68</guid><dc:creator>Karl Ylvisaker</dc:creator><description>[quote user="hardikp"]The reset issue occurrence frequency very low. We hardly get it 2 3 times per day. We will put the system in debug mode and will share the result.[/quote]
&lt;p&gt;It will be much easier to investigate the cause when we see the logs for the occurrence with debug enabled. Great!&lt;br /&gt;It seems strange that you only see this 2-3 times a day, if it indeed is a disconnect due to connection parameter negotiation mismatch.&lt;/p&gt;
[quote user="hardikp"]We are using the nRF52840 module on the central side and similar ble_app_uart_c example code. So it should support the minimum and maximum connection intervals as mentioned above.&amp;nbsp;[/quote]
&lt;p&gt;Could you verify for me whether you are using an unmodified ble_app_uart_c example on your central side?&lt;br /&gt;Could you also share with me the exact MIN_ and MAX_ connection interval specified for your central?&lt;br /&gt;The default supported connection interval for the ble_app_uart_c is 7.5 - 30 ms ( which has some overlap with your peripheral device ).&lt;br /&gt;Is your central connected to multiple peripheral devices at the same time?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The node resets on connection negotiation timer timeout</title><link>https://devzone.nordicsemi.com/thread/268181?ContentTypeID=1</link><pubDate>Mon, 07 Sep 2020 06:46:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:71e83eee-ae3e-4b38-90d3-912565c2bae8</guid><dc:creator>hardikp</dc:creator><description>[quote userid="87869" url="~/f/nordic-q-a/65531/the-node-resets-on-connection-negotiation-timer-timeout/267825"]Which function is returning the error?[/quote]
&lt;p&gt;The reset issue occurrence frequency very low. We hardly get it 2 3 times per day. We will put the system in debug mode and will share the result.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote userid="87869" url="~/f/nordic-q-a/65531/the-node-resets-on-connection-negotiation-timer-timeout/267825"]do you know what interval your central supports?[/quote]
&lt;p&gt;We are using the nRF52840 module on the central side and similar ble_app_uart_c example code. So it should support the minimum and maximum connection intervals as mentioned above.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The node resets on connection negotiation timer timeout</title><link>https://devzone.nordicsemi.com/thread/267825?ContentTypeID=1</link><pubDate>Thu, 03 Sep 2020 12:01:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:017a91ca-a2d4-4e39-a308-7c60eaf7c2d5</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;&lt;br /&gt;As @Awneil says, it would be helpful if you could narrow down the problem, perhaps with the logs of your application or central side.&lt;/p&gt;
[quote user=""]it throws the invalid state error (0x08) and causes the software reset.[/quote]
&lt;p&gt;Which function is returning the error?&lt;br /&gt;If you define DEBUG in your preprocessor defines, as shown in the included image, then you may see the exact error generated, if an error is passed to APP_ERROR_CHECK.&lt;br /&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-0a646c17684e495cad097c527c4d9106/enabling_5F00_debug_5F00_SES.PNG" /&gt;&lt;/p&gt;
[quote user=""]Is it ok to increase the&amp;nbsp;&lt;span&gt;FIRST_CONN_PARAMS_UPDATE_DELAY&amp;nbsp; from 5 seconds to 8 seconds?&lt;/span&gt;[/quote]
&lt;p&gt;Yes. The&amp;nbsp;&lt;span&gt;FIRST_CONN_PARAMS_UPDATE_DELAY&amp;nbsp;&amp;nbsp;determines how long the peripheral will wait before initiating an update of the connection parameters, if the connection parameters of the central is outside of the specified peripheral&amp;#39;s parameters. You are currently using MIN_ 20, MAX_ 60, do you know what interval your central supports?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The node resets on connection negotiation timer timeout</title><link>https://devzone.nordicsemi.com/thread/267798?ContentTypeID=1</link><pubDate>Thu, 03 Sep 2020 10:41:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:41305baa-d5f4-4c3d-88b3-11c596f7077a</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;Have you tried adding some debug logs and/or using the debugger to see exactly what is happening?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>