Pelles C forum
C language => User contributions => Topic started by: Steven on May 31, 2006, 12:34:36 AM
-
Here is a simple application for a Pocket PC, which will test for NMEA sentences from a SiRF GPS receiver. My Navman Pin570 ARM PPC has a built-in GPS accessed via the serial port, and I had a problem with some GPS applications not receiving certain NMEA sentences.
It is useful to have an application which will show what NMEA sentences are available from a GPS. You can also use it to identify which applications changed the GPS receiver settings.
The 'sirf_nmea' source code is a Pelles C project. Just create the '.exe' file in the usual way and download to the PPC.
The Sirf_NMEA application will show how to:
- use the PPC serial port
- create requests, write, and read GPS NMEA sentences
- use combo boxes, buttons and text boxes
The 'readme' web page in the 'SiRF_doc' folder will explain more.
Steven
-
Cool! Thanks...
Pelle
-
Steven,
Very neat programming with comment on every line, good understandebility for beginner like me...
Especialy the difference between working with byte- and multybyte strings on PPC, very good to understand...
Also good example of working with the serialstuff. I was familiar with many things, but now I be aware of my goods and my bads in my programming habbits. I learned a lot from this site in a short time.
Very, very good example, thanks for the upload.
Did work immediatly on the PPC.
Claudy Belgium
-
Steven,
Your hybrid_PPC has code for Mobile 5 I think, do not work on Mobile 3 SE...
Claude Belgium
-
Claudy,
Thanks for your comments.
>Your hybrid_PPC has code for Mobile 5 I think, do not work on Mobile 3 SE...
Other people have noticed this. My solution was to change the 'CommandBar', which is Mobile 5, to a 'MenuBar' which is in Mobile 3.
Did you find anything else which was Mobile 5?
Steven