TransCore 05716 Manuel D’Utilisation

Page de 210
Multiprotocol Rail Reader System Guide
6-12
Reader-Addressed Failure Conditions
The MPRR addresses the following failure conditions.
Illegal Sequence Number (not in the range 0–9, A–F)
If the MPRR detects an illegal sequence number in a host command message, it dis-
cards the received message and sends no response. If it receives an illegal sequence 
number in an ACK
 
message, it responds as if a NAK
 
had been received and retransmits 
the data.
Wrong Sequence Number
If the MPRR receives the wrong sequence number in an ACK
 
message, it responds as 
if a 
NAK
 had been received, and it retransmits the data.
Incorrect CRC
If the MPRR detects an incorrect CRC value in a host command message, it discards 
the received message. No response is sent. If it receives an incorrect CRC value in an 
ACK
 message, it responds as if a NAK had been received, and it retransmits the data.
Illegal Command
If the MPRR receives an illegal command, it returns its standard Error message.
Transmission Timeout
If the MPRR transmits an asynchronous message and the host does not send an ACK
 
before the ECP timeout occurs, the MPRR retransmits the message.
Receive Timeout
If the MPRR receives a 
<som> 
but does not receive a matching 
<eom> 
before the 
ECP timeout occurs, it discards the incomplete message and resets its receiver.
Asynchronous Message/Command Message Collision
If the MPRR transmits asynchronous data at the same time that the host sends a com-
mand, the MPRR gives priority to receiving the command. It processes the command 
and sends a message before it retransmits the asynchronous data.
Host-Addressed Failure Conditions
The host computer addresses the following failure conditions.
Illegal or Wrong Sequence Number
If the host detects an illegal or wrong sequence number in a reader response, it retrans-
mits the command with the same sequence number. If the host detects an illegal 
sequence number in an asynchronous reader transmission, it sends a NAK
 
message.