Special and Net Param Manual
Special and Net Param Manual
The reader communicates with host (MCU, MPU, Controller) using serial communication interface RS232/
RS485 or USB or TCPIP and complete corresponding operation according to the host command. The default serial
communication parameter is 115200bps 1 start bit, 8 data bits, 1 stop bit without parity check bit. In the process of
communication, the least significant bit of one byte is transmitted first and the least significant byte of command
data sequence is transmitted first.
2. PROTOCOL DESCRIPTION
A communication procedure is sponsored by the host sending commands and data to the reader and the
reader returns the result status and data to host after command execution.
Reader executes a command after receiving it. Only after command execution completed, the reader would
be able to receive another command. During the implementation of one command, the reader ignores all other
command data received.
The following table shows the process of the host computer sending command:
HOST DIRECTION READER
Command Data Block →
The reader completes command execution after receiving host command and returns the results. During the
period, it doesn’t process any host data. The feedback of command execution results is as follows:
READER DIRECTION HOST
Response Data Block →
1
UHF RFID Reader User's Manual V1.4
2
UHF RFID Reader User's Manual V1.4
The default value of the reader address is 0x00. The host may change it by using reader-defined command
“Write Adr”.
CheckSum computation includes all data from Len. A CheckSum computation program is presented as
follow:
C-Example:
unsigned char CheckSum(unsigned char *uBuff, unsigned short iBuffLen)
{
unsigned char uSum=0;
unsigned short i = 0;
for(i=0;i< iBuffLen;i++)
{
uSum = uSum + uBuff[i];
}
uSum = (~uSum) + 1;
return uSum;
}
3
UHF RFID Reader User's Manual V1.4
CMD_READ_DEVIC
12 0x2E
E_SPECIAL_PARAM
Eg:
Send:53 57 00 03 FF 2E 26
Recv: 43 54 00 85 00 2E 01 C3 55 00 00...
C3:DevType
55:Default param switch. None 55 default param.
00 00...:Special params
4
UHF RFID Reader User's Manual V1.4
CMD_SET_DEVICE_
13 0x2F
SPECIAL_PARAM
Eg:
Send:53 57 00 12 FF 2F C3 55 00 00 ......
C3:DevType.If DevType is not same, device return false.
55: Default param switch. None 55 default param.
00 00.....:Special params
Recv:43 54 00 04 00 2F 01 35
01:Success 00:Failed
5
UHF RFID Reader User's Manual V1.4