ADD: GSM positioning server for TangoGPS!greg
commitdc48e13f7a2ad625680865eba685b03014271b69
authorGergely Imreh <imrehg@gmail.com>
Fri, 26 Sep 2008 01:11:09 +0000 (26 02:11 +0100)
committerGergely Imreh <imrehg@gmail.com>
Fri, 26 Sep 2008 01:11:09 +0000 (26 02:11 +0100)
tree21a3c03be67cdd1b0afd737f19d821238434b753
parentbdd483ad2af1a90fd4209591cd55095ea12bab7b
ADD: GSM positioning server for TangoGPS!

Added new file: gsmpos_server.py
Implemented: simple server using sockets to fake standard
NMEA output of gpsd. Gets GSM fix, and outputs it as GPS data.

Running: set tangoGPS to localhost/2940, currently hardcoded
port. Start up server, if connects to dbus then it will start
its socket - tangoGPS will automatically connect to it. The
NMEA sentences sent to tangoGPS are shown n the terminal. Stop
program with Ctrl-c, should do graceful exit (also if there's
an exception)

If running just to check output then start server, connect to
socket (e.g. nc localhost 2940) and send a single character to
make it start the looped reply.

Currently only one connection is allowed to the server.
gsmpos/gsmpos_sever.py [new file with mode: 0755]