Hassan

You need to read data from the serial port.  The best way to do this is
through the timer event.  The next task is to check whether you have a GPS
fix which is determined from the 'RMC' sentence code in the NMEA string.  If
you have a fix you can then read the 'GGA' sentence code to extract the
Lon/Lat of your location.

You might care to visit http://home.mira.net/~gnb/gps/nmea.html.  This site
gives a good explanation of the NMEA data strings.

Hope this is of some help, happy coding!


Best regards
John Williams

HandyGIS
UK Tel             07050 398200
UK Fax             07050 398100
International Tel  +44 7768 895605
International Fax  +44 8700 513376

Email      [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
WWW        www.handygis.com/






-----Original Message-----
From: Hassan Tazi [mailto:[EMAIL PROTECTED]
Sent: 04 July 2003 13:33
To: [EMAIL PROTECTED]
Subject: MI-L Connection Ipaq/GPS


Dear All,

We have an IPAQ and a garmin GPS.
We connected both via a serial cable.
We are developing an application using Embedded Visual Basic.
We want to be program a button on our custom ipaq application, that will
get from the GPS the X,Y coordinates of the current waypoint.

Do you have an example of the source code.

Thank you for your help

Best Regards


Hassan Tazi

D.G. GeoConseil  <http://www.geoconseil.ma/>

www.geoconseil.ma <http://www.geoconseil.ma/>


* (+212) 22 21 34 27 /  22 21 37 58

6 (+212) 22 21 75 29





---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 7503

Reply via email to