User's Manual

13 | P a g e www.eccel.co.uk
Response
description
ACK
1
0x00
Command ID
1
0x0B
SET_COMM_SETTINGS
Example:
HOST=>READER: 0x0B – SET_COMM_SETTINGS
0x05 – baudrate 115200
0x81 – new RS485 module own address
0x01 – termination
0x31 0x32 0x33 -x34 – Short name
READER=>HOST: 0x00 – ACK byte
0x0B – related command code SET_COMM_SETTINGS
3.1.14 Get communication settings (0x0C)
This command gets communication settings.
Command d
escription
Argument
Size
Value
Description
Command ID
1
0x0C
GET_COMM_SETTINGS
Response
description
ACK
1
0x00
Command ID
1
0x0C
GET_COMM_SETTINGS
Baudrate ID 1
X
0x00
4800kbps
0x01 – 9600kbps
0x02 - 19200 kbps
0x03 - 38400 kbps
0x04 - 57600 kbps
0x05 - 115200 kbps (factory default)
Bus address
1
X
Bus address byte. Default value is 0x80
Termination 1
X
0x00
termination disabled
0x01 – termination enabled
Short name
4
X
Four ASCII bytes with device description
Example:
HOST=>READER: 0x0C – GET_COMM_SETTINGS
READER=>HOST: 0x00 – ACK byte
0x0C – related command code GET_COMM_SETTINGS
0x05 – baudrate 115200
0x81 – bus address 0x81
0x01 – termination enabled
0x31 0x32 0x33 -x34 – Short name
3.1.15 Reset to factory defaults (0x0D)
This command resets settings to factory default. The reader sends an ACK using the old settings, then
reboots. The host application should wait at least 1000ms before sending another command.
Command descript
ion
Argument
Size
Value
Description
Command ID
1
0x0D
FACTORY_RESET