2

I need to measure bluetooth signal between two or more mobile phones and detect nearest phone in range. After a lot of researching I came to idea to do periodically discovering for new bluetooth devices and measure rssi via EXTRA_RSSI that returned by ACTION_FOUND. All devices must be always in discovery mode and also must periodically scan for other devices.

Is this approach good or there are some better solution? What problems I can expect with this approach?

This solution Android 2.1: How do I poll the RSSI value of an existing Bluetooth connection? doesn't work for me because need phones to be rooted.

2
  • For what purpose do you need the distance? As the answers suggest, RSSI is inaccurate at best, but for some use cases it is adequate.
    – jhonkola
    Sep 11, 2012 at 13:56
  • I need to find out nearest person in the room.
    – zarej
    Sep 26, 2012 at 9:09

2 Answers 2

2

RSSI is a bad indicator for distance under real world conditions.

It could work under ideal conditions (free space propagation) but in reality you always have obstacles like walls, trees, etc. that affect the propagation.

See this article for more detailed information on propagation models.

1
  • 1
    really guys, two answers and both are useless. what an elegant way of saying "I don't know", discouraging the QA from the purpose. Dudes! RSSI is useful and we should have this basic functionality from an OS like Android. And yes the distance can be approximated based on RSSI.
    – radhoo
    Nov 5, 2015 at 20:08
1

RSSI doesn't indicate which phone is nearest, only which phone has the strongest signal.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.