I'm trying to connect Arduino to EDMI MK7MI using GuruxDLMS Arduino library. I was successful to compile and flash the program. But, I got received bytes : 0, data send failed, trying to resend 3 times and com_initializeConnection failed 252.
I have set parameters in Client.init() in void setup() following device configuration in Gurux DLMS Director (I was successful connect and read data to the meter using DLMS Director with this config). Is there anything I missed?
Hi,
Hi,
Get the latest version and then you need to find Clien.init and change it like this:
Client.init(true, 2, Client.GetServerAddress(0x23, 1), DLMS_AUTHENTICATION_LOW, "YOUR_PASSWORD", DLMS_INTERFACE_TYPE_HDLC);
BR,
Mikko
now it works! Thank you!
now it works! Thank you!