简体   繁体   English

使用 Android 信标库查找设备到 Eddystone 信标的距离

[英]Find the distance to Eddystone beacon from the device using Android Beacon Library

I am developing an android application to find the distance from Eddystone beacon to the mobile device.我正在开发一个 android 应用程序来查找从 Eddystone 信标到移动设备的距离。 I am using Android Beacon Library and following this example .我正在使用 Android 信标库并遵循此示例 when I locate my beacon nearly 1 meter away from my device, it shows like below.当我找到离我的设备近 1 米的信标时,它显示如下。 it shows small values and changes continuously.它显示较小的值并不断变化。 How to solve this and get at least nearly accurate value.如何解决这个问题并获得至少接近准确的值。

在此处输入图像描述

The "underestimate" shown in the question suggests one or more of the following may be true:问题中显示的“低估”表明以下一项或多项可能是正确的:

  1. The Beacon has not been calibrated.信标尚未校准。
  2. The receiving phone device model may have an unusually high measurement of signal strength requiring a device-specific adjustment of its distance calculation.接收电话设备 model 可能具有异常高的信号强度测量值,需要对其距离计算进行特定设备调整。

See here for more information on how to address these issues.有关如何解决这些问题的更多信息,请参见此处

Even once you address the above, set your expectations properly.即使您解决了上述问题,也要正确设定您的期望。 Bluetooth LE distance estimates are rough.低功耗蓝牙距离估计是粗略的。 They are useful for telling you if another device is within a couple of meters or many meters away.它们有助于告诉您另一台设备是否在几米或几米之外。 But they cannot tell you the precise distance to a bluetooth transmitter.但他们无法告诉您到蓝牙发射器的精确距离。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM