【问题标题】:How to calculate distance between android and iphone using rssi value如何使用rssi值计算android和iphone之间的距离
【发布时间】:2014-10-31 11:59:20
【问题描述】:

我正在尝试使用低功耗蓝牙(即 BLE)读取扫描广告设备的 android 和充当广告商的 iphone 之间的距离。

现在使用 rssi 值是否有任何算法可以找到 android 和 iphone 之间的大致距离?

使用 android.bluetooth.BluetoothAdapter.LeScanCallback 的回调方法 onLeScan ,我并不总是能够扫描广告的 iphone 设备。但 iBeacon 总是能够进入扫描的设备列表。

提前致谢。

【问题讨论】:

    标签: android iphone bluetooth ibeacon-android


    【解决方案1】:

    开源Android Beacon Library 有一个估计距离的内置函数。该功能的描述在这里:http://altbeacon.github.io/android-beacon-library/distance-calculations.html

    您可以在此处查看有关其工作原理的讨论:

    Understanding ibeacon distancing

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多