Package com.zebra.rfid.api3
Class BlockPermalockAccessParams
- java.lang.Object
-
- com.zebra.rfid.api3.BlockPermalockAccessParams
-
public class BlockPermalockAccessParams extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description BlockPermalockAccessParams()Constructor.BlockPermalockAccessParams(MEMORY_BANK m_eMemoryBank, boolean m_bReadLock, int m_nByteOffset, int m_nByteCount, long m_nAccessPassword, int m_nMaskLength, byte[] m_pMask)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description longgetAccessPassword()Password to be used for the Access operation.intgetByteCount()Deprecated.Number of Bytes for the Mask.intgetByteOffset()Deprecated.Byte offset; Address of the first word for the Mask.intgetCount()Number of words for the Mask.byte[]getMask()Mask specifies which memory blocks a tag permalocks.intgetMaskLength()Number of bytes in pMask to be taken for comparison.MEMORY_BANKgetMemoryBank()Memory Bank on which Block Permalock operation is to be performed.intgetOffset()Byte offset; Address of the first byte for the Mask.booleangetReadLock()ReadLock specifies whether a tag backscatters the perlock status of, or permalocks, one of more blocks within the memory bank as specified.voidsetAccessPassword(long accessPassword)Password to be used for the Access operation.voidsetByteCount(int byteCount)Deprecated.Number of Bytes for the Mask.voidsetByteOffset(int byteOffset)Deprecated.Byte offset; Address of the word byte for the Mask.voidsetCount(int Count)Number of words for the Mask.voidsetMask(byte[] mask)Mask specifies which memory blocks a tag permalocks.voidsetMaskLength(int maskLength)Number of bytes in pMask to be taken for comparison.voidsetMemoryBank(MEMORY_BANK memoryBank)Memory Bank on which Block Permalock operation is to be performed.voidsetOffset(int Offset)Byte offset; Address of the first byte for the Mask.voidsetReadLock(boolean readLock)ReadLock specifies whether a tag backscatters the perlock status of, or permalocks, one of more blocks within the memory bank as specified.
-
-
-
Constructor Detail
-
BlockPermalockAccessParams
public BlockPermalockAccessParams(MEMORY_BANK m_eMemoryBank, boolean m_bReadLock, int m_nByteOffset, int m_nByteCount, long m_nAccessPassword, int m_nMaskLength, byte[] m_pMask)
-
BlockPermalockAccessParams
public BlockPermalockAccessParams()
Constructor.
-
-
Method Detail
-
getMemoryBank
public MEMORY_BANK getMemoryBank()
Memory Bank on which Block Permalock operation is to be performed.
-
setMemoryBank
public void setMemoryBank(MEMORY_BANK memoryBank)
Memory Bank on which Block Permalock operation is to be performed.
-
getReadLock
public boolean getReadLock()
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.- Returns:
-
setReadLock
public void setReadLock(boolean 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.
-
getOffset
public int getOffset()
Byte offset; Address of the first byte for the Mask.
-
setOffset
public void setOffset(int Offset)
Byte offset; Address of the first byte for the Mask.
-
getCount
public int getCount()
Number of words for the Mask.
-
setCount
public void setCount(int Count)
Number of words for the Mask.
-
getByteOffset
public int getByteOffset()
Deprecated.Byte offset; Address of the first word for the Mask.
-
setByteOffset
public void setByteOffset(int byteOffset)
Deprecated.Byte offset; Address of the word byte for the Mask.
-
getByteCount
public int getByteCount()
Deprecated.Number of Bytes for the Mask.
-
setByteCount
public void setByteCount(int byteCount)
Deprecated.Number of Bytes for the Mask.
-
getAccessPassword
public long getAccessPassword()
Password to be used for the Access operation.
-
setAccessPassword
public void setAccessPassword(long accessPassword)
Password to be used for the Access operation.
-
getMaskLength
public int getMaskLength()
Number of bytes in pMask to be taken for comparison.
-
setMaskLength
public void setMaskLength(int maskLength)
Number of bytes in pMask to be taken for comparison.
-
getMask
public byte[] getMask()
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 short array and assign it to this field. The Mask to be used for bit-wise comparison should be filled in the array.- Returns:
-
setMask
public void setMask(byte[] mask)
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 short array and assign it to this field. The Mask to be used for bit-wise comparison should be filled in the array.
-
-