Re: Datatransfer via serial line
From: Grant Edwards (grante_at_visi.com)
Date: 01/28/05
- Next message: Jan Kandziora: "Re: SIGSTOP and Interrupted System Call"
- Previous message: Dave Clarke: "Re: Datatransfer via serial line"
- In reply to: Dave Clarke: "Re: Datatransfer via serial line"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 28 Jan 2005 16:33:04 GMT
On 2005-01-28, Dave Clarke <pinggetridofthisbituino@operamail.com> wrote:
>> 1) receive data from remote device
>> 2) update the data lists in my application
>> 3) send the updated lists to the remote device
>>
>> What is the best way to transfer the data over the serial line?
>>
>> Do I just rely on the transmission quality or, if not, how do I ensure
>> that every piece of data is transmittet correctly?
>>
>> I'd be glad to hear any kind of idea. Thank you.
>
> Wrap a bit of protocol round the data. Add a checksum, so you
> can detect errors, then you can have a simple ACK/NAK
> protocol. Add a sequence number, then you can tell if any data
> got lost on the way.
Or just run PPP.
--
Grant Edwards grante Yow! I feel better about
at world problems now!
visi.com
- Next message: Jan Kandziora: "Re: SIGSTOP and Interrupted System Call"
- Previous message: Dave Clarke: "Re: Datatransfer via serial line"
- In reply to: Dave Clarke: "Re: Datatransfer via serial line"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]