Serial Connection to internal GPS

Hitec

Member
Licensed User
Hi.

I'm trying to build a programm that allows to get the serial information from the internal GPS device of a WM6 device.

I can establish a connection to the serial port (tried with serial2 and serialex) but I don't receive any data from the GPS.

When connecting with pocket putty I can see the strings from the GPS so the device is OK.

Any Ideas?

Source attachted...
 

Attachments

  • Serial2Net.sbp
    3.6 KB · Views: 170

agraham

Expert
Licensed User
Longtime User
What is the device? Some makes (HTC) have a problem operating with the .NET Serial Port class. Pocket PuTTY is a native code program so wouldn't have the problem. You should try the GPSDriver library or my GPSDriverNMEA library if you want the raw NMEA strings.
 
Last edited:

Hitec

Member
Licensed User
Yes, its a HTC (HTC Iolite)

Tried your GPSDriverNMEA lib and it is doing exactly what I wanted.

Thank you very much

Thomas

PS. I saw that UDP lib I'm using has also been written by you. Can both lib be used for comercial products as well, or only for open source projects?
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…