|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttuwien.auto.calimero.knxnetip.util.DIB
public abstract class DIB
Description Information Block (DIB).
A DIB is used to return device specific information.
This DIB is a common base for more detailed description formats contained in DIBs. For
usage of the different description information available, refer to the DIB subtypes.
The currently known valid descriptor type codes (KNXnet/IP core specification v1.2) are defined as available DIB constants.
Field Summary | |
---|---|
static short |
DEVICE_INFO
Description type code for device information e.g. |
static short |
MFR_DATA
Description type code for further data defined by device manufacturer. |
static short |
SUPP_SVC_FAMILIES
Description type code for service families supported by the device. |
Constructor Summary | |
---|---|
protected |
DIB(byte[] data,
int offset)
Creates a new DIB out of a byte array. |
Method Summary | |
---|---|
short |
getDescTypeCode()
Returns the description type code of this DIB. |
short |
getStructLength()
Returns the structure length of this DIB in bytes. |
byte[] |
toByteArray()
Returns the byte representation of the whole DIB structure. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final short DEVICE_INFO
public static final short MFR_DATA
public static final short SUPP_SVC_FAMILIES
Constructor Detail |
---|
protected DIB(byte[] data, int offset) throws KNXFormatException
data
- byte array containing DIB structureoffset
- start offset of DIB in data
KNXFormatException
- if no DIB found or invalid structureMethod Detail |
---|
public final short getDescTypeCode()
The type code specifies which kind of description information is contained in the DIB.
public final short getStructLength()
public byte[] toByteArray()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |