![UIC Bezel 5 Programmer'S Manual Download Page 28](http://html1.mh-extra.com/html/uic/bezel-5/bezel-5_programmers-manual_3278495028.webp)
UIC Bezel5 Programmer’s Manual
Page.28/166
UDN PM098 Rev. 1.0
Copyright © 2013, Uniform Industrial Corp. All Rights Reserved
3.3.
Reader Configurations
3.3.1.
Transmission Protocol
The user may select from two different protocols: Protocol 0 and 2.
Upon reset, the reader will send out the default power-on character “:”, or any character specified
by the configuration setting.
Important:
When the Bezel5 reader is working in the USB interface mode, we need to add the header byte C2h
and the 2-byte data length before the command.
Protocol 0
In Protocol 0, all characters are transmitted and received using exactly the characters listed in
Section 4. There are no headers and Block Check Characters (BCC). Protocol 0 presumes no
transmission errors. If the host detects an error, it may request a retransmission.
Example of Protocol 0, RS232 Interface
Example of Protocol 0, USB Interface (Optional)
Protocol 2
In Protocol 2, all messages are preceded by the ASCII character <SOH>, followed by a one byte
reader address, two bytes character count and terminated with a one byte <BCC>.
The <BCC> is an XOR of the characters (8 bits) in the entire message, including <SOH>.
Format: <SOH><ADDRESS><00Hex><COUNT><MESSAGE><BCC>
Host Command
Reader Response
Comment
P
Ready to read
^
Reader ACK
Host Command
Reader Response
Comment
<C2h><00h><01h>P
Ready to read
<C2h><00h><01h>^
Reader ACK