these days i'm try implement gps application windows mobile device. had try windows mobile sdk 6.0 sample unfortunately doesn't work. configure gps ports properly. print "on, startingup". longitude , latitude , other details not printed.
then had try third party tool called "gpstest" find whether gps receiver worked or not. worked nicely , means gps receiver works fine.
are there known issues wm sdk 6.0 gps sample ?
how can fix issue , print longitude , latitude , other details ?
thank ......
i not sure comm wm6 sdk sample uses, there 3 different comm possible gps:
a) ms gps intermediate driver (gpsid). if device setup correctly not need change port.
b) serial communication via comx: or similar named port (i saw gpdx:). direct communication needs parsing of raw nmea data. program needs nkow correct serial port baudrate setting etc gps devices use binary protocol , may have switch gps modul character mode (the switch commend gps hardware dependent).
c) stream communication. need know communication port (i.e. com6: or gpd1:) , use file streaming read either raw binary or character data gps modul. b), app hase parse nmea data find longitude, latitude , information inside nmea protocol.
see here example working ms gpsid , serial or stream communication raw nmea data: http://www.hjgode.de/wp/2010/06/11/enhanced-gps-sample-update/
the sample uses ms gpsid , can switched show raw data comming thru serial or stream port. port name determined using ms gpsid registry settings.
btw: service gps states not implemented on devices , may show wrong status.
Comments
Post a Comment