I've created a tool(recorder.py) now that records GPS-sentences and the delta time between two sentences. Another tool(playback.py) plays back the GPS-sentences with the same delta time delay between sentences. The timing during playback is not 100% accurate since the OS both at recording and playback is not 100% accurate and I've not taken into consideration that transfer of a sentence from a GPS-unit to a host take time (varies by baudrate). The playback is done with FIFO and only tested on MacOSX. The recording is only tested on WinXPSP2.

Saturday, March 10, 2007

I've just registered a project with Sourceforge now called GloPosCom. This blog will be the place I submit information regarding the project.

The project shall provide an API for communicating global positioning coordinates from a portable device/laptop to one or more XMPP-clients. The API reside on the portable device/laptop and communicate with one or several XMPP-clients through a XMPP-gateway. The API in itself is a XMPP-client. The XMPP-clients can send commands that are handled by the API.

So far I've only created an "engine" that is IO-multiplexed (I don't want to deal with the various ways multithreading is done on the various platforms) and a simple API to interact with the engine.

The engine currently connects to GTalk via the iksemel library and reads GPS-coordinates via the nmeap library . A small test-program I've written allows you to send commands from a GTalk client to the engine and the engine replies with the current position.

Since GTalk requires TLS and I could not find GnuTLS for all the platforms I want the API/engine to run on I had to alter iksemel some. It now uses OpenSSL instead of GnuTLS.