<?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 know an event from center or pherapheral in s130?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/13947/how-to-know-an-event-from-center-or-pherapheral-in-s130</link><description>Hi, 
 For example: In scan and connected as peripheral at same time. When disconnect event happen, how do I know who is the trigger, the center or peripheral? 
 Thanks.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 20 May 2016 00:56:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/13947/how-to-know-an-event-from-center-or-pherapheral-in-s130" /><item><title>RE: How to know an event from center or pherapheral in s130?</title><link>https://devzone.nordicsemi.com/thread/53288?ContentTypeID=1</link><pubDate>Fri, 20 May 2016 00:56:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:372297ac-0b76-4de9-9424-376148298843</guid><dc:creator>YeLun</dc:creator><description>&lt;p&gt;Follow your hints, I got &amp;quot;connected.role&amp;quot;.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to know an event from center or pherapheral in s130?</title><link>https://devzone.nordicsemi.com/thread/53287?ContentTypeID=1</link><pubDate>Thu, 19 May 2016 11:38:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba364039-f33d-485b-a688-821bbbc429cc</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;If you look at &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s130.api.v2.0.0/structble__gap__evt__t.html"&gt;ble_gap_evt_t&lt;/a&gt; you can see that the disconnect event contains a conn_handle that tells you which connection the disconnect event belongs to.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>