Is serialport functional in beta2 on .NET CF?

  • Thread starter Thread starter LarryS
  • Start date Start date
L

LarryS

We're trying to do serial comm with the new serialport object in the VS
Beta 2/.NET Beta 2 system (using C#, but I don't think that's terribly
important).

I'm using a slightly cranky GPS receiver, and it works fairly well
under Windows, but when hangs hard in the PocketPC 2003 emulator, and
on an actual iPaq handheld.

Does anyone have a SIMPLE code snippet that works for serial comm for
them under the Compact Framework? serPort.ReadLn() or similar would be
sufficient. I'd like to see if it's our device, or the serialport
object, or improper use of serialport, etc.

Many thanks in advance!

--Larry
 
Hi,

You can download CFSerialIO and DecodeGPS dlls from my homepage. The SDF at
www.opennetcf.org also has serial and GPS support.

I haven't tried beta 2, but... Never (IMO) attempt to do serial comms using
the emulator(s). There so often are performance issues that have to be
addressed that these sort of applications demand actual hardware.

Dick

--
Richard Grier (Microsoft Visual Basic MVP)

See www.hardandsoftware.net for contact information.

Author of Visual Basic Programmer's Guide to Serial Communications, 4th
Edition ISBN 1-890422-28-2 (391 pages) published July 2004. See
www.mabry.com/vbpgser4 to order.
 
Back
Top