Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在开发一个 android 应用程序来查找特定距离内的蓝牙设备。现在,我开发了一个应用程序来获取附近所有蓝牙设备的 RSSI。现在我想找到仅在 2 米范围内的设备。实际上近似距离就足够了。我读了更多。但我找不到解决方案。有没有办法做到这一点。
我用一些蓝牙低功耗信标进行了测试,距离计算非常不可靠。
它是根据接收信号的强度完成的,在我使用的信标的配置中,您可以选择发射功率(较弱,只能在近距离检测到)但即使多次表示最强的信号从远处传来。
我认为您唯一希望的是说某个信标(或蓝牙设备)在附近,半径约为 10m;但不是说哪个更近或哪个在 2 m 或更小
希望它会有所帮助。