User's Manual
HF Mifare Easy Module V1.0
ACG Identification Technologies GmbH 24
7 Software
As default data is transmitted at 9600,n, 8,1, no handshaking. Two protocol modes
are supported. The protocol mode is configured in the reader EEPROM. As factory
default, the ASCII protocol is used.
7.1 ASCII Protocol
This protocol is designed for easy handling. The commands are issued using a
terminal program. Data is transmitted as ASCII hexadecimal that can be displayed on
any terminal program (i.e. HyperTerminal).
Command Data
Various length Various length
Figure 7-1: ASCII protocol frame
7.2 Binary Protocol
This protocol is designed for industrial applications with synchronization and frame
checking. Also an addressing byte for party line (master slave, multi drop) is
included.
The protocol usually requires a device driver. Data is transmitted binary. The reader
uses a binary watchdog timer internally to ensure correct framing.
STX Station ID
Length Data BCC ETX
1 byte 1 byte 1 byte Various length 1 byte 1 byte
Figure 7-2: Binary Frame
7.2.1 STX
Start of transmission (02h)
7.2.2 Station ID
Unique ID of the station
00h: reserved for the bus master. Readers send response to this device ID.
FFh: Broadcast message. All devices will execute the command and send its
response.
7.2.3 Length
Data Length Indicator.
Denotes the length of the Data block.