From: Woods, John C <woodjt@es...> - 2006-04-26 08:17:14
A sailing computer, we too are working on sailing boats and
computers, what are you trying to achieve in your project?
[mailto:gumstix-users-admin@...] On Behalf Of Mark
Sent: 26 April 2006 05:40
Subject: [Gumstix-users] Gumstix Linux
Hi Don -=20
My sailing computer project is progressing nicely. I have managed to
capture some data - although a wiring problem with the B&G instruments
is causing me grief - however I think I have it nutted now.=20
As it stands, my device plugs into the B&G universal interface box and
logs NMEA data to a text file. I then have Bluetooth up and running with
an RFCOMM service that streams NMEA over the rfcomm device. So now any
third party NMEA aware PC application can be made wireless through the
use of my device. Handy.=20
I'm also now busy writing a TCP/IP server module that allows my
application to serve a variety of intelligent navigation information
using the NMEA data. This uses the pan service and udhcpd. So far,
everything is working sweet and I'm very impressed with the stability
and reliability of the linux O/S.
I am however having a problem with fcntl on the gumstix linux and can't
seem to find any information about how this is implemented on the
gumstix. It doesn't appear to be working according to the man page,
although my application compiles fine with the cross-compiler. Is there
anyone who can provide me with some information about how fcntl is
implemented - specifically if F_NOTIFY should be there or not?
Essentially, I'm wanting my application to sleep until new data is
written to the NMEA text file - in order to preserve battery life. At
present, the B&G interface provides a set of NMEA messages every 3
seconds, so I'm estimating that my application can sleep for more than
90% of the time - if I can get the signal processing working right.=20
Get latest updates about Open Source Projects, Conferences and News.