TransCore 05716 Manuel D’Utilisation

Page de 210
Multiprotocol Rail Reader System Guide
6-8
Upon receiving a host command, the MPRR echoes the 
command’s sequence number in its response. Therefore, the host 
computer updates its sequence number upon receipt of a valid 
reader message. If the sequence number is not updated before 
transmission of the next command, the MPRR will not service the 
new command; it will retransmit its previous message. A 
command/message sequence is not complete until the host 
updates its sequence number.
<cmd>
Command code, a string that contains from two to four ASCII 
hex characters
[<data>]
Optional data field, an ASCII string of as many as 20 characters 
in length. For example, the store hardware configuration string 
command is #696S...S or command #696 Store Hardware 
Configuration String followed by the data string S...S.
<crc>
CRC value for the message
<eom>
End-of-message character (ASCII CR)
Reader Command Response
The basic protocol format is
<som><resp><eom>
The ECP format is
<som><seq><resp><crc><eom>
where
<som>
Start-of-message (ASCII # character)
<seq>
Echo of sequence number received in host command message
<resp>
Response string. The MPRR returns
 
Done
, Error, or another 
ASCII string depending on the host transmission. This string can 
be up to 72 characters long.
<crc>
CRC value for the message
<eom>
End-of-message character (ASCII CR and LF)
Sample Messages
This section contains examples of typical messages transmitted between the MPRR 
and the host computer.