PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Compact Framework Serial port handling.

Reply

Serial port handling.

 
Thread Tools Rate Thread
Old 13-06-2005, 11:33 AM   #1
Salil.Khanwalkar@gmail.com
Guest
 
Posts: n/a
Default Serial port handling.


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.

  Reply With Quote
Old 13-06-2005, 05:19 PM   #2
Sergey Bogdanov
Guest
 
Posts: n/a
Default Re: Serial port handling.

See OpenNETCF.IO.Serial samples here:
http://www.opennetcf.org/PermaLink....f8-9559152d5e1e


--
Sergey Bogdanov
http://www.sergeybogdanov.com


Salil.Khanwalkar@gmail.com wrote:
> 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.
>

  Reply With Quote
Old 13-06-2005, 06:24 PM   #3
Dick Grier
Guest
 
Posts: n/a
Default Re: Serial port handling.

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.


  Reply With Quote
Old 15-06-2005, 08:11 AM   #4
Salil.Khanwalkar@gmail.com
Guest
 
Posts: n/a
Default Re: Serial port handling.

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.

  Reply With Quote
Old 15-06-2005, 05:54 PM   #5
Floyd Burger
Guest
 
Posts: n/a
Default Re: Serial port handling.

Transport from www.componentscience.net supports CF and includes X/Y/ZModem
file transfer protocols.

--
Floyd

<Salil.Khanwalkar@gmail.com> wrote in message
news:1118815917.384439.150630@g43g2000cwa.googlegroups.com...
> 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.
>



  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off