<?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 get the RSSI on nRF52833</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/69141/how-to-get-the-rssi-on-nrf52833</link><description>Hello, I&amp;#39;m engineer student. I&amp;#39;m doing on a project about localize the indoor position using BLE signals with Bluetooth 5.1 . In the beginning I want to receive RSSI from nRF52833-DK and I also need address of those devices. Can you advise me how to start</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 07 Dec 2020 16:04:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/69141/how-to-get-the-rssi-on-nrf52833" /><item><title>RE: How to get the RSSI on nRF52833</title><link>https://devzone.nordicsemi.com/thread/283632?ContentTypeID=1</link><pubDate>Mon, 07 Dec 2020 16:04:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6ce9a5cc-20ee-4ece-865b-2e6f9e43ec66</guid><dc:creator>Karl Ylvisaker</dc:creator><description>[quote user=""]Hello, I&amp;#39;m engineer student.[/quote]
&lt;p&gt;Hello,&lt;br /&gt;Welcome to the forum!&lt;/p&gt;
[quote user=""]I&amp;#39;m&lt;span style="font-family:inherit;" lang="en"&gt;&amp;nbsp;doing on a project about&amp;nbsp;localize the indoor position using BLE signals with Bluetooth 5.1 &lt;/span&gt;[/quote][quote user=""]Or if you have an example code for me &lt;span&gt;It is a great help.&lt;/span&gt;[/quote]
&lt;p&gt;&lt;span&gt;As you probably know, using the RSSI signal to measure distance will not give you very accurate results.&amp;nbsp;RSSI is highly variable due to many factors. I&amp;#39;m not too sure about the accuracy since I haven&amp;#39;t tested this myself but I would guess best accuracy you can get is about 3m. The RSSI can be used to indicate a rough estimate(for instance: far away or close). RSSI signal is too unreliable for any accurate distance measuring. There will always be many variables affecting the measured RSSI, like radio interference, signal/multi-path reflections, and loss in the antenna layouts.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Because of this, we have not made any examples of or guides to indoor-positioning using RSSI.&lt;br /&gt;&lt;br /&gt;With that said, there is a lot of others who have posted about this on the forum, and I highly recommend taking a look at &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/66033/how-to-get-stable-rssi-value/270103#270103"&gt;this,&lt;/a&gt; &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/65127/rssi-value-variation/265987#265987"&gt;this&lt;/a&gt;, and &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/53968/rf52-indoor-positioning-via-ibeacons"&gt;this&lt;/a&gt; post for further details.&amp;nbsp;&lt;/p&gt;
[quote user=""]I&amp;nbsp;want to receive RSSI from &lt;span&gt;nRF52833-DK&amp;nbsp;&lt;/span&gt;&amp;nbsp;&lt;span&gt;and I also&amp;nbsp;&lt;/span&gt;need address of those devices.[/quote]
&lt;p&gt;You can use the&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.s140.api.v7.2.0%2Fgroup___b_l_e___g_a_p___f_u_n_c_t_i_o_n_s.html&amp;amp;cp=4_7_4_1_2_1_3_34&amp;amp;anchor=ga63b6ec4b1af260085b8dfe5c7b02b724"&gt;&lt;em&gt;sd_ble_gap_rssi_get&lt;/em&gt; function&lt;/a&gt;&amp;nbsp;to retrieve the received signal strength of the last connection event.&lt;br /&gt;Are you looking to get the address from advertisements(such as from beacons), or will you be connecting to the devices?&lt;br /&gt;&lt;br /&gt;Please do not hesitate to ask if you should have any other questions about this, or if any part of my answer should be unclear.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>