EHUOYAN
YHY522R
RFID module
Page 13 of 36
reply success, else reply failure.
Table 9. Command--:Host
Æ
YHY522R
Send
Header
Length
Command
Data
XOR Checksum
0xAA
0xBB
0x02
0x0c
BCC
Table 10. Response--: YHY522R
Æ
Host
Receive
Head
Length
Status
Data
XOR Checksum
Success 0xAA
0xBB 0x02
0x0C
0x0E
Failure 0xAA
0xBB 0x02
0XF3
0Xf1
Table 11 Example
Send
AA BB 02 0C 0E
Description
AA BB
02
0C
0E
Head
Length
COMMAND
BCC=02
⊕
0C
Receive(Success)
AA BB 02 0C 0E
Description
AA BB
02
0C
0E
Head
Length
Status
BCC
Receive(Failure)
AA BB 02 F3 FE
Description
AA BB
02
F3
F1
Head
Length
Error
BCC
14.2.2 MSleep
After executing this Command the YHY522R will power down, waking up
the module it needs to give the
RST
pin a low-level pulse or Re-power on
the module.
Table 12. Command--:Host
Æ
YHY522R
Send
Header
Length
Command
Data
XOR Checksum
0xAA
0xBB
0x02
0x03
0x01
Table 13. Response--: YHY522R
Æ
Host
Receive
Head
Length
Status
Data
XOR Checksum
Success 0xAA
0xBB 0x02 0x03
0x01
Failure 0xAA
0xBB 0x02
0xFC
0xFE
Table 14. Example
Send
AA BB 02 03 01
Description
AA BB
02
03
01
Head
Length
COMMAND
BCC=02
⊕
03