<?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>Using sd_ble_gap_disconnect for Disconnection with different Bluetooth status codes</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/61798/using-sd_ble_gap_disconnect-for-disconnection-with-different-bluetooth-status-codes</link><description>Hey, 
 Is it not possible to use any Bluetooth status codes for disconnection when calling sd_ble_gap_disconnect ? 
 for example this is not working (I do not actually disconnect) 
 
 
 I have noticed that disconnection actually works with 
 BLE_HCI_CONN_INTERVAL_UNACCEPTABLE</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 27 May 2020 08:59:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/61798/using-sd_ble_gap_disconnect-for-disconnection-with-different-bluetooth-status-codes" /><item><title>RE: Using sd_ble_gap_disconnect for Disconnection with different Bluetooth status codes</title><link>https://devzone.nordicsemi.com/thread/251866?ContentTypeID=1</link><pubDate>Wed, 27 May 2020 08:59:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:572867d2-4297-44e8-9d67-27d20bc91285</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;As you can see from the documentation; &lt;br /&gt;The only accepted values are BLE_HCI_REMOTE_USER_TERMINATED_CONNECTION and BLE_HCI_CONN_INTERVAL_UNACCEPTABLE.&lt;/p&gt;
&lt;p&gt;Br, &lt;br /&gt;Joakim&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using sd_ble_gap_disconnect for Disconnection with different Bluetooth status codes</title><link>https://devzone.nordicsemi.com/thread/251615?ContentTypeID=1</link><pubDate>Tue, 26 May 2020 07:53:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cba72235-a822-4195-af57-083652b6c7cf</guid><dc:creator>Ron</dc:creator><description>&lt;p&gt;I see now that according to documentation&lt;/p&gt;
&lt;p&gt;&lt;a title="Functions" href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.s132.api.v3.0.0%2Fgroup___b_l_e___g_a_p___f_u_n_c_t_i_o_n_s.html"&gt;https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.s132.api.v3.0.0%2Fgroup___b_l_e___g_a_p___f_u_n_c_t_i_o_n_s.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;only&amp;nbsp;&lt;span&gt;accepted values are&amp;nbsp;&lt;/span&gt;&lt;a class="el" href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v3.0.0/group___b_l_e___h_c_i___s_t_a_t_u_s___c_o_d_e_s.html#gad4caeb4bcc901a4f1b00068c498a090c"&gt;BLE_HCI_REMOTE_USER_TERMINATED_CONNECTION&lt;/a&gt;&lt;span&gt;&amp;nbsp;and&amp;nbsp;&lt;/span&gt;&lt;a class="el" href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v3.0.0/group___b_l_e___h_c_i___s_t_a_t_u_s___c_o_d_e_s.html#ga2050e416bf56097d8dfd499b268abcad"&gt;BLE_HCI_CONN_INTERVAL_UNACCEPTABLE&lt;/a&gt;&lt;span&gt;).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Is there another way to notify the central to other disconnection reasons?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>