Hacker News new | ask | show | jobs
by amartya916 3135 days ago
Thank you (& kop316 for the parent comment) for taking the time to jot this down. It made for a fascinating read for someone like me who is ignorant about how these networks/connections work. Given Android's popularity/prevalence, do you think that for "coarse" location awareness, using Wi-FI Direct + Bluetooth for a local mesh with other Android devices is a possibility (basically, if one of the devices in the mesh has location data enabled, the rest have coarse location data)?
1 comments

Technologically I don't see why that couldn't be done. Transmit known coordinates, do a rough estimate of your distance using signal strength, and add that to the position error. If you get lat/lon from another device and it looks like that device is 300ft away, then your position is lat/lon ± 300ft.

It could be tricky to do securely. How do you prevent a malicious device from spoofing bad location data?

Android and iOS do something sort of like this already, determining position by looking WiFi base stations with known locations and attempting to do some triangulation. This can speed up a fix if the GPS signal is having trouble, and can be essential for indoor location because GPS signals don't penetrate structures well at all. My understanding is that the database gets built up by the devices. When they have a good location fix, they'll report back on the WiFi base stations they see, so that the mothership can build a database of where the things are. This is a little bit like what you describe, but with a really roundabout data path.