Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > dot net cf 2.0 not finding GPS serial port. on smartphone what iswrong (c# code)

Reply
Thread Tools

dot net cf 2.0 not finding GPS serial port. on smartphone what iswrong (c# code)

 
 
Edwin van den Oetelaar
Guest
Posts: n/a
 
      11-03-2006
Hello All,
I am using a ETEN G500+ with WM5 and CF2.0 and want to read the GPS.
It used to work with a WM2003 pda.
I setup the GPS to be available as COM9: to all applications (using settings/gps menu)

Code:
      String[] ports = SerialPort.GetPortNames();
// ports just returns COM3:
// while TomTom sees a lot more COM ports
      SerialP = new SerialPort("COM9:"); // BREAKS because COM9: is not valid
      SerialP.BaudRate = 38400;
      SerialP.ReceivedBytesThreshold = 100;
      SerialP.DiscardNull = true;
      SerialP.DtrEnable = false;
      SerialP.Handshake = Handshake.None;
      SerialP.RtsEnable = false;
      SerialP.StopBits = StopBits.One;
      SerialP.DataReceived += SerialP_DataReceived; // handle events

SerialP.Open(); // IOException thrown
How can I solve this, I should be able to use COM9: for GPS input I think..
Please help me fix this problem; Thanks.

Regards,
Edwin
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: what is the difference between the vb dot net and asp dot net Nathan Sokalski ASP .Net 11 08-14-2009 08:22 PM
Re: rastreadores GPS Ratreador gps localizadores bloqueadores 6518232 Frisbee® MCSE 3 08-18-2006 11:09 PM
Dot Net Project Execution without Dot Net and Framework.... krishnan ASP .Net Building Controls 0 01-07-2006 08:51 AM
Dynamically resize visible text and append dot dot dot (like gmail subject lines.. ) how to question? jawolter@gmail.com Javascript 6 12-12-2005 04:09 PM



Advertisments