PDA

View Full Version : Accessing gps and digital compass raw data


mt4573
19th March 2008, 09:09 PM
Can anyone tell me how I access the gps and digital compass raw data?

I am currently writing an application but am unsure how to access this data from the device.

Thanks,

Michelle

mikealder
19th March 2008, 11:00 PM
Make a call to the GPS COMM port then parse the NMEA data that streams in to extract what you need, Lat, Long, heading, speed (in knotts) will all be found in the GPRMC line, if you need altitude you will need an extra line from the GPS but the accuracy of altitude is not very good to be honest - what are you scripting? - Mike