<?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>Resume BLE communication after a timeout</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/33329/resume-ble-communication-after-a-timeout</link><description>HI, 
 My application is based on on your example ble_perepherical/ble_app_uart. 
 I realised few modification. 
 Now, after a BLE timeout, the circuit doesn&amp;#39;t sleep anymore. 
 So during the initialisations, I have this instructions. 
 ble_StackInit();</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 16 Apr 2018 12:37:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/33329/resume-ble-communication-after-a-timeout" /><item><title>RE: Resume BLE communication after a timeout</title><link>https://devzone.nordicsemi.com/thread/128476?ContentTypeID=1</link><pubDate>Mon, 16 Apr 2018 12:37:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4e9a903a-242a-43da-8b99-0a99025808c3</guid><dc:creator>catelain</dc:creator><description>&lt;p&gt;hi, thanks for reply.&lt;/p&gt;
&lt;p&gt;I will send my project in private message. (I my project I use generic file for all our target, there are not only Nordic files)&lt;/p&gt;
&lt;p&gt;We meet you at the sido.&lt;/p&gt;
&lt;p&gt;Since I still have not looked at the IDE and RTT wiever&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Guillaume&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Resume BLE communication after a timeout</title><link>https://devzone.nordicsemi.com/thread/128463?ContentTypeID=1</link><pubDate>Mon, 16 Apr 2018 12:17:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:191bd758-3846-4dea-aa52-f89b8f3abc32</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Do you mind sharing your project? We can take the case private if you prefer.&lt;/p&gt;
&lt;p&gt;You might want to look into &lt;a href="https://www.segger.com/products/development-tools/embedded-studio/"&gt;Segger Embedded Studio&lt;/a&gt;. We recently &lt;a href="https://www.nordicsemi.com/eng/News/News-releases/Product-Related-News/Nordic-Semiconductor-adds-Embedded-Studio-IDE-support-for-nRF51-and-nRF52-SoC-development/(language)/eng-GB"&gt;entered an agreement with Segger&lt;/a&gt;&amp;nbsp;which&amp;nbsp;allows developers to freely use SES without any limitations (as long as you use Nordic SoCs). So with SES you can compile your project with level 0 and make debugging easier.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Resume BLE communication after a timeout</title><link>https://devzone.nordicsemi.com/thread/128110?ContentTypeID=1</link><pubDate>Thu, 12 Apr 2018 15:02:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c9323fec-fb86-4b04-941f-cc4c7e093fad</guid><dc:creator>catelain</dc:creator><description>&lt;p&gt;Hi thanks for reply.&lt;/p&gt;
&lt;p&gt;This my callstack&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1523545214394v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I have to keep the optimization at level 3 otherwise I exceed the limit 32 kb&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Resume BLE communication after a timeout</title><link>https://devzone.nordicsemi.com/thread/128054?ContentTypeID=1</link><pubDate>Thu, 12 Apr 2018 12:24:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b7d10a75-d3f2-45c4-9f7d-6701f8cfd0c2</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Have you tried debugging and set a breakpoint at&amp;nbsp;ble_advertising_start(), just to see if your code even reaches that point?&lt;/p&gt;
&lt;p&gt;You should also &lt;em&gt;always&lt;/em&gt; check the return codes of your function calls. In the SDK you can see that it is usually done like this:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;ret = ble_advertising_start(...);
APP_ERROR_CHECK(ret);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Then you debug &lt;a href="https://devzone.nordicsemi.com/question/60125/my-device-is-freezing-and-restarting/"&gt;like this&lt;/a&gt; to check for errors.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>