xmodem: Only increment sequence number on ACK#52
Conversation
Otherwise a double fault causes transfer to be terminated because of a sequence error Signed-off-by: Andrew Andrianov <andrew@ncrmnt.org>
|
That was sitting in the closet for a while. If I remember xmodem correctly we have to increment sequence only on ACK. If we get NACK, we resend 'as is'. Otherwise, things got broken after two successive NACKs for me. |
|
understood, I agree that you are correct, that sequence number only increments on ACK, from http://textfiles.com/programming/ymodem.txt
|
Otherwise a double fault causes transfer to be terminated
because of a sequence error
Signed-off-by: Andrew Andrianov andrew@ncrmnt.org