Reply
Thread Tools
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, 191 views)
 
eitama's Avatar
Posts: 702 | Thanked: 334 times | Joined on Feb 2010 @ Israel.
#12
Originally Posted by Koios View Post
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)
Hey buddy!
Thanks for the info, I'm no longer an N900 owner
And iv'e never been happier, not to say that's it's 100% N900 and Maemo 5's fault, but it's more like I don't get what I need out of the N900, and I do from android with Galaxy S.

On-Topic, i no longer need to share GPS since my galaxy s has gps hardware + waze version to run on.

Cheers anyway, and nice observation about the CRLF,
as an HTTP pro (myself) i'm ashamed I didn't think about it.
But as HTTP is much more known and well formed then NMEA, i can see how I missed it
__________________
| Developer of Horizontal-Call - Call your contacts, fast! |
| Reverse SSH - access your N900 from anywhere, anytime |
| Using Samsung Galaxy S GT-i9000 and Nokia N900 |
| DonateMe - If you feel I helped you in a very good way, feel free to donate |
 
Posts: 122 | Thanked: 46 times | Joined on Mar 2010
#13
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!
 
eitama's Avatar
Posts: 702 | Thanked: 334 times | Joined on Feb 2010 @ Israel.
#14
Originally Posted by fergusso View Post
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!
2 posts above yours there is a file attached, it's a python script with the correct direction of success.
You should try it, if it works, great, if it doesn't, you need to fix it
__________________
| Developer of Horizontal-Call - Call your contacts, fast! |
| Reverse SSH - access your N900 from anywhere, anytime |
| Using Samsung Galaxy S GT-i9000 and Nokia N900 |
| DonateMe - If you feel I helped you in a very good way, feel free to donate |
 
Posts: 724 | Thanked: 1,255 times | Joined on Nov 2007 @ Cambridge, UK
#15
Try this thread if you're still looking for this functionality:

http://talk.maemo.org/showthread.php?t=67276
 

The Following User Says Thank You to tswindell For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 15:12.