public class SecondaryAddress
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
byte[] |
asByteArray() |
Bcd |
getDeviceId()
Returns the device ID.
|
DeviceType |
getDeviceType()
Returns the device type (e.g.
|
static SecondaryAddress |
getFromHexString(java.lang.String hexString) |
static SecondaryAddress |
getFromLongHeader(byte[] buffer,
int offset) |
static SecondaryAddress |
getFromManufactureId(byte[] idNumber,
java.lang.String manufactureId,
byte version,
byte media) |
static SecondaryAddress |
getFromWMBusLinkLayerHeader(byte[] buffer,
int offset) |
int |
getHashCode() |
java.lang.String |
getManufacturerId() |
int |
getVersion() |
java.lang.String |
toString() |
public static SecondaryAddress getFromLongHeader(byte[] buffer, int offset)
public static SecondaryAddress getFromWMBusLinkLayerHeader(byte[] buffer, int offset)
public static SecondaryAddress getFromHexString(java.lang.String hexString) throws java.lang.NumberFormatException
java.lang.NumberFormatException
public static SecondaryAddress getFromManufactureId(byte[] idNumber, java.lang.String manufactureId, byte version, byte media) throws java.lang.NumberFormatException
java.lang.NumberFormatException
public byte[] asByteArray()
public int getHashCode()
public java.lang.String getManufacturerId()
public Bcd getDeviceId()
public DeviceType getDeviceType()
public int getVersion()
public java.lang.String toString()
toString
in class java.lang.Object