Resynchronize protocol command – MagTek MCP User Manual
Page 19
Section 3. Transport Frame Types
13
Resynchronize Protocol Command
Command Code: 0 (0000)
S-frame Type: Request/Response
Request PCB: 90 (Hex)
Response PCB: A0 (hex)
Description:
This request is used to resynchronize the protocol as part of error recovery (e. g., unrecoverable
sequence errors, retries exceeded, etc.). The transport may also use this at the beginning of the
session to initialize the sequence numbers of the device.
The recipient of this request must do each of the following:
•
set their next expected sequence number (N(R)) to zero
•
set their send sequence number (N(S)) to zero
•
discard any previously sent frames that may be buffered
•
respond with a resynchronize protocol response (same as the request except the S-
frame type is response)
Request Data: None
Response Data:
Result Code
Result Codes:
Success = 00 (Hex)
This command should always succeed.