How to get estimote beacons range in Android?

957 views Asked by At

Suppose, I've 3 beacons in a room. When a person entered into that room. The Android App finds out those 3 beacons with different ranges like 1st beacon is in Immadiate range, 2nd beacon is in near range and 3rd beacon is in Far range.

  1. So, how can we find out the distances of those 3 (i.e in Meters or Feets) ?

  2. And, Which beacons Content will get in App? (1 - Immadiate or 2 - Near or 3 - Far).

1

There are 1 answers

2
Android Noob On BEST ANSWER

As you can check in samples

public void onBeaconsDiscovered(Region region, final List<Beacon> beacons)
            {
    // Note that beacons reported here are already sorted by
    // estimated
    // distance between device and beacon.
}

So For your point 2

And, Which beacons Content will get in App? (1 - Immadiate or 2 - Near or 3 - Far).

Yes those discovered beacons are sorted according to distance by estimote sdk

For your point 1

So, how can we find out the distances of those 3 (i.e in Meters or Feets) ?

You need to check the SDK samples for that I just want to tell you that yes it is possible as Estimote Sample app shows the distance between beacon and device

Note that here you will still get the estimated distance

:)