Re: GPS phone pocketpc development
From: Andrew Enfield \(MS\) (andrewe_at_microsoft.com)
Date: 09/22/04
- Next message: Oscar: "how to rebind network adapter?"
- Previous message: Daniel: "GPRS disturbs the speaker (Qtek 2020,iMate,Xda II, Orange M1000 et"
- In reply to: Mateusz Łoskot: "Re: GPS phone pocketpc development"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 22 Sep 2004 09:07:24 -0700
Mateusz's correct. There's nothing on CE that provides single-step API
access to GPS information. Instead, your code would call CreateFile to open
the COM port to which the GPS device is attached, call ReadFile to get
binary data from the device, and then parse it according to the NMEA
(National Marine Electronics Association) spec. I haven't tested code like
this myself against multiple GPS devices, but, as long as the devices attach
via a COM port (either physically or virtually), and return valid NMEA data,
it should be possible to write code that works with multiple GPS devices.
More info:
- NMEA site: www.nmea.org, I think you need $350 or so to purchase the spec,
but you might not need this, given info at places like the next link.
- Peter Bennett's GPS and NMEA Site: http://vancouver-webpages.com/peter
-- Andrew Enfield Programmer Writer, Windows CE This posting is provided AS IS with no warranties, and confers no rights. "Mateusz Łoskot" <antispam@see.my.signature> wrote in message news:mem3d.293143$vG5.8628@news.chello.at... > On 9/18/2004 7:40 PM, Dave Moore wrote: >> 1). If I purchase a PPC with a GPS add-on, is there a software API >> available >> in Pocket Windows that would allow my application to access the current >> GPS >> location?. > > I don't think so. GPS usually is connected through COM port (also virtual > COM). So you have to know how to read data stream from COM then you have > to know how to parse NMEA format of GPS data. There is some NMEA > specification on the Internet. > > Greets > > -- > > Mateusz Łoskot > mateusz at loskot dot net
- Next message: Oscar: "how to rebind network adapter?"
- Previous message: Daniel: "GPRS disturbs the speaker (Qtek 2020,iMate,Xda II, Orange M1000 et"
- In reply to: Mateusz Łoskot: "Re: GPS phone pocketpc development"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|