<?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>Terminate current connection handle based on advertisement rssi  of peripheral in central Devicddddd</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/94133/terminate-current-connection-handle-based-on-advertisement-rssi-of-peripheral-in-central-devicddddd</link><description>Hai Team, 
 I am working on NRF52840 based on the BLE Connection handle 
 Here I am using the ble_app_multilink_central example of SDK 
 case BLE_GAP_EVT_ADV_REPORT: { uint32_t rssi_temp ; rssi_temp = p_ble_evt-&amp;gt;evt.gap_evt.params.adv_report.rssi; 
 if</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 22 Nov 2022 10:48:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/94133/terminate-current-connection-handle-based-on-advertisement-rssi-of-peripheral-in-central-devicddddd" /><item><title>RE: Terminate current connection handle based on advertisement rssi  of peripheral in central Devicddddd</title><link>https://devzone.nordicsemi.com/thread/396858?ContentTypeID=1</link><pubDate>Tue, 22 Nov 2022 10:48:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c56579f-e2a2-4a3a-99df-ea49cce40d51</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;I would also suggest that you take a look at the &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/ble_sdk_app_proximity.html"&gt;proximity example&lt;/a&gt;&amp;nbsp;which implements similar features.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Br,&amp;nbsp;&lt;br /&gt;Joakim&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Terminate current connection handle based on advertisement rssi  of peripheral in central Devicddddd</title><link>https://devzone.nordicsemi.com/thread/396857?ContentTypeID=1</link><pubDate>Tue, 22 Nov 2022 10:47:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d02ede0-2675-49c9-85f7-aa8dec07ceec</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Hello!&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What do you need help with here? You have successfully read the RSSI from the adv. report? If you don&amp;#39;t want to connect until the RSSI &amp;gt; x value. You can avoid making a connection request.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you want to disconnect&amp;nbsp;after you receive a low value of the RSSI, you can make a call to &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s140.api.v7.3.0/group___b_l_e___g_a_p___f_u_n_c_t_i_o_n_s.html#ga4031d0e4034c6f5900ad6d35b763fb0d"&gt;sd_ble_gap_disconnect()&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Br,&amp;nbsp;&lt;br /&gt;Joakim&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>