Exporting Hardware over networks
This is an elaboration on my original post for exporting GPS using netcat. The networking portion is covered elsewhere and you can use either USB or bluetooth networking. This is how it works:
* On host type: nc -vvn -l -p 5000 > /dev/mount-point
This sets up the host to listen for the connection.
* On the Neo type: nc IP-ADDRESS-OF-HOST 5000 < /dev/port-to-export
This exports the port to the host ip address
This has been tested with GPS and GSM, but in theory it will work with all hardware.
Example: export GSM over USB network
* First be sure you have gllin installed on the Neo. * On host type: nc -vvn -l -p 5000 > /tmp/nmeaNP * On the Neo type: nc 192.168.0.200 5000 < /tmp/nmeaNP * * On the host PC install GPSD, your GPS is attached as /tmp/nmeaNP * start gpsd on host with: gpsd -p /tmp/nmeaNP * run your application! I used gpsdrive and it works better than my stand-alone GPS. * Tested with RoadNav.Works great! * * With this in mind if you have an unlimited data package you could export this over the internet. * the possibilities are limitless.