Hi Mikko,
I was attempting to remotely change the password for an electric meter (low security). After changing the password, the meter not longer accepts any password I try, neither the old one nor the new one I changed it to. Changing the password works find from gxdlms director. here's my code:
var obj = new GXDLMSAssociationLogicalName("0.0.40.0.7.255"); // Managment Remote
obj.Secret = new byte[] { 0xA9, 0x8A, 0xC7 }; // 11111111 in decimal
reader.Write(obj, 7);
The password does change but I don't know to what. I cannot connect to it anymore. Here's my trace:
Hi Moataz,
Hi Moataz,
I believe that your password is "11111111" in ASCII. Try this:
var obj = new GXDLMSAssociationLogicalName("0.0.40.0.7.255");
obj.Secret = System.Text.ASCIIEncoding.ASCII.GetBytes("11111111");
reader.Write(obj, 7);
BR,
Mikko
Hi Mikko,
Hi Mikko,
I tried it and it works great, thank you.
Moataz,