Pocket PC to PC communication over Serial (USB)

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I am using an Audiovox 6600 (ppc2003) connected by USB to a desktop computer.

I need to write a Pocket PC application and a Desktop application. These two
application need to communicate via serial. The desktop application will only
listen for messages sent from the Pocket PC.

How could I do this with OpenNetCF ?

I have already written a sample application, but I don't know how to test
it.. I don't know which port it should send the information to. And I don't
know on which port I can open HyperTerminal (on the desktop) to see if the
right information is received.

Your help will be greatly appreciated, thanks!

Lionel
 
USB is not a general serial port that you can open and send data through
like an RS232 port.

-Chris
 
Hi,

If you want to use the ActiveSync connection via USB (this is not serial, as
noted by Chris, regardless of the name), then I suggest that you consider
TCP/IP (System.Net.Sockets) to send and receive data. While it would be a
little tricky to make this work with Hyperterminal, I assume that you really
want to write a specific desktop app to listen and react. Personally, this
is the way that I'd go.

Feel free to ask specific questions.

Dick

--
Richard Grier, MVP
Hard & Software
Author of Visual Basic Programmer's Guide to Serial Communications, Fourth
Edition, ISBN 1-890422-28-2, Mabry Publishing (391 pages, includes CD-ROM).
July 2004.
See www.hardandsoftware.net for details and contact information.
 
Back
Top