View Single Post
Posts: 6 | Thanked: 7 times | Joined on Apr 2009
#11
Hello eitama,

are you still interested in this?

I had a short look at your code and I think the main reason why
your NMEA messages are ignored is that every message must
be terminated by <CR><LF> and not only by <LF> (as done in
your script). Change the terminating "\n" to "\r\n" and try again!

Furthermore, if some values are not available, you should not
set the value to 0.0 but use a null field (a field with no characters
between the delimiters) instead!
Examples are the HDOP value in your GPGGA sentence
or the speed in knots in the GPVTG sentence!

I've written a similar Python script which outputs some NMEA
sentences on a pseudo-terminal, which does already work with
two different programs inside Palm OS Emulator on my N900!
(see the attached file)
Attached Files
File Type: zip nmea2pty.zip (2.0 KB, 192 views)