ID TECH SecureHead SPI with TMIV User Manual
Page | 19
4.10.
Review Serial Number
Command:
<STX><R><4Eh><ETX><CheckSum>
This command gets the device serial number.
4.11.
Message Formatting Selections (Only for Security Level 1 & 2)
4.11.1.
Terminator Setting
Terminator characters are used to end a string of data in some applications.
Command:
<STX><S><21h><01h><Terminator Settings><ETX><CheckSum>
<Terminator Settings>: Any one character, 00h is none; default is
CR
(0Dh).
4.11.2.
Preamble Setting
Characters can be added to the beginning of a string of data. These can be special characters for
identifying a specific reading station, to format a message header expected by the receiving host, or
any other character string. Up to fifteen ASCII characters can be defined.
Command:
<STX><S><D2h><Len><Preamble><ETX><CheckSum>
Where:
•
<Len>= the number of bytes of preamble string
•
<Preamble> = {string length}{string}
NOTE: String length is one byte, maximum fifteen <0Fh>.
4.11.3.
Postamble Setting
The postamble serves the same purpose as the preamble, except it is added to the
end
of the data
string, after any terminator characters.
Command:
<STX><S><D3h><Len><Postamble><ETX><CheckSum>
Where:
•
<Len> = the number of bytes of postamble string
•
<Postamble> = {string length}{string}
NOTE: String length is one byte, maximum fifteen <0Fh>.