schollz / find3

High-precision indoor positioning framework, version 3.
https://www.internalpositioning.com/doc
MIT License
4.65k stars 366 forks source link

Add minimal client for mips/mipsel/arm platform #42

Closed DatanoiseTV closed 6 years ago

DatanoiseTV commented 6 years ago

Many embedded wireless platforms have enough resources to run a few tasks in the background. By building a minimal, single binary stand-alone version for MIPS and ARM, wireless routers could be used to gain passive and active data.

schollz commented 6 years ago

@DatanoiseTV Which minimal binary are you referring to? The CLI scanner?

DatanoiseTV commented 6 years ago

@schollz Yes, the CLI scanner.

schollz commented 6 years ago

Yeah, so that can easily be built for ARM since Go cross compiles easily. The problem though is how to collect the Bluetooth/WiFi signals. In the scanner I'm using Linux-specific utilities (bluez and iw utilities). I think that these would depend on the specific device, unless there is a C-library maybe I can use to do this generically?

DatanoiseTV commented 6 years ago

@schollz If you use the same API in Go which "iwlist scan" uses for scanning, you should have no problems to just use the Linux WiFi scanning API.

schollz commented 6 years ago

There is an ARM client here: https://github.com/schollz/find3-cli-scanner/releases/latest