<?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>In standard sdk 17.0.2 is it possible to know which devices did i accidently disconnect?(Interactive command s140) nrf52840</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/77730/in-standard-sdk-17-0-2-is-it-possible-to-know-which-devices-did-i-accidently-disconnect-interactive-command-s140-nrf52840</link><description>In standard sdk 17.0.2 is it possible to know which devices did i accidently disconnect?(Interactive command s140) 
 
 for example 
 
 my central is the interactive command app 
 
 and the 
 Peripheral 
 has N for example lots of light switch 
 and one</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 26 Jul 2021 01:48:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/77730/in-standard-sdk-17-0-2-is-it-possible-to-know-which-devices-did-i-accidently-disconnect-interactive-command-s140-nrf52840" /><item><title>RE: In standard sdk 17.0.2 is it possible to know which devices did i accidently disconnect?(Interactive command s140) nrf52840</title><link>https://devzone.nordicsemi.com/thread/321665?ContentTypeID=1</link><pubDate>Mon, 26 Jul 2021 01:48:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8575d875-a59d-429d-9cce-cac8589326f2</guid><dc:creator>yu1998</dc:creator><description>&lt;p&gt;nah I just call the connected_devices func to check&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: In standard sdk 17.0.2 is it possible to know which devices did i accidently disconnect?(Interactive command s140) nrf52840</title><link>https://devzone.nordicsemi.com/thread/321384?ContentTypeID=1</link><pubDate>Thu, 22 Jul 2021 13:46:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ad6d429-c49c-455a-ab4d-0e7621123434</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Yes, if you have the connection handles of the connected devices, you can then find out which one was disconnected (by accident) by finding which one was missing. Our &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/ble_sdk_app_multilink.html"&gt;ble_app_multilink_central &lt;/a&gt;example project in the SDK has an example of how this can be done. See the BLE_GAP_EVT_DISCONNECTED event in that example for details. You can also check out&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/27371/how-to-map-a-gap-event-to-a-physical-device"&gt; this case&lt;/a&gt; where this has been discussed before.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: In standard sdk 17.0.2 is it possible to know which devices did i accidently disconnect?(Interactive command s140) nrf52840</title><link>https://devzone.nordicsemi.com/thread/321215?ContentTypeID=1</link><pubDate>Thu, 22 Jul 2021 02:00:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:792ff1a8-1ff8-426c-b7f5-5be5f7656ee8</guid><dc:creator>yu1998</dc:creator><description>[quote userid="99836" url="~/f/nordic-q-a/77730/in-standard-sdk-17-0-2-is-it-possible-to-know-which-devices-did-i-accidently-disconnect-interactive-command-s140-nrf52840"]&lt;p&gt;&lt;span&gt;one of those light switches accidentally disconnected (maybe crashes or smth)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;so how can I know which light switch is disconnected&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;as in mac address&lt;/span&gt;&lt;/p&gt;[/quote]
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/simonr"&gt;Simonr&lt;/a&gt; i mention here&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: In standard sdk 17.0.2 is it possible to know which devices did i accidently disconnect?(Interactive command s140) nrf52840</title><link>https://devzone.nordicsemi.com/thread/321214?ContentTypeID=1</link><pubDate>Thu, 22 Jul 2021 01:59:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d3a0f4be-331d-4056-8b0c-6846607aeb5c</guid><dc:creator>yu1998</dc:creator><description>&lt;p&gt;no i mean&amp;nbsp;&lt;span&gt;accidentally disconnected how can i know which device accidently disconnected as mac address . not by the user drop the device on interactive command&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: In standard sdk 17.0.2 is it possible to know which devices did i accidently disconnect?(Interactive command s140) nrf52840</title><link>https://devzone.nordicsemi.com/thread/321135?ContentTypeID=1</link><pubDate>Wed, 21 Jul 2021 13:06:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7910a4ca-123e-4857-89e2-26a613747be7</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;You should be able to use the connection handle to know what device was connected, and you should be able to detect when it&amp;#39;s disconnected. The Connection handle is a unique identifier for everything on one connection. Once you ask the GAP layer to initiate connection you&amp;#39;ll get the connection handle with MAC address, device name, etc.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>