<?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>Auto reconnection fails after disconnect</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/35919/auto-reconnection-fails-after-disconnect</link><description>hello there! I am working on a project in which two devices(one is central and other is peripheral ) uses Nordic bluetooth controller nRF51822 for connection and data exchange. Currently the peripheral device that will connect and pair with one central</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 29 Jun 2018 09:42:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/35919/auto-reconnection-fails-after-disconnect" /><item><title>RE: Auto reconnection fails after disconnect</title><link>https://devzone.nordicsemi.com/thread/138243?ContentTypeID=1</link><pubDate>Fri, 29 Jun 2018 09:42:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8bc7d209-2dd8-45db-a649-ce340fa492b2</guid><dc:creator>Bastien Reynard</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Check this&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/3561/how-to-handle-nrf_error_invalid_state-of-sd_ble_gap_scan_start/12901#12901"&gt;answer&lt;/a&gt;, it might be useful.&lt;/p&gt;
&lt;p&gt;Most probably - when calling sd_ble_gap_scan_start - your central device is busy connecting to a peripheral or a flash operation is ongoing, in which case you&amp;#39;ll have to check the flash operations events&amp;nbsp;in the system event handler.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>