[PD] comport & Arduino

IOhannes m zmölnig zmoelnig at iem.at
Wed Sep 2 22:03:50 CEST 2015


On 09/02/2015 06:47 PM, rolfm at dds.nl 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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20150902/2e615c30/attachment.sig>


More information about the Pd-list mailing list