Serial port handling.

S

Salil.Khanwalkar

Hi,
I have downloaded the opennetcf's Smart Device Framework.
Can anybody tell me know is there any sample code to transfer files
between desktop pc and pocket pc using serial port.
I need a tutorial which will tell me basics of rs232 programming.

Best regards,
Salil.
 
D

Dick Grier

Hi,

I have example code in my book for XMODEM file transfers. I haven't
extended this code to the Compact Framework, but intend to do so soon.

Are you sure that you want to use the serial port for this? Usually, it is
more satisfactory to use RAPI or some sort of network transfer over TCP/IP.

The reason that I intend to add XMODEM file transfer support to my Compact
Framework code is not for transfers to and from the desktop, but for use
with other devices that require such transfers.

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.
 
S

Salil.Khanwalkar

Hi,
I am just learning serial port programming , so first i wrote a dumb
terminal application and communicated using hyper terminal, i.e. any
thing you type in the terminal window is displayed on the ppc.
Now i want to try doing file transfers using serial port instead of
RAPI over tcp/ip.

Best regards,
Salil.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top