public class TagAccess.WriteAccessParams
extends java.lang.Object
Constructor and Description |
---|
WriteAccessParams()
Constructor
|
WriteAccessParams(MEMORY_BANK m_eMemoryBank,
int m_nByteOffset,
int m_nWriteDataLength,
long m_nAccessPassword,
byte[] m_WriteData) |
Modifier and Type | Method and Description |
---|---|
long |
getAccessPassword()
Password to be used for the Access operation.
|
int |
getByteOffset()
Deprecated.
Address of the first short to be written to the chosen memory bank.
Since Access operation is WORD aligned, offset be in double bytes.
|
MEMORY_BANK |
getMemoryBank()
Memory bank on which data is to be written to.
|
int |
getOffset()
Address of the first word to be written to the chosen memory bank.
|
java.lang.String |
getStringWriteData()
Returns data to be written in string format.
|
byte[] |
getWriteData()
Pointer to a short array which contains the data to be written.
|
int |
getWriteDataLength()
Length of the WriteData in words to be considered for write access operation.
|
int |
getWriteRetries()
Get the number of retries to be performed for write access operation
|
void |
setAccessPassword(long accessPassword)
Password to be used for the Access operation.
|
void |
setByteOffset(int byteOffset)
Deprecated.
Address of the first short to be written to the chosen memory bank.
Since Access operation is WORD aligned, offset be in double bytes.
|
void |
setMemoryBank(MEMORY_BANK memoryBank)
Memory bank on which data is to be written to.
|
void |
setOffset(int Offset)
Address of the first word to be written to the chosen memory bank.
|
void |
setWriteData(byte[] writeData)
Deprecated.
- use same API with string as parameter
Pointer to a short array which contains the data to be written.
Write operation occurs only on word boundaries, hence it is required to
input this field accordingly. For e.g The word 0x1122 will be short writeData[4] = {0x1,0x1,0x2,0x2}
|
void |
setWriteData(java.lang.String writeDataInStringFormat)
Pointer to a string which contains the data to be written.
|
void |
setWriteDataLength(int writeDataLength)
Length of the WriteData in words to be considered for write access operation.
|
void |
setWriteRetries(int writeRetries)
Number of retries to be performed for write access operation.
|
public WriteAccessParams(MEMORY_BANK m_eMemoryBank, int m_nByteOffset, int m_nWriteDataLength, long m_nAccessPassword, byte[] m_WriteData)
public WriteAccessParams()
public byte[] getWriteData()
public void setWriteData(java.lang.String writeDataInStringFormat)
public java.lang.String getStringWriteData()
public void setWriteData(byte[] writeData)
public MEMORY_BANK getMemoryBank()
public void setMemoryBank(MEMORY_BANK memoryBank)
public long getAccessPassword()
public void setAccessPassword(long accessPassword)
public int getOffset()
public void setOffset(int Offset)
public int getByteOffset()
public void setByteOffset(int byteOffset)
public int getWriteDataLength()
public void setWriteDataLength(int writeDataLength)
public int getWriteRetries()
public void setWriteRetries(int writeRetries)