<?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>sd_ble_gap_disconnect return 3002 error.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/79160/sd_ble_gap_disconnect-return-3002-error</link><description>Hello, all. 
 I&amp;#39;m using nRF52833, pca10100. 
 
 I want to disconnect BLE manually when I press button. (my own device&amp;#39;s touch pad) 
 My project is modified reffering to Multi-link Central example. 
 
 So this is my code, 
 
 
 but why 3002 error return</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 02 Sep 2021 00:04:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/79160/sd_ble_gap_disconnect-return-3002-error" /><item><title>RE: sd_ble_gap_disconnect return 3002 error.</title><link>https://devzone.nordicsemi.com/thread/327681?ContentTypeID=1</link><pubDate>Thu, 02 Sep 2021 00:04:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b9dca136-8fdb-4cd6-bbec-8b062269bb35</guid><dc:creator>lyrics</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote userid="4240" url="~/f/nordic-q-a/79160/sd_ble_gap_disconnect-return-3002-error/327595#327595"]Is there a chance that sd_ble_gap_disconnect() gets called multiple times (or from multiple places) for the connection handle that you are trying to terminate?[/quote]
&lt;p&gt;Oh,&amp;nbsp;&lt;span&gt;I was calling disconnect several times. I didn&amp;#39;t check this.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you, I solve the problem!&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: sd_ble_gap_disconnect return 3002 error.</title><link>https://devzone.nordicsemi.com/thread/327595?ContentTypeID=1</link><pubDate>Wed, 01 Sep 2021 12:00:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7275de1a-e6a3-495b-b086-e0e8de72075a</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Is there a chance that sd_ble_gap_disconnect() gets called multiple times (or from multiple places) for the connection handle that you are trying to terminate? The error code 0x3002 corersponds to BLE_ERROR_INVALID_CONN_HANDLE.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>