20190905
13
02H 59H bin <DATA…> 03H
DEVICE to HOST (1 bytes)
ACK/NACK
n
=30H, Show text message to LCD, but never keep it.
31H<=
n
<=3CH, Show text message to LCD, and save it to the text message page
n
.
The maximum number of text message is 32 digits for each page and can save 12 pages maximum.
Note: This new saved message will replace the pre-saved page or factory default page for next use.
Device will reply
NACK
if the message is over this maximum value.
Device will reply
ACK
and display this message on LCD, if this command is acknowledged.
M.
Enable/Disable LCD backlight
HOST to DEVICE (4 bytes)
STX
b
n
ETX
02H
62H Bin 03H
DEVICE to HOST (1 bytes)
ACK/NACK
n
=31H, Enable LCD backlight.
n
=30H, Disable LCD backlight.
Device will reply
ACK
, if this command is acknowledged. Otherwise, reply
NACK
.
N.
Notice Message
Notice Message is Device to send a notice to host automatically.
O.
Enable/Disable Client mode
HOST to DEVICE (4 bytes)
STX
R
n
<P0,…,P3>
ETX
02H
52H Bin Bin
03H
DEVICE to HOST (1 bytes)
ACK/NACK
n
=31H, Enable Client mode
n
=30H, Disable Client (default)
Setting four bytes IP address like 0xc0(192),0xa8(168),0x64(100),0x79(121)
P.
Relay signal controll
HOST to DEVICE (4 bytes)
STX
c
P0
P1
P2 ETX
02H
63H Bin Bin
Bin 03H
DEVICE to HOST (1 bytes)
ACK/NACK
Events
Message
Card read OK
<STX>+<S>+<TK data bytes>+<ETX>
Card read error
<STX>+<E>+<ETX>
Time out
<STX>+<O>+<ETX>