This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to get the RSSI on nRF52833

Hello, I'm engineer student. I'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? I have never experienced this before. Or if you have an example code for me It is a great help. 

Thank you :)

  • Hello, I'm engineer student.

    Hello,
    Welcome to the forum!

    I'm doing on a project about localize the indoor position using BLE signals with Bluetooth 5.1
    Or if you have an example code for me It is a great help.

    As you probably know, using the RSSI signal to measure distance will not give you very accurate results. RSSI is highly variable due to many factors. I'm not too sure about the accuracy since I haven'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. 

    Because of this, we have not made any examples of or guides to indoor-positioning using RSSI.

    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 this, this, and this post for further details. 

    I want to receive RSSI from nRF52833-DK  and I also need address of those devices.

    You can use the sd_ble_gap_rssi_get function to retrieve the received signal strength of the last connection event.
    Are you looking to get the address from advertisements(such as from beacons), or will you be connecting to the devices?

    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.

    Best regards,
    Karl

     

     

     

Related