<?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>nrf52 reboots after BLE advertising completes</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/14969/nrf52-reboots-after-ble-advertising-completes</link><description>Hi,
I&amp;#39;m developing something with NFC / BLE handover - it is currently working fine, NFC tag is read by a phone, nrf52 starts advertising and phone then connects to it over BLE. 
 I just noticed though that if the advertising times out normally with</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 06 Jul 2016 00:09:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/14969/nrf52-reboots-after-ble-advertising-completes" /><item><title>RE: nrf52 reboots after BLE advertising completes</title><link>https://devzone.nordicsemi.com/thread/57122?ContentTypeID=1</link><pubDate>Wed, 06 Jul 2016 00:09:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c001dcc2-3cd0-402f-9916-14500426d6e4</guid><dc:creator>chancanasta</dc:creator><description>&lt;p&gt;Ok - after tracing it through a bit more, slow advertising mode wasn&amp;#39;t enabled, the handler set the current advertising mode to IDLE - then called the custom handler which put the board into sleep mode which called sleep_mode_enter which had sd_power_system_off(); in it
Thanks for the responses - much apprecited&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52 reboots after BLE advertising completes</title><link>https://devzone.nordicsemi.com/thread/57120?ContentTypeID=1</link><pubDate>Tue, 05 Jul 2016 17:21:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c559313c-8c46-48d3-a6ee-6667d9546955</guid><dc:creator>Locky</dc:creator><description>&lt;p&gt;Can you post the code for BLE event handling, as well as where you start advertising?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52 reboots after BLE advertising completes</title><link>https://devzone.nordicsemi.com/thread/57119?ContentTypeID=1</link><pubDate>Tue, 05 Jul 2016 16:55:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ca3bff3-8b16-4054-93fc-23c6abddf486</guid><dc:creator>chancanasta</dc:creator><description>&lt;p&gt;Hi,
thanks for that - but on timeout it just tries to move to slow advertising - also it reboots on a ble disconnect - I suspect something isn&amp;#39;t initialised correctly, but for the life of me can&amp;#39;t find what it is&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52 reboots after BLE advertising completes</title><link>https://devzone.nordicsemi.com/thread/57121?ContentTypeID=1</link><pubDate>Tue, 05 Jul 2016 16:49:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a7596f7b-201c-4f19-89c1-00922d16a37d</guid><dc:creator>Locky</dc:creator><description>&lt;p&gt;Look at the BLE event handler function.  Here there should be a handler for Advertising Timeout events.  I suspect that you should either see a call to reset or system_off.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>