Problem with the XML conversion of the GXDLMPushSetup.java class
Project:
gurux.dlms.java
Greetings!
A problem occurs in the XML conversion of the GXDLMSPushSetup.java object, when the attribute number 3 (send_destination_and_method) is not a printable string.
This occurs because in the setValue() method of the GXDLMSPushSetup.java class a non-printable value can be assigned to the line 414:
setDestination(new String((byte[]) tmp.get(1)));
A hex string assignment is suggested:
setDestination(gurux.common.GXCommon.bytesToHex((byte[]) tmp.get(1)));
Status:
Active
Priority:
Normal
Category:
Bug report
Component:
Code
Reporter:
gunmox
Created:
Thu, 12/10/2020 - 18:50
Updated:
Thu, 12/10/2020 - 18:50