<?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>get rssi</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/33191/get-rssi</link><description>Hi,I would like to know how to obtain slave rssi through broadcast data before two Bluetooth devices connect successfully</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 11 Apr 2018 04:46:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/33191/get-rssi" /><item><title>RE: get rssi</title><link>https://devzone.nordicsemi.com/thread/127716?ContentTypeID=1</link><pubDate>Wed, 11 Apr 2018 04:46:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ec39fc5f-927e-48d5-b743-5eaa09fd3648</guid><dc:creator>amywei</dc:creator><description>&lt;p&gt;ok,I will try it again.&lt;/p&gt;
&lt;p&gt;thanks,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: get rssi</title><link>https://devzone.nordicsemi.com/thread/127336?ContentTypeID=1</link><pubDate>Mon, 09 Apr 2018 06:36:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e9f9298e-c4aa-4524-b5ee-ba0361ea8232</guid><dc:creator>karthikeyan</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;To be able to get RSSI from nearby devices, the devices will have to transmitt something that your central can receive. If you setup the phone to do BLE advertising like a peripheral device, you can get the RSSI from the advertising report that you receive with the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;BLE_GAP_EVT_ADV_REPORT&lt;/code&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;event in the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;ble_evt_handler&lt;/code&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;in the central examples. You can print the RSSI value using the following line:&lt;/p&gt;
&lt;div class="content-scrollable-wrapper"&gt;
&lt;pre&gt;&lt;code&gt;NRF_LOG_INFO(&amp;quot;RSSI: %d&amp;quot;, p_ble_evt-&amp;gt;evt.gap_evt.params.adv_report.rssi);&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;cheers&lt;br /&gt;karthikeyan&lt;/pre&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>