Quantcast
Channel: MCS Electronics Forum
Viewing all articles
Browse latest Browse all 20562

BASCOM-AVR : RS 232 Data validation On wireless transmision : REPLY

$
0
0
If the sent data only consists of a word or a few, then just send it three times in a row and compare at the receiver before you take it as received data or request or wait for new data. Depending on the importance you can also accept if only two are the same. That should be easy enough to code. CRC is not a 100% safe thing either. There is a slight chance that two or more bits in different bytes are changed and give a correct checksum. Even NASA seemed to use the three result check and cancel one wrong system. Hubert

Viewing all articles
Browse latest Browse all 20562

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>