<?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>App timer into endless loop</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/36338/app-timer-into-endless-loop</link><description>Based on the nRF5_SDK_15.0.0_a53641a\examples\ble_peripheral\ble_app_uart\pca10040\s132 sample code, I&amp;#39;ve defined a long button(button 2) and 3 short buttons ( button 1, 3, 4) , 
 then I randomly and quickly pressed the 4 buttons on nRF52 DK, It was easy</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 15 Feb 2019 11:53:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/36338/app-timer-into-endless-loop" /><item><title>RE: App timer into endless loop</title><link>https://devzone.nordicsemi.com/thread/171357?ContentTypeID=1</link><pubDate>Fri, 15 Feb 2019 11:53:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d03e1a66-ab1f-4846-a060-0b736b9091e1</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;Please create a new ticket where you explain your problem in details, this ticket is 7 months old.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: App timer into endless loop</title><link>https://devzone.nordicsemi.com/thread/171273?ContentTypeID=1</link><pubDate>Fri, 15 Feb 2019 05:15:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c6abbd5-cc0e-4398-9d92-83904f0ec67c</guid><dc:creator>??</dc:creator><description>&lt;p&gt;&lt;span&gt;Hello, I have also encountered such a problem now. Have you solved it?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: App timer into endless loop</title><link>https://devzone.nordicsemi.com/thread/140572?ContentTypeID=1</link><pubDate>Wed, 18 Jul 2018 19:17:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:48c617e7-c5aa-45b0-a911-7f5b179c1c45</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Hi Devin,&lt;/p&gt;
&lt;p&gt;I am sorry for the late reply, I am on my vacation as many others in Norway. I would be back after 2 weeks, and if you wish, I can assign this case to someone else, but the response will still be limited as very few are working in Norway due to vacation times.&lt;/p&gt;
&lt;p&gt;Sorry very the inconvenience.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: App timer into endless loop</title><link>https://devzone.nordicsemi.com/thread/140028?ContentTypeID=1</link><pubDate>Fri, 13 Jul 2018 08:56:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:180df432-465e-477e-bd1e-37fa5e81e03e</guid><dc:creator>Devin Li</dc:creator><description>&lt;p&gt;Hi Aryan,&lt;/p&gt;
&lt;p&gt;Thank you for your reply.&lt;/p&gt;
&lt;p&gt;This software does not modify a lot, just added a long button function in code, and then print the key log through JLINK RTT.&lt;/p&gt;
&lt;p&gt;With the code in the attachment, it&amp;#39;s easy to reproduce this issue.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/ble_5F00_app_5F00_uart_5F00_btn_5F00_test.zip"&gt;devzone.nordicsemi.com/.../ble_5F00_app_5F00_uart_5F00_btn_5F00_test.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Please place the test project under&amp;nbsp;&lt;span style="background-color:transparent;color:#11171a;float:none;font-family:&amp;#39;GT Eesti&amp;#39;,&amp;#39;Helvetica&amp;#39;,Arial,sans-serif;font-size:14px;font-style:normal;font-weight:400;letter-spacing:normal;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:normal;"&gt;nRF5_SDK_15.0.0_a53641a\examples\ble_peripheral&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:transparent;color:#11171a;float:none;font-family:&amp;#39;GT Eesti&amp;#39;,&amp;#39;Helvetica&amp;#39;,Arial,sans-serif;font-size:14px;font-style:normal;font-weight:400;letter-spacing:normal;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:normal;"&gt;and add BSP_EVENT_KEY_LONG_1 to bsp_event_t in the bsp.h file.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:transparent;color:#11171a;float:none;font-family:&amp;#39;GT Eesti&amp;#39;,&amp;#39;Helvetica&amp;#39;,Arial,sans-serif;font-size:14px;font-style:normal;font-weight:400;letter-spacing:normal;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:normal;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:transparent;color:#11171a;float:none;font-family:&amp;#39;GT Eesti&amp;#39;,&amp;#39;Helvetica&amp;#39;,Arial,sans-serif;font-size:14px;font-style:normal;font-weight:400;letter-spacing:normal;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:normal;"&gt;Best regards,&lt;br /&gt;Devin&lt;/span&gt;&lt;span style="background-color:transparent;color:#11171a;float:none;font-family:&amp;#39;GT Eesti&amp;#39;,&amp;#39;Helvetica&amp;#39;,Arial,sans-serif;font-size:14px;font-style:normal;font-weight:400;letter-spacing:normal;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:normal;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:transparent;color:#11171a;float:none;font-family:&amp;#39;GT Eesti&amp;#39;,&amp;#39;Helvetica&amp;#39;,Arial,sans-serif;font-size:14px;font-style:normal;font-weight:400;letter-spacing:normal;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:normal;"&gt;&lt;span style="color:#b00000;font-family:Verdana,Arial,Helvetica,sans-serif;font-size:small;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#007600;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: App timer into endless loop</title><link>https://devzone.nordicsemi.com/thread/139998?ContentTypeID=1</link><pubDate>Fri, 13 Jul 2018 05:50:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da07c459-4742-4814-b1f1-0f25b01b6c9e</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;This could happen if you are trying to remove a timer that is already being removed. In that case the removed linked list stack memory is given back to the stack and could have been filled with some other value. And this value is not an element in linked list, making the while loop go crazy and loop for ever. I am not sure what&amp;nbsp; other changes you made,&amp;nbsp;so hard to say.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>