-
12.7.13 RFID_LOCK
Description:
The structure of Tag locks function.
Define:
typedef struct RFID_LOCK_TAG {
HWND hWnd;
//Parent window
RFIDPROC lpfnStartProc;
RFIDPROC lpfnStopProc;
INT32U accessPassword;
INT32U killPasswordPermissions;
INT32U accessPasswordPermissions;
INT32U epcBankPermissions;
INT32U tidBankPermissions;
INT32U userBankPermissions;
}RFID_LOCK;
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.
accessPassword
- Access password for the tags(zero indicates
no access password).
killPasswordPermissions
- The access permissions for the tag's kill password.
accessPasswordPermissions
- The access permissions for the
tag's access password.
epcBankPermissions
- The access permissions for the tag's
EPC memory bank.
tidBankPermissions
- The access permissions for the tag's TID memory bank.
userBankPermissions
- The access permissions for the tag's USER memory bank.
The access permissions can be set as below:
Name Value
Description
Allow
0
Password permission: Can be read and write.
Bank permission: The memory bank is writeable.
Always Allow
1
Password permission: Can be read and write.
Bank permission: The memory bank is writeable.
This permission is set permanently.
Password protected
2
Password permission: Need password to read and write.
Bank permission: Need password to write to the memory
bank.
Always Deny
3
Password permission: Can not be read and write.
When the kill password permission is set to be this value,
the tag can not be killed.
Bank permission: The memory bank can not be written.
This permission is set permanently.
No Change
4
The permission should remain unchanged.
Access permissions' values' Table