??? 04/23/05 10:29 Read: times |
#92225 - Review Responding to: ???'s previous message |
Kiran Kannur said:
I am totally confused as what do I do with this You need error detection and recovery. As described earlier, a CRC gives you error detection, and you can easily do error recovery by retransmission: http://www.8052.com/forum/read.phtml?id=92118 As Erik said, you need to set your block size so that retransmission is not too much of an overhead. You could even do this dynamically - reduce the block size when the retransmission rate is high, increase it when it's low. To avoid complete loss of an entire packet, you need some sort of sequence numbering - it could be just a single bit, if you only ever allow 1 outstanding message (window size = 1). I haven't looked into Michael's protocol - he's given the code, so check it out. |
Topic | Author | Date |
PC to 8051f020 Communication | 01/01/70 00:00 | |
Protocol | 01/01/70 00:00 | |
Protocols | 01/01/70 00:00 | |
Packet Protocol.... | 01/01/70 00:00 | |
way to complex | 01/01/70 00:00 | |
The Project | 01/01/70 00:00 | |
Review | 01/01/70 00:00 | |
Search Keywords | 01/01/70 00:00 | |
RFC935 | 01/01/70 00:00 | |
Got it right!! | 01/01/70 00:00 | |
dynamic resizing | 01/01/70 00:00 | |
Re: dynamic resizing | 01/01/70 00:00 | |
My Opinion, whether you want it or not.. | 01/01/70 00:00 | |
Careless talk | 01/01/70 00:00 | |
Re: dynamic resizing | 01/01/70 00:00 | |
No good! | 01/01/70 00:00 | |
testing![]() | 01/01/70 00:00 | |
Re: My Opinion, whether .... | 01/01/70 00:00 |