From: Dan T. <log...@gm...> - 2005-06-14 11:30:04
|
Hi, I've recently hooked up a little GPS module to my gumstix. The module outputs ASCII NMEA data via a serial connection. I have written a little program (C++) to decode this data (running on my development box at the moment, but gumstix-ready), but now I'm faced with a problem... Basically I want one "monitor" program to listen to the serial port and store incoming information. I then want this information to be disseminated to other applications running on the gumstix (e.g. logging applications, CGIs and suchlike). In a non-embedded world I would have the monitor program insert records into a relational database of some kind and have the other programs access the data via the RDBMS. This would control locking and file storage in one go. On the gumstix, however, all I can think of is to write the data to files. This could be problematic if the monitor is writing to the file as another application is reading it. Has anyone got any better ideas? Are there any relational databases currently working on the gumstix which I can use? Transactions would be fantastic... Dan --=20 Dan Taylor Software Development Engineer, JTL Systems Ltd PhD Student, Reading University, UK http://www.logicalgenetics.com |