Ticket #39012

XMODEM ACK/NACK used out of sequence

오픈 날짜: 2019-03-05 20:30 마지막 업데이트: 2021-12-30 02:13

Reporter:
(Anonymous)
소유자:
(None)
Type:
Status:
Closed
Component:
(None)
MileStone:
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Fixed
File:
None
Vote
Score: 0
No votes
0.0% (0/0)
0.0% (0/0)

Details

I use teraterm xmodem to send a file to my application X. Please note teh timing are NOT the remmended timing for xmodem, but they are no real specification, just suggestion for the author. When X receive a full block (lets say block 1), send back an ACK and wait ~15ms to see new data; but seems xmodem is taking up to 30ms. That is not a big problem, my program send a NACK after 15ms, then wait again; I expect to receive again block 1 if the fisrt ACK was lost, or block 2 if ACK was received. teraterm send block 2. Not a problem, i receive it and send an ACK. BUT now teraterm does NOT use the last receive byte (ACK) but instead uses the "old" NACK; it will resend block 2! that does not look as a big problem until you realize that ACK i sent will be seen as ACK for block 3, something we didn't even initialize.

A possible solution would be to use last received byte

Ticket History (3/3 Histories)

2019-03-05 20:30 Updated by: None
  • New Ticket "XMODEM ACK/NACK used out of sequence" created
2021-12-30 02:13 Updated by: zmatsuo
댓글 올리기

Received patch (ticket #43221) and adapted patch (r9654).

The xmodem problem has been fixed.

2021-12-30 02:13 Updated by: zmatsuo
  • Status Update from Open to Closed
  • Resolution Update from None to Fixed
  • Milestone Update from (None) to Tera Term 4.107

Attachment File List

No attachments

Edit

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Login