<?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 a peripheral?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/4025/how-to-disconnect-a-peripheral</link><description>Hi,
in, for example, the multilink example app, central role.
I would like to disconnect a peripheral role device once a notification has been received...
... is it correct to just call sd_ble_gap_disconnect on the m_client[].srv_db.conn_handle and</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 09 Oct 2014 06:41:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/4025/how-to-disconnect-a-peripheral" /><item><title>RE: how to disconnect a peripheral?</title><link>https://devzone.nordicsemi.com/thread/14432?ContentTypeID=1</link><pubDate>Thu, 09 Oct 2014 06:41:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c064c93-a380-407f-8807-98b541a8249a</guid><dc:creator>Lionel Sacks</dc:creator><description>&lt;p&gt;Thanks! All working nicely.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to disconnect a peripheral?</title><link>https://devzone.nordicsemi.com/thread/14433?ContentTypeID=1</link><pubDate>Wed, 08 Oct 2014 14:45:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c74b780-9c35-4c2b-99fa-0749d2a4a301</guid><dc:creator>Asbj&amp;#248;rn</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/documentation/nrf51/6.1.0/s120/html/a00543.html#ga4031d0e4034c6f5900ad6d35b763fb0d"&gt;Yes, the sd_ble_gap_disconnect would be the correct function to call and use to terminate the connection with a certain peripheral.&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>