7.8 RFID READ/WRITE
Description
This command allows you to write or read to an RFID tag.
Syntax
RFID a,b,format,start block,size,memory bank,data
WRITE = write to the tag
READ = read the tag
0 = write without lock.
1 to FFFFFFFF in hex = write and lock
the data block to
prevent it from
being
overwritten.
0 = read without unlock.
1 to FFFFFFFF in hex = read and unlock
the data block so
it can be
overwritten later.
A letter specifying the representation format of the field data.
A = ASCII
H = Hex
Specifies the number of blocks to read. This option is valid only for the read operation. (0 to FFFF in hex)
Write/Read data size from 1 to n in decimal number.
Note:
- When using WRITE, if the "size" is larger than the "data", it will be padded with 0 in front of the data to read.
- When using READ, if the "size" is larger than the WRITE "data", it will be padded with 0 in back of the data to read.
- Refer to the example 3 of sample code.