<?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>rssi value of multiple phones trying to connect to a single peripheral</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/38536/rssi-value-of-multiple-phones-trying-to-connect-to-a-single-peripheral</link><description>Dear Sir, 
 
 I was trying to implement the following scenario. 
 Multiple phones initiate the connect request to a single peripheral. 
 On peripheral search for the phone with highest rssi( among phones trying to connect). 
 Is it possible to know the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 17 Sep 2018 06:21:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/38536/rssi-value-of-multiple-phones-trying-to-connect-to-a-single-peripheral" /><item><title>RE: rssi value of multiple phones trying to connect to a single peripheral</title><link>https://devzone.nordicsemi.com/thread/148897?ContentTypeID=1</link><pubDate>Mon, 17 Sep 2018 06:21:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8e6f9dc4-b6e8-4fe0-9bab-aed71c5c145d</guid><dc:creator>GK</dc:creator><description>&lt;p&gt;ok.Thank you very much for your time and reply&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: rssi value of multiple phones trying to connect to a single peripheral</title><link>https://devzone.nordicsemi.com/thread/148805?ContentTypeID=1</link><pubDate>Fri, 14 Sep 2018 11:54:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c58eaf0-e990-4b55-aae9-d16cdc88a119</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]Is it possible to know the rssi value only after establishing a valid connection?[/quote]
&lt;p&gt;You can start measuring RSSI after a peer has connected. You first have to call &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v6.1.0/group___b_l_e___g_a_p___f_u_n_c_t_i_o_n_s.html?cp=2_3_1_1_0_2_1_2_32#gac369253b7f5ce0fc0093a6133faa791f"&gt;sd_ble_gap_rssi_start()&lt;/a&gt;, an then you can&amp;nbsp; subsequently either get events for the RSSI or obtain the RSSI by calling &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v6.1.0/group___b_l_e___g_a_p___f_u_n_c_t_i_o_n_s.html?cp=2_3_1_1_0_2_1_2_31#ga63b6ec4b1af260085b8dfe5c7b02b724"&gt;sd_ble_gap_rssi_get()&lt;/a&gt;.&lt;/p&gt;
[quote user=""]Is it possible to know the rssi value of the phone who initiated a connect to the peripheral?[/quote]
&lt;p&gt;&amp;nbsp;The peripheral cannot normally get the RSSI from the central/scanner before a valid connection has been established. However, if the peripheral has scan response data and the central does active scanning, you may get a&amp;nbsp;BLE_GAP_EVT_SCAN_REQ_REPORT event. If so, the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v6.0.0/structble__gap__evt__scan__req__report__t.html?cp=2_3_1_1_1_2_1_4_47"&gt;ble_gap_evt_scan_req_report_t&lt;/a&gt;&amp;nbsp;contains the RSSI. Please note that this event has low priority, so the application may not get any event from the SoftDevice even if it has received a scan request (and replied with a scan response).&lt;/p&gt;
[quote user=""]Is it possible for a single peeripheral&amp;nbsp; to manage multiple connect request at the same time?[/quote]
&lt;p&gt;&amp;nbsp;No. The SoftDevice can maintain multiple connections simultaneously, but it can only have one advertiser at the same time.&lt;/p&gt;
[quote user=""]Or iis it only capable of handling only one connection at a time?[/quote]
&lt;p&gt;&amp;nbsp;The SoftDevice can maintain multiple connections at the same time, even though it can only have a single advertiser instance. If one peripheral connects, then it can re-start advertising so that another peripheral can connect (and so on).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>