<?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>HOW CAN I VOLUNTARILY DISCONNECT BLE DEVICES.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/416/how-can-i-voluntarily-disconnect-ble-devices</link><description>Dear all:
When the PC1001 board connected with other BLE devices, how i can voluntarily disconnect them? 
it seems that the use of the sd_ble_gap_disconnect function has some errors with invalid params . what should i do ? attach my use:
err_code </description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sun, 28 Mar 2021 20:10:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/416/how-can-i-voluntarily-disconnect-ble-devices" /><item><title>RE: HOW CAN I VOLUNTARILY DISCONNECT BLE DEVICES.</title><link>https://devzone.nordicsemi.com/thread/302262?ContentTypeID=1</link><pubDate>Sun, 28 Mar 2021 20:10:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c4c27fc6-8367-46a8-9c51-dc2922a65426</guid><dc:creator>RandomUser</dc:creator><description>&lt;p&gt;That seems to be&amp;nbsp;BT_HCI_ERR_REMOTE_USER_TERM_CONN now.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HOW CAN I VOLUNTARILY DISCONNECT BLE DEVICES.</title><link>https://devzone.nordicsemi.com/thread/2153?ContentTypeID=1</link><pubDate>Thu, 05 Sep 2013 08:56:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:105ea75b-abbc-4ec2-aa07-e7e24a0db0b2</guid><dc:creator>Adavid</dc:creator><description>&lt;p&gt;thanks for your help, it&amp;#39;s OK  now&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HOW CAN I VOLUNTARILY DISCONNECT BLE DEVICES.</title><link>https://devzone.nordicsemi.com/thread/2152?ContentTypeID=1</link><pubDate>Thu, 05 Sep 2013 07:51:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:18888c96-689a-4e21-a364-e10a5753284b</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;There are only two allowed disconnect reasons, BLE_HCI_REMOTE_USER_TERMINATED_CONNECTION and BLE_HCI_CONN_INTERVAL_UNACCEPTABLE, of which the latter should only be used if the connection intervals are in fact unacceptable to your application.&lt;/p&gt;
&lt;p&gt;Most often the BLE_HCI_REMOTE_USER_TERMINATED_CONNECTION code is therefore the one that should be used.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve requested the documentation on this to be improved in future versions.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>