-
12.7.8 RFID_WRITE
Description:
Tag write operation’s parameter.
Define:
typedef struct RFID_WRITE_TAG {
HWND hWnd;
//Parent window
RFIDPROC lpfnStartProc;
RFIDPROC lpfnStopProc;
BOOL32 verify;
INT32U verifyRetryCount;
RFID_18K6C_MEMORY_BANK bank;
INT32U accessPassword;
INT16U offset;
INT16U count;
Int16U pnData[8];
}RFID_WRITE;
Fields:
hWnd
– The parent window which issue the Tag operation.
lpfnStartProc
- Application-defined callback function. The RFID Reader Interface call
this function before execute Tag operation.
lpfnStopProc
- Application-defined callback function. The RFID Reader Interface call
this function after finished Tag operation.
verify
– A flag that indicates if the data written to the tag should be read back from the
tag to verify that it was successfully written. A non-zero value indicates that the tag's
memory should be read to verify.
verifyRetryCount
– The maximum number of times the write should be retried if the
write-verify failure. This value must be between 0 and 7.
accessPassword
– The access password for the tags. A value of zero indicates no
access password.
bank
– The memory bank from which to read.
offset –
The offset of the first 16-bit word to read from the specified memory bank.
count –
The number of 16-bit words to read.(If this value zero and bank is EPC, the
read returns the contents of the EPC starting at the 16-bit word specified by offset
through the end of the EPC.This value must be in the range 1 to 8, inclusive.)
pnData[8]
– Contains the data to be written to the tag's specified memory bank. The
high-order byte of pnData[n] is written to the tag's memory-bank byte at 16-bit
offset( n). The low-order byte is write to the next byte.