Elatec GmbH
Page 25 of 50
6.1 HID Prox Transparent Protocol
Due to the fact, the TWN3 HID Prox performs read access only, there are no commands available,
which can be sent to the reading module. The data received from the module is formatted as follows:
•
If a transponder is read, a ASCII string is sent which is terminated by carriage return.
•
The first character represents the number of valid bits, the remaining bytes do contain these
bits.
•
Two hexadecimal digits represent one byte.
•
The first byte specifies the number of valid bits in the following ID.
•
The remaining bytes do contain the ID itself.
Example:
Data sent by the reader:
1A808001C0<CR>
The first byte is 0x1A, 26 decimal. There are four bytes necessary to transport 26 bits. These bytes do
contain:
Byte
1
2
3
4
Byte Value
0x80
0x80
0x01
0xC0
Bit Values
1000 0000
1000 0000
0000 0001
11(00 0000)
Please note, that the unused bits are the lowest significant bits of the last bytes.
6.2 IndiTag Transparent Protocol
Due to the fact, the TWN3 IndiTag performs read access only, there are no commands available,
which can be sent to the reading module. The data received from the module is formatted as follows:
•
If a transponder is read, a ASCII string is sent which is terminated by carriage return and line
feed.
•
A line always starts with a colon.
•
The following characters represent the ID and a trailing checksum.
•
Two hexadecimal digits represent one byte.
•
The checksum is the 2
nd
complement of the addition of the ID bytes.
Example:
Data sent by the reader:
:112233445501<CR><LF>
The ID is 1122334455 (hexadecimal) and the checksum is 01 (hexadecimal)