Re: reading GPS?
Justin Mitchell <[email protected]> Tue, 08 Jul 2008 20:58:30 -0400
| Newsgroups | gmane.comp.python.windows-ce |
|---|---|
| Message-ID | <[email protected]> |
Christopher Fairbairn wrote: > Hi Justin, > > On Wed 9/07/08 11:47 , Justin Mitchell [email protected] sent: >> Any suggestions on where to get started on reading GPS coordinates? >> Would these be read through the serial interface? I have a Motorola Q9C >> Smartphone. > > One approach (if you don't mind being Windows Mobile dependant) is to use ctypes > to interface to the GPS Intermediate Driver (documented on MSDN at > http://msdn.microsoft.com/en-us/library/ms850332.aspx). > > This approach would take care of NEMA sentance parsing etc and give you a > structure with current lat/long and speed etc. > > Alternatively you can also go the serial port route. In that case you can use the > GPS control panel applet to determine which COM port you should read from. See > http://blogs.conchango.com/kenibarwick/archive/2006/03/19/3119.aspx for more details. > > Hope this helps, > Christopher Fairbairn > Microsoft MVP - Device Application Development > http://www.christec.co.nz/blog/ Thanks for the info. I think the serial approach would suit me better. However... I don't think the GPS control panel exists on my phone (there was no GPS Settings registry key). I wonder if MS removed it in WM 6.1. Do you know if these settings can be specified manually? Thanks! Justin