public class VariableDataStructure
extends java.lang.Object
decode()| Constructor and Description |
|---|
VariableDataStructure(byte[] buffer,
int offset,
int length,
SecondaryAddress linkLayerSecondaryAddress,
java.util.Map<SecondaryAddress,byte[]> keyMap) |
| Modifier and Type | Method and Description |
|---|---|
void |
decode()
This method is used to
|
byte[] |
decryptMessage(byte[] key) |
int |
getAccessNumber() |
java.util.List<DataRecord> |
getDataRecords() |
EncryptionMode |
getEncryptionMode() |
byte[] |
getHeader() |
byte[] |
getManufacturerData() |
int |
getNumberOfEncryptedBlocks() |
SecondaryAddress |
getSecondaryAddress() |
int |
getStatus() |
boolean |
moreRecordsFollow() |
java.lang.String |
toString() |
public VariableDataStructure(byte[] buffer,
int offset,
int length,
SecondaryAddress linkLayerSecondaryAddress,
java.util.Map<SecondaryAddress,byte[]> keyMap)
public void decode()
throws DecodingException
DecodingExceptionpublic SecondaryAddress getSecondaryAddress()
public int getAccessNumber()
public EncryptionMode getEncryptionMode()
public byte[] getManufacturerData()
public int getNumberOfEncryptedBlocks()
public int getStatus()
public java.util.List<DataRecord> getDataRecords()
public boolean moreRecordsFollow()
public byte[] getHeader()
public byte[] decryptMessage(byte[] key)
throws DecodingException
DecodingExceptionpublic java.lang.String toString()
toString in class java.lang.Object