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

How to pair nearby via RSSI

hello,

if i  want to connect to a peripheral device with strongest RSSI. I need to get the RSSI before connecting. 

and i know i can get the RSSI from event of BLE_GAP_EVT_ADV_REPORT.

But there is a lot of peripheral devices around central device. how can i distinguish which peripheral device these RSSI come from?

Parents
  • hello,

    the peripheral devices have the same UUID and device name.

    and if there are 20 peripheral devices broadcasting at the same time.

    how can i distinguish which peripheral device these RSSI come from,because I want to arrange and combine the historical RSSI of all devices, remove the maximum and minimum values, and average

    Then pair nearby via RSSI.

    or what should I do if I want to pair up nearby via RSSI.

Reply
  • hello,

    the peripheral devices have the same UUID and device name.

    and if there are 20 peripheral devices broadcasting at the same time.

    how can i distinguish which peripheral device these RSSI come from,because I want to arrange and combine the historical RSSI of all devices, remove the maximum and minimum values, and average

    Then pair nearby via RSSI.

    or what should I do if I want to pair up nearby via RSSI.

Children
Related