<?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>My code keeps crashing.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/4536/my-code-keeps-crashing</link><description>I used the ble_app_lbs example as a template, with a PCA10003 eval board (nrf51422 chip). SD 110, Nordic SDK V6.1. Keil uVision 5. 
 I launch my application and my board starts advertising. I can see my board in the Nordic&amp;#39;s Master Control panel, and</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 21 Nov 2014 16:54:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/4536/my-code-keeps-crashing" /><item><title>RE: My code keeps crashing.</title><link>https://devzone.nordicsemi.com/thread/16079?ContentTypeID=1</link><pubDate>Fri, 21 Nov 2014 16:54:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1875356a-4d86-42b7-bb8c-6dd6e7f052a7</guid><dc:creator>c cook</dc:creator><description>&lt;p&gt;Chwi and Stian my board is timing out.  Thanks for pointing mein the right direction.  The timeout was generating a BLE_GAP_BLE_GAP_EVT_TIMEOUT.  The code for this event was putting the board in a low power mode, with a button assigned to wake the board up.&lt;/p&gt;
&lt;p&gt;Thanks,
Clint&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: My code keeps crashing.</title><link>https://devzone.nordicsemi.com/thread/16078?ContentTypeID=1</link><pubDate>Fri, 21 Nov 2014 15:37:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1dd9e4c5-d5e9-4246-8b83-f9674d627bbf</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;When you call &lt;code&gt;sd_ble_gap_adv_start(&amp;amp;adv_params)&lt;/code&gt; in the &lt;code&gt;advertising_start()&lt;/code&gt; function. Is the &lt;code&gt;adv_params.timeout&lt;/code&gt; set to 0 so it doesn&amp;#39;t timeout?&lt;/p&gt;
&lt;p&gt;Are you able to set a break point in &lt;code&gt;app_error_handler()&lt;/code&gt; at the &lt;code&gt;ble_debug_assert_handler()&lt;/code&gt; ? Maybe it returns some useful information&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: My code keeps crashing.</title><link>https://devzone.nordicsemi.com/thread/16077?ContentTypeID=1</link><pubDate>Thu, 20 Nov 2014 22:01:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d77690d-e988-4549-9673-68100c7149ee</guid><dc:creator>wlgrd</dc:creator><description>&lt;p&gt;So you have changed the &lt;code&gt;#define APP_ADV_TIMEOUT_IN_SECONDS 180&lt;/code&gt; in the example?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>