I've been trying to connect to my smart meter using GXSerial object in java.
Using some sample code I've set up and can open connection. how do i send data in order to get a response (like serial number of meter) .
Also when i reach the GXSerial.receive(); section of the java application the it doesn't go further.
Hi,
Hi,
Serial port component is only used to send data with serial port connection. You need to use DLMS client example to read the data from the meter.
https://github.com/Gurux/gurux.dlms.java/tree/master/gurux.dlms.client…
I propose that you download GXDLMSDirector and try to read data with it first. It makes it easier to understand the DLMS.
BR,
Mikko