<?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>handling BLE disconnect/reconnect in C# app</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/653/handling-ble-disconnect-reconnect-in-c-app</link><description>Hi,
I have a C# app connecting to 51822 devices, doing data/firmware download. When I try to send erase page command (before write), erase works, but there is a disconnect; Why?
Also, why can&amp;#39;t the central and peripheral stay connected reliably during</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 15 Oct 2013 05:55:30 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/653/handling-ble-disconnect-reconnect-in-c-app" /><item><title>RE: handling BLE disconnect/reconnect in C# app</title><link>https://devzone.nordicsemi.com/thread/3317?ContentTypeID=1</link><pubDate>Tue, 15 Oct 2013 05:55:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4cce56a8-6c85-49b2-9ad3-8d623f030df1</guid><dc:creator>Mahendra Tailor</dc:creator><description>&lt;p&gt;Hi
Looks like you are hitting the issue of the CPU being stalled while there is flash write or erase. This means radio events are not serviced and so my guess is that the hopping sequence is out of sync and so the connection cannot be maintained.
Flash write is not so much of an issue as it is less than 100us. However each flash sector erase can take 21ms. Remember the minimum connection interval can be 7.5m, nearly 3 times less than the flash erase time.&lt;/p&gt;
&lt;p&gt;A workaround would be to set a connection interval of double that.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>