<?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>Advertising and disconnection issues after porting</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/35006/advertising-and-disconnection-issues-after-porting</link><description>Hi, 
 
 I have recently ported from SDK12 to SDK14.2. We have a custom android app which connects to nRF52832. The correct sequence of events in BLE should be 
 - Fast advertisement 
 - Slow Advertisement(if not connected for 2 mins) 
 - Connection 
</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 04 Jun 2018 14:37:00 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/35006/advertising-and-disconnection-issues-after-porting" /><item><title>RE: Advertising and disconnection issues after porting</title><link>https://devzone.nordicsemi.com/thread/134598?ContentTypeID=1</link><pubDate>Mon, 04 Jun 2018 14:37:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:faf1da69-d1a7-427b-ae3d-38ab718e3379</guid><dc:creator>arai</dc:creator><description>&lt;p&gt;ok I will try this and let you know. Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advertising and disconnection issues after porting</title><link>https://devzone.nordicsemi.com/thread/134487?ContentTypeID=1</link><pubDate>Mon, 04 Jun 2018 08:59:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:62ea4a9f-1010-4ed5-9348-1bf9098e79a2</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I would be surprised if it starts advertising before it has disconnected if your application is similar to the SDK example (though it would be possible). Do you see the order of events from the central device, a sniffer or the nRF? If not from the nRF, can you enable logging on the nRF side and log the BLE events there? What is the disconnect reason seen from the nRF?&lt;/p&gt;
&lt;p&gt;What is the state of the nRF when you write that the system hangs? Can you check with a debugger? Enabling logging could be useful to understand this as well.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>