Hi,
If the PPC is in the cradle, then the built-in serial port CANNOT be used,
unless you make hardware modifications to the cradle, or if the cradle comes
with a "Y" cable that permits both USB ActiveSync and serial. The built-in
serial port is designed to be used for ActiveSync -- and this must be
disabled on the PPC for the serial port to be used by software.
The approaches that I would consider are:
1. RAPI. This is a desktop application that is enabled when a device is
cradled, and is using ActiveSync. RAPI allows the desktop app to do various
things with the device, including file transfers. There are online examples
for RAPI, and I think some are at
www.opennetcf.org.
2. TCP/IP sockets. You say there is a firewall issue (and there may be),
but all you have to do is to enable the ports that will be used for the data
transfer using the firewall software. TCP/IP tunnels over ActiveSync, or it
can use a wired/wireless connection if one exists.
3. Serial. When cradled, you would have to use the approach above, or use
a Compact Flash serial adapter. Personally (and I do a lot of serial
communications), this would NOT be the approach that I would take for your
app. However, I do have a free DLL on my website that you could use for the
serial communications if you go this way, and there is one in the SDF from
www.opennetcf.org.
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.