org.openmuc.jmbus
public class VariableDataStructure extends java.lang.Object
Constructor and Description |
---|
VariableDataStructure(byte[] buffer,
int offset,
int length,
SecondaryAddress linkLayerSecondaryAddress,
java.util.HashMap<java.lang.String,byte[]> keyMap) |
Modifier and Type | Method and Description |
---|---|
void |
decode() |
void |
decodeDeep() |
byte[] |
decryptMessage(byte[] key) |
int |
getAccessNumber() |
static java.lang.String |
getByteArrayString(byte[] byteArray) |
java.util.List<DataRecord> |
getDataRecords() |
EncryptionMode |
getEncryptionMode() |
byte[] |
getManufacturerData() |
int |
getNumberOfEncryptedBlocks() |
SecondaryAddress |
getSecondaryAddress() |
int |
getStatus() |
java.lang.String |
toString() |
public VariableDataStructure(byte[] buffer, int offset, int length, SecondaryAddress linkLayerSecondaryAddress, java.util.HashMap<java.lang.String,byte[]> keyMap) throws DecodingException
DecodingException
public void decode() throws DecodingException
DecodingException
public void decodeDeep() throws DecodingException
DecodingException
public SecondaryAddress getSecondaryAddress()
public int getAccessNumber()
public EncryptionMode getEncryptionMode()
public byte[] getManufacturerData()
public int getNumberOfEncryptedBlocks()
public int getStatus()
public java.util.List<DataRecord> getDataRecords()
public byte[] decryptMessage(byte[] key) throws DecodingException
DecodingException
public java.lang.String toString()
toString
in class java.lang.Object
public static java.lang.String getByteArrayString(byte[] byteArray)