<?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>System Reset  warning</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/38649/system-reset-warning</link><description>Dear Sir, 
 I am working on nrf52832.softdevice S132. SDK15. 
 I am getting the following messages when I try to connect to the peripheral using nRFConnect. 
 The error is coming during sometime in the first 30 second, where I do a connect and an immediate</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 26 Sep 2018 13:53:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/38649/system-reset-warning" /><item><title>RE: System Reset  warning</title><link>https://devzone.nordicsemi.com/thread/150507?ContentTypeID=1</link><pubDate>Wed, 26 Sep 2018 13:53:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:312e0bc5-c171-41b0-846a-3c7f87e0d087</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;A couple of processes is initiated once a connect event is issued. One of them is the update of connection parameters. Disconnecting too quick can therefore cause an error to be thrown. You can try stopping the connection parameter module with ble_conn_params_stop() before you disconnect. I would advise you to continue with using a delay if the error persists.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: System Reset  warning</title><link>https://devzone.nordicsemi.com/thread/149977?ContentTypeID=1</link><pubDate>Mon, 24 Sep 2018 09:34:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:522c8f20-7fe9-4383-a7a5-f4a4c36875ae</guid><dc:creator>GK</dc:creator><description>&lt;p&gt;Hi Jared,&lt;/p&gt;
&lt;p&gt;Thank you very much for your co-operation and time.&lt;/p&gt;
&lt;p&gt;Please find the zip file.&lt;/p&gt;
&lt;p&gt;Line number 961 (nrf_delay_ms(250);)is commented now.&lt;/p&gt;
&lt;p&gt;With this line commented I am getting GATT ERROR 133 on nRFConnect App.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;To solve this I added the delay of 250ms( to make this, please un-comment the line on line number 961).&lt;/p&gt;
&lt;p&gt;With this change the GATT ERROR is not coming ( but it comes very rarely), But the system resets sometimes.&lt;/p&gt;
&lt;p&gt;Please have a look in to the code and share your comments.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;with regards,&lt;/p&gt;
&lt;p&gt;Geetha&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/Sieva_5F00_prod1_5F00_wologs.zip"&gt;devzone.nordicsemi.com/.../Sieva_5F00_prod1_5F00_wologs.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: System Reset  warning</title><link>https://devzone.nordicsemi.com/thread/149957?ContentTypeID=1</link><pubDate>Mon, 24 Sep 2018 08:36:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:59558851-07e9-4ee8-95e5-dcfbf6704267</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Good that you have provided the logs, i will inspect them. Could you also share your entire project with your config file?&lt;/p&gt;
&lt;p&gt;Cheers&lt;/p&gt;
&lt;p&gt;Jared&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: System Reset  warning</title><link>https://devzone.nordicsemi.com/thread/149799?ContentTypeID=1</link><pubDate>Fri, 21 Sep 2018 10:30:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3dc716af-a7cf-43b4-84de-87ce33234c20</guid><dc:creator>GK</dc:creator><description>&lt;p&gt;HI Jared,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I am new this nrf sniffer . So I have taken the log 3-4 times.&lt;/p&gt;
&lt;p&gt;I am attaching&amp;nbsp; all the 4 logs here.&lt;/p&gt;
&lt;p&gt;If you want to be selective on any of the parameters, i can do that.&lt;/p&gt;
&lt;p&gt;But please instruct me on how to do that.&lt;/p&gt;
&lt;p&gt;Please find the attached logs.&lt;/p&gt;
&lt;p&gt;Please let me know if you could get something from the log regarding GAT ERROR 133.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/log3.pcapng"&gt;devzone.nordicsemi.com/.../log3.pcapng&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/log4.pcapng"&gt;devzone.nordicsemi.com/.../log4.pcapng&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/5810.log2.pcapng"&gt;devzone.nordicsemi.com/.../5810.log2.pcapng&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Please help in analysing the logs and finding the issue.&lt;/p&gt;
&lt;p&gt;Thanking you in advance.&lt;/p&gt;
&lt;p&gt;with regards,&lt;/p&gt;
&lt;p&gt;Geetha&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: System Reset  warning</title><link>https://devzone.nordicsemi.com/thread/149726?ContentTypeID=1</link><pubDate>Fri, 21 Sep 2018 04:45:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:871184c7-3125-4125-8a02-13d0ebcbdf7d</guid><dc:creator>GK</dc:creator><description>&lt;p&gt;Hi Jared,&lt;/p&gt;
&lt;p&gt;I was trying to get&amp;nbsp; a sniffer log from long time back. I was facing issues with wireshark.&lt;/p&gt;
&lt;p&gt;I have made a query in the following thread for that&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/38641/wireshark-is-not-listing-the-interface-toolbars/149467#149467"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/38641/wireshark-is-not-listing-the-interface-toolbars/149467#149467&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I am trying with wireshark 2.4.2 now(as you suggested).&lt;/p&gt;
&lt;p&gt;The nrf sniffer I used is&amp;nbsp; from the following link&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.nordicsemi.com/eng/nordic/Products/nRF-Sniffer/nRF-Sniffer-v2/65225"&gt;https://www.nordicsemi.com/eng/nordic/Products/nRF-Sniffer/nRF-Sniffer-v2/65225&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;quot;nrf_sniffer_2.0.0-beta-1_51296aa&amp;quot;. Is it the correct one to use?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;And I am using Windows10 .&lt;/p&gt;
&lt;p&gt;Please share your comments.&lt;/p&gt;
&lt;p&gt;with regards,&lt;/p&gt;
&lt;p&gt;Geetha&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: System Reset  warning</title><link>https://devzone.nordicsemi.com/thread/149470?ContentTypeID=1</link><pubDate>Wed, 19 Sep 2018 13:38:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4a4c79b4-25b6-4edd-9ac6-0addf3d5af06</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I saw your other question &lt;a href="https://devzone.nordicsemi.com/support-private/support/213971"&gt;here&lt;/a&gt;, which seems related to this one.&amp;nbsp;&lt;span&gt;Could you provide me with a sniffer log of the event?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Jared&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: System Reset  warning</title><link>https://devzone.nordicsemi.com/thread/149336?ContentTypeID=1</link><pubDate>Wed, 19 Sep 2018 05:14:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:31114f33-f183-42b8-af7a-b0b014faaaee</guid><dc:creator>GK</dc:creator><description>&lt;p&gt;Hi Jared,&lt;/p&gt;
&lt;p&gt;Thank you for your suggestion.&lt;/p&gt;
&lt;p&gt;I have done it and I got the following report.&lt;/p&gt;
&lt;p&gt;&lt;img alt="Error captured in debug mode" src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/1205.error.png" /&gt;&lt;/p&gt;
&lt;p&gt;It comes from&amp;nbsp; timer related APIs.&lt;/p&gt;
&lt;p&gt;I could not figure it out&amp;nbsp; where to look to solve this issue.&lt;/p&gt;
&lt;p&gt;It comes from&amp;nbsp;sd_ble_gap_conn_param_update(). THE ERROR CODE IS&amp;nbsp; 08&amp;nbsp; which corresponds&lt;/p&gt;
&lt;p&gt;to&amp;nbsp;NRF_ERROR_INVALID_STATE.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Is there anything to do with the connection timeout/interval etc?&lt;/p&gt;
&lt;p&gt;My code has the following info&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;
#define MIN_CONN_INTERVAL               MSEC_TO_UNITS(500, UNIT_1_25_MS)        /**&amp;lt; Minimum acceptable connection interval (0.5 seconds). */
#define MAX_CONN_INTERVAL               MSEC_TO_UNITS(1000, UNIT_1_25_MS)       /**&amp;lt; Maximum acceptable connection interval (1 second). */
#define SLAVE_LATENCY                   0                                       /**&amp;lt; Slave latency. */
#define CONN_SUP_TIMEOUT                MSEC_TO_UNITS(4000, UNIT_10_MS)         /**&amp;lt; Connection supervisory timeout (4 seconds). */
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Is it something we get in return from the App.?&lt;/p&gt;
&lt;p&gt;Will you be able to help?&lt;/p&gt;
&lt;p&gt;Is it happening due to the immediate call of &amp;quot;sd_ble_gap_disconnect()&amp;quot;&amp;nbsp; from &amp;#39;populate()&amp;#39; function?&lt;/p&gt;
&lt;p&gt;Should I provide some delay before calling&amp;nbsp; &amp;quot;sd_ble_gap_disconnect&amp;quot;?&lt;/p&gt;
&lt;p&gt;with regards,&lt;/p&gt;
&lt;p&gt;Geetha&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: System Reset  warning</title><link>https://devzone.nordicsemi.com/thread/149269?ContentTypeID=1</link><pubDate>Tue, 18 Sep 2018 14:11:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:47ada6ad-4b40-4e5e-abbe-80beb06fc2fe</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;The program resets because an error is thrown. You should set the build configuration to Debug mode to prevent it from resetting after the error handler is called so you can analyze the reason that causes the error. I recommend that you watch our series on debugging with SEGGER embedded studio:&amp;nbsp;&lt;a href="https://www.youtube.com/watch?v=uP8RYgYGRvI"&gt;https://www.youtube.com/watch?v=uP8RYgYGRvI&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Cheers&lt;/p&gt;
&lt;p&gt;Jared&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>