|
2010-11-15
, 20:49
|
|
Posts: 702 |
Thanked: 334 times |
Joined on Feb 2010
@ Israel.
|
#12
|
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)
|
2010-12-19
, 02:06
|
Posts: 122 |
Thanked: 46 times |
Joined on Mar 2010
|
#13
|
|
2010-12-19
, 07:21
|
|
Posts: 702 |
Thanked: 334 times |
Joined on Feb 2010
@ Israel.
|
#14
|
I am badly in need of this kind of application as well. make n900 an external bluetooth gps receiver so I can use the navigation software of my old pocket pc which doesn't have gps.
if someone can tell me if there's a way to do it on our n900. i'll appreciate it much!
|
2010-12-24
, 08:39
|
Posts: 724 |
Thanked: 1,255 times |
Joined on Nov 2007
@ Cambridge, UK
|
#15
|
The Following User Says Thank You to tswindell For This Useful Post: | ||
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)