Dil ID: 1
Dil Adı: english
Dil Kodu: en3 Aerco Brand's Products
Dünyanın En Büyük
Elektronik Bilgi Kütüphanesi



5555555555
It is simply to control the keypad, just only use ‘read’ system call, the
subsequently section therefore only discusses how to control the RFID
module.
3-5-2 Controlling the RFID Module
To control the RFID module, a user needs to use the following
commands to RFID reader.
1. Read a block:
Request: 0x1B, ‘r’, block number
Response: 0x1B, data byte-count, RspData
0x1B, 0x05, “Fail!”
EX: Request: 0x1B, ‘r’, 0x01
Response: 0x1B, 0x05, 0x00, 0x01, 0x02, 0x03, 0x04
2. Write a block:
Request: 0x1B, ‘w’, block number, data
Response: 0x1B, 0x05, “Done!”
0x1B, 0x05, “Fail!”
EX: Request: 0x1B, ‘w’, 0x01, 0x01, 0x02, 0x03, 0x04
Response: 0x1B, 0x05, “Done!”
3. Read UID:
Request: 0x1B, ‘i’
Response: 0x1B, data byte-count, RspData
0x1B, 0x05, “Fail!”
EX: Request: 0x1B, ‘i’
Response: 0x1B, 0x0E, 0x0F, 0x79, 0x66, 0x47, 0x01, 0x00,
0x00, 0x07, 0xE0, 0x00, 0x00, 0x3F, 0x03, 0x87
4. Change the baud rate:
Request: 0x1B, ‘B’, 0x00 (4800bps)
0x1B, ‘B’, 0x01 (9600bps)
0x1B, ‘B’, 0x02 (14400bps)
0x1B, ‘B’, 0x03 (19200bps)
0x1B, ‘B’, 0x04 (28800bps)
0x1B, ‘B’, 0x05 (38400bps)
54