Hi Mikko,
I am working with Buyi DLMS Meter and talking to them about how to connect their meters, they said use Wrapper Mode Interface to send AARQ message, but when I take response meter message and parse using client.parseAareResponse(reply.getData()) I have "invalid tag" error:
Exception in thread "main" java.lang.RuntimeException: Invalid tag.
at gurux.dlms.GXAPDU.validateAare(GXAPDU.java:797)
at gurux.dlms.GXAPDU.parsePDU(GXAPDU.java:809)
at gurux.dlms.GXDLMSClient.parseAareResponse(GXDLMSClient.java:630)
at com.example.Main.main(Main.java:39)
The message was sent to meter, look like this:
AARQ Message: 00 01 00 02 00 01 00 38 60 36 A1 09 06 07 60 85 74 05 08 01 01 8A 02 07 80 8B 07 60 85 74 05 08 02 01 AC 0A 80 08 30 30 30 30 30 30 30 32 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 40 1E 1D FF FF
Meter Response: 00 01 00 01 00 02 00 2B 61 29 A1 09 06 07 60 85 74 05 08 01 01 A2 03 02 01 00 A3 05 A1 03 02 01 00 BE 10 04 0E 08 00 06 5F 1F 04 00 00 12 15 00 C8 00 07
idk what do i have to do, Can you help me please ?
Hi, Have you modified the…
Hi,
Have you modified the source code? I just tested this with java client and connection succeeded without problems.
https://github.com/Gurux/gurux.dlms.java/tree/master/gurux.dlms.client…
Command line parameters are:
-h YOUR_METER_IP -p PORT_NUMBER -i WRAPPER -c 2 -a Low -P 00000002 -t Verbose
BR,
Mikko