<?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 to disconnect from central device on the peripheral side?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/5430/how-to-disconnect-from-central-device-on-the-peripheral-side</link><description>hi, I have a question as the title.Is that api sd_ble_gap_connect_cancel? thank you.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 04 Feb 2015 14:07:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/5430/how-to-disconnect-from-central-device-on-the-peripheral-side" /><item><title>RE: how to disconnect from central device on the peripheral side?</title><link>https://devzone.nordicsemi.com/thread/18941?ContentTypeID=1</link><pubDate>Wed, 04 Feb 2015 14:07:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d7876538-a8a9-4166-b95e-49a9ad3917e9</guid><dc:creator>John</dc:creator><description>&lt;p&gt;If you are looking to disconnect from a established connection, I believe you want to use something like this: err_code = sd_ble_gap_disconnect(get_conn_handle(),BLE_HCI_REMOTE_USER_TERMINATED_CONNECTION);&lt;/p&gt;
&lt;p&gt;The sd_ble_gap_connect_cancel appears to me to be for canceling an ongoing connection attempt that hasn&amp;#39;t yet established a connection.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>