On 09/02/2015 06:47 PM, [email protected] wrote:
> is there a quarantee that bytes sent, are always received on the other
> side,
> [comport] to Arduino & vice versa?
> 

well, if you unplug the cable during transmission, then bytes might get
lost...

anyhow, the serial line is a little bit like UDP, as it doesn't have any
built-in capabilities to check whether everything was transmitted.
however, the main difference between UDP and the serial line is that
since there are only 2 peers in the "network", you can guarantee that no
3rd party is causing digestion that might lead to data loss.

so in practice, if you are using a a reliable physical medium (e.g. a
cable that is not being tempered with), then you can assume that all
bytes sent will also appear on the other side.

so the only remaining question is whether both peers have spare cycles
to actually handle all data that arrives.

gmadsr
IOhannes


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to