I know nexus 7's have bluetooth 4.0 but what I was wondering if you could use bluetooth 4.0 LE to calculate the distance between two devices? I want a very accurate distance calculator between two devices. I asked earlier about an android and an iphone but I am now only concerned with 2 android devices.

有帮助吗?

解决方案

No. Bluetooth LE isn't some kind of magic hi-res GPS, it's basically just bluetooth data transfer using lower-powered transmitters.

Distance to the other device affects signal strength, but so do a bunch of other things. It's like trying to use a WiFi signal analyzer to measure the distance to a wifi hotspot. (Try it. You won't have much success!)

Look at the rather over-hyped Hone Keyfinder: The only thing it can tell you is if you're getting closer or further away from your keys. The keys don't know where the phone is, and the phone doesn't know where the keys are.

iBeacon works by having beacons at fixed lat/long, with a low-power transmitter. They broadcast their lat/long, so if you're in range of one, you know where you are. If you have enough beacons near you, you can triangulate based on relative signal strength. iOS devices acting as 'beacons' only makes sense if somehow they have better GPS coverage than you do.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top