<?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>nrf52832 after establishing Bluetooth connection  getting disconnected  and showing paired</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/54429/nrf52832-after-establishing-bluetooth-connection-getting-disconnected-and-showing-paired</link><description>hello, 
 i am using nrf52832 and sdk 15.3, we are building our project in ble_mouse example, after our device is connected to PC it directly getting disconnected and showing paired in PC, because of this we are not able to send any data to the PC through</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 20 Nov 2019 06:35:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/54429/nrf52832-after-establishing-bluetooth-connection-getting-disconnected-and-showing-paired" /><item><title>RE: nrf52832 after establishing Bluetooth connection  getting disconnected  and showing paired</title><link>https://devzone.nordicsemi.com/thread/220967?ContentTypeID=1</link><pubDate>Wed, 20 Nov 2019 06:35:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c55aa144-3748-4b9a-b3ac-d8780d14dc8a</guid><dc:creator>Yadhu KP</dc:creator><description>&lt;p&gt;one of our peripheral is interfaced with nrf52 using gpiote event and that is getting triggered very fastly, thats when this disconnection occur.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;static void gpiote_evt_handler(nrf_drv_gpiote_pin_t pin, nrf_gpiote_polarity_t action)//STATIC&lt;br /&gt;{ &lt;br /&gt;&amp;nbsp; &amp;nbsp;if(count&amp;gt;3)&lt;br /&gt;&amp;nbsp; &amp;nbsp; {&lt;br /&gt;&amp;nbsp; &amp;nbsp; icmlib_data_handler1();&lt;br /&gt;&amp;nbsp; &amp;nbsp; count=0;&lt;br /&gt;&amp;nbsp; &amp;nbsp; }&lt;br /&gt;&amp;nbsp; &amp;nbsp;count++;&lt;br /&gt;}&lt;/p&gt;
&lt;p&gt;when i put this icmlib_data_handler directly inside gpiote_evt_handler it shows disconnection after connecting the device in pc, but when we insert&amp;nbsp; a if condition, like after triggering gpiote for 3 time then count reach 3 then it enter the&amp;nbsp; icmlib_data_handler, that time the disconnection not occuring, so what may be the reason. icmlib_data_handler handles core function of our project&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;we are building our project in ble mouse hid example&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52832 after establishing Bluetooth connection  getting disconnected  and showing paired</title><link>https://devzone.nordicsemi.com/thread/220523?ContentTypeID=1</link><pubDate>Mon, 18 Nov 2019 10:17:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f09afd37-b93f-4fb1-8e36-f63043f9a994</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Hi.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Have you tried debugging the example to find you why you are getting disconnected?&lt;/p&gt;
&lt;p&gt;Are you using the example in the nRF5 SDK without changes, or have you made any modifications to the example?&lt;/p&gt;
&lt;p&gt;Best regards,&amp;nbsp;&lt;br /&gt;Joakim&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>