I ran the dlms simulator with parameters using command :
java -jar target/gurux.dlms.simulator.java-0.0.1-SNAPSHOT.jar -p -x crystal.xml -t Verbose -N 2 -X
when N = 2 i'm able to read data from DLMS client example in gurux's github repo using command :
java -jar .\target\gurux.dlms.client.example.java-0.0.1-SNAPSHOT.jar -h 10.0.8.8
-p 9654 -t Verbose -n 1
problem arises when i use N =3 or more in simulator command, after running simulator if i use the same client command, then i get invalid tag error.
Below is the error stack trace :
java.lang.IllegalArgumentException: Invalid tag.
at gurux.dlms.GXAPDU.validateAare(GXAPDU.java:839)
at gurux.dlms.GXAPDU.parsePDU(GXAPDU.java:850)
at gurux.dlms.GXDLMSClient.parseAareResponse(GXDLMSClient.java:907)
at gurux.dlms.client.GXDLMSReader.initializeConnection(GXDLMSReader.java:581)
at gurux.dlms.client.GXDLMSReader.readAll(GXDLMSReader.java:1360)
at gurux.dlms.client.sampleclient.main(sampleclient.java:152)
i got the same issue, if…
i got the same issue, if there is a fix kindly let me know