The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
.
google unix.com



High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Serial port configuration munirh SCO 1 04-22-2008 09:09 AM
Communicating with Serial Port netsavant UNIX for Advanced & Expert Users 4 03-15-2008 05:19 PM
Serial Port Datalogger uryuu SUN Solaris 1 09-26-2007 05:22 AM
Serial File Transfer chansen SCO 2 04-13-2007 10:37 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 08-01-2007
amitpansuria amitpansuria is offline
Registered User
  
 

Join Date: Jul 2007
Posts: 91
how i can transfer and receive file in any format over serial port

helo
i m using fedora core 6 o.s.
i want to develop application using c,c++ which transfer file in any format(like pdf,txt,doc etc) over the serial port and i want to receive the same file from the serial port
please guide me.
amit
  #2 (permalink)  
Old 08-01-2007
ilko_partizan's Avatar
ilko_partizan ilko_partizan is offline
Registered User
  
 

Join Date: Apr 2007
Location: EU, Bulgaria
Posts: 33
The below how-to describes serial ports communication and its POSIX implementation.

Serial Programming Guide for POSIX Operating Systems

Best regards,
Iliyan Varshilov

Last edited by ilko_partizan; 08-01-2007 at 04:00 AM..
  #3 (permalink)  
Old 08-01-2007
porter porter is offline Forum Advisor  
Registered User
  
 

Join Date: Jan 2007
Posts: 2,965
Quote:
Originally Posted by amitpansuria View Post
which transfer file in any format
(a) serial ports are not reliable, characters can get dropped and bits corrupted so you need a protocol that will handle error detection and retries

(b) this has all been done before, either choose an implementation that already works and move onto things that have not been done, or choose an existing protocol and implement that, hence you will be able to work with other machines already using those protocols.

(c) Have a look at UUCP, XMODEM, Kermit

(d) Have a look at SLIP, PPP
  #4 (permalink)  
Old 08-03-2007
amitpansuria amitpansuria is offline
Registered User
  
 

Join Date: Jul 2007
Posts: 91
how i can use kermit protocol in my application

Quote:
Originally Posted by porter View Post
(a) serial ports are not reliable, characters can get dropped and bits corrupted so you need a protocol that will handle error detection and retries

(b) this has all been done before, either choose an implementation that already works and move onto things that have not been done, or choose an existing protocol and implement that, hence you will be able to work with other machines already using those protocols.

(c) Have a look at UUCP, XMODEM, Kermit

(d) Have a look at SLIP, PPP
thx for replying me.
Sir actually i m new in this serial port communication.
now suppose i want to transfer any format file over serial port using kermit protocol then how can i use it in my application. i mean how can i implement kermit protocol
and how i use in my c++ application
Regards,
Amit
  #5 (permalink)  
Old 08-03-2007
blowtorch's Avatar
blowtorch blowtorch is offline Forum Advisor  
Supporter
  
 

Join Date: Dec 2004
Location: Singapore
Posts: 2,350
Searching on google would have provided links like this one, which will help you along.
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes 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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 04:23 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0