![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Serial port configuration | munirh | SCO | 1 | 04-22-2008 06:09 AM |
| Communicating with Serial Port | netsavant | UNIX for Advanced & Expert Users | 4 | 03-15-2008 01:19 PM |
| Serial Port Datalogger | uryuu | SUN Solaris | 1 | 09-26-2007 02:22 AM |
| Serial File Transfer | chansen | SCO | 2 | 04-13-2007 07:37 AM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
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 |
| Forum Sponsor | ||
|
|
|
||||
|
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 01:00 AM. |
|
|||
|
(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 |
|
|||
|
how i can use kermit protocol in my application
Quote:
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 |
|
||||
|
Searching on google would have provided links like this one, which will help you along.
|
||||
| Google UNIX.COM |