![]() |
RFID API Documentation
1.0
Reference guide for RFID API
|
This struct contains the parameters for BlockPermalock Access Operation. More...
Data Fields | |
| MEMORY_BANK | memoryBank |
| Memory bank on which access operation is to be performed. More... | |
| BOOLEAN | readLock |
| ReadLock specifies whether a tag backscatters the perlock status of, or permalocks, one of more blocks within the memory bank as specified. More... | |
| UINT16 | byteOffset |
| Byte offset; Address of the first byte for the Mask. More... | |
| UINT16 | byteCount |
| Specifies the range of Mask, starting from byteOffset and ending (16xBlockRange)-1 blocks later. More... | |
| UINT32 | accessPassword |
| Password to be used for the Access operation. More... | |
| UINT8 * | pMask |
| Mask specifies which memory blocks a tag permalocks. More... | |
| UINT16 | maskLength |
| Number of bytes in pMask to be taken for comparison. More... | |
| LPVOID | lpReserved [4] |
| Reserved for future. More... | |
This struct contains the parameters for BlockPermalock Access Operation.
| MEMORY_BANK BLOCK_PERMALOCK_ACCESS_PARAMS::memoryBank |
Memory bank on which access operation is to be performed.
| BOOLEAN BLOCK_PERMALOCK_ACCESS_PARAMS::readLock |
ReadLock specifies whether a tag backscatters the perlock status of, or permalocks, one of more blocks within the memory bank as specified.
when readLock is true, it performs block perma lock in specified memory bank starting at offset. When readLock is false, the Reader get the permalock mask.
| UINT16 BLOCK_PERMALOCK_ACCESS_PARAMS::byteOffset |
Byte offset; Address of the first byte for the Mask.
| UINT16 BLOCK_PERMALOCK_ACCESS_PARAMS::byteCount |
Specifies the range of Mask, starting from byteOffset and ending (16xBlockRange)-1 blocks later.
This is valid only when readLock is false. i.e. for read operation
| UINT32 BLOCK_PERMALOCK_ACCESS_PARAMS::accessPassword |
Password to be used for the Access operation.
| UINT8* BLOCK_PERMALOCK_ACCESS_PARAMS::pMask |
Mask specifies which memory blocks a tag permalocks.
Masks depends on the readLock as follows: When readLock is false, the Reader omits permalock mask.
when readLock is true, the Reader should permalock as specified by the Mask. The application should allocate an UINT8 array and assign it to this field. The Mask to be used for bit-wise comparison should be filled in the array.
| UINT16 BLOCK_PERMALOCK_ACCESS_PARAMS::maskLength |
Number of bytes in pMask to be taken for comparison.
| LPVOID BLOCK_PERMALOCK_ACCESS_PARAMS::lpReserved[4] |
Reserved for future.