tuwien.auto.eibxlator
Class PointPDUXlator_String
public class PointPDUXlator_String
This class implements KNX DPT 16 (String) with minor types 000 (ASCII string)
and 001 (ISO 8859-1 encoded string).
DPT_String_8859_1
public static final String[] DPT_String_8859_1
Nr. 16.001 Datapoint Type DPT_String_8859_1
DPT_String_ASCII
public static final String[] DPT_String_ASCII
Nr. 16.000 Datapoint Type DPT_String_ASCII
PointPDUXlator_String
public PointPDUXlator_String()
Dummy constructor only used for initialising the eiclMap. Don't use this.
PointPDUXlator_String
public PointPDUXlator_String(String _PointType_Minor_Key)
throws EICLException
Inits the object with the given minor type
_PointType_Minor_Key
- the requested minor type key ("16.000", "16.001")
getAPDUByteArray
public byte[] getAPDUByteArray()
Converts the input values to the KNX/EIB network format.
The string defined via setASDUfromString() is converted to US-ASCII or
ISO-8859-1 as defined by the chosen minor type. Unmappable characters are
silently replaced, typically with question marks.
- getAPDUByteArray in interface PointPDUXlator
- The TPDU, which is always 16 bytes in size for this DPT (1 octet
TPCI/APCI, 1 octet APCI, 14 octets data).
getASDUasString
public String getASDUasString()
Returns the String represented by the ASDU.
- getASDUasString in interface PointPDUXlator
- The string interpretation of the ASDU.