tinoshot / python-astm

Automatically exported from code.google.com/p/python-astm
Other
0 stars 0 forks source link

Rotate frame number #20

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The ASTM spec says:

The frame number is an ASCII digit from 0 to 7. Its purpose is to permit the 
receiver to distinguish between new and re-transmitted frames. This single 
digit is sent immediately after the STX character. The frame number begins with 
1 when the transfer phase is initialized and increments by 1 each time a new 
frame is transmitted
and acknowledged. After 7, the frame number returns to 0 and repeats the above 
sequence.

Actual behaviour allows to increment frame number beyond of number 9 leading to 
rejection for such messages.

Original issue reported on code.google.com by kxepal on 2 Mar 2013 at 7:59

GoogleCodeExporter commented 9 years ago
Fixed in r9ec355c812b0

Original comment by kxepal on 2 Mar 2013 at 8:24