You can try with this:
GXDLMSAssociationLogicalName ln = new GXDLMSAssociationLogicalName();
ln.Secret = ASCIIEncoding.ASCII.GetBytes("XXXXXXXXXXXXXXXX");
grxComm.Write(ln, 7);
I have checked that the following codes execute successfully.
GXDLMSAssociationLogicalName ln = new GXDLMSAssociationLogicalName();
ln.Secret = ASCIIEncoding.ASCII.GetBytes("XXXXXXXXXXXXXXXX");
grxComm.Write(ln, 7);
GXDLMSAssociationLogicalName ln = new GXDLMSAssociationLogicalName();
ln.HlsSecret= ASCIIEncoding.ASCII.GetBytes("YYYYYYYYYYYYYYYY");
grxComm.Write(ln, 7);
But the problem is that the device throw exception "Access Error : Other Reason." when try to authenticate the connection with the High Level Passowrd("YYYYYYYYYYYYYYYY"),Client Address:48 and Authentication:High.
Following exception has been thrown when i tried to read
GXDLMSAssociationLogicalName ln = new GXDLMSAssociationLogicalName();
var data = grxComm.Read(ln, 7);
I did't notes that you was trying to change High authentication level password. You are using method command to set it, not write. Write is used when Low level pw is changed.
We'll add new method (UpdateSecret) to GXDLMSAssociationLogicalName that you can use to change pw.
It'll take care from authentication level. We'll release new version from C# tomorrow.
What version you are using and you are using C#?
You set password to Secret property.
You can use it like this:
GXDLMSAssociationLogicalName c = new GXDLMSAssociationLogicalName("OBIS code");
c.AuthenticationMechanismName.MechanismId = Authentication.High;
c.UpdateSecret(client);
How to change password of HPL meter
Hi,
You can try with this:
GXDLMSAssociationLogicalName ln = new GXDLMSAssociationLogicalName();
ln.Secret = ASCIIEncoding.ASCII.GetBytes("XXXXXXXXXXXXXXXX");
grxComm.Write(ln, 7);
BR,
Mikko
How to change password of HPL meter
Hi,
I have checked that the following codes execute successfully.
GXDLMSAssociationLogicalName ln = new GXDLMSAssociationLogicalName();
ln.Secret = ASCIIEncoding.ASCII.GetBytes("XXXXXXXXXXXXXXXX");
grxComm.Write(ln, 7);
GXDLMSAssociationLogicalName ln = new GXDLMSAssociationLogicalName();
ln.HlsSecret= ASCIIEncoding.ASCII.GetBytes("YYYYYYYYYYYYYYYY");
grxComm.Write(ln, 7);
But the problem is that the device throw exception "Access Error : Other Reason." when try to authenticate the connection with the High Level Passowrd("YYYYYYYYYYYYYYYY"),Client Address:48 and Authentication:High.
Regards,
How to change password of HPL meter
Hi,
First try to read your value. If you can, then contact your meter manufacturer and ask is it possible to change password.
BR,
Mikko
How to change password of HPL meter
Hi,
Following exception has been thrown when i tried to read
GXDLMSAssociationLogicalName ln = new GXDLMSAssociationLogicalName();
var data = grxComm.Read(ln, 7);
Exception: "Access Error : Device reports Read-Write denied."
Regards,
How to change password of HPL meter
Hi,
What authentication level you are using? What client address you are using?
BR,
Mikko
How to change password of HPL meter
Hi,
Client Address: 48
Authentication Level: High
Note: For Low Level its working fine. But for high level password its not working.
Regards,
How to change password of HPL meter
Hi Goutam,
I did't notes that you was trying to change High authentication level password. You are using method command to set it, not write. Write is used when Low level pw is changed.
We'll add new method (UpdateSecret) to GXDLMSAssociationLogicalName that you can use to change pw.
It'll take care from authentication level. We'll release new version from C# tomorrow.
BR,
Mikko
How to change password of HPL meter
Hi,
I have update to new version but I have not found any method like 'UpdateSecret' . I have checked that the 'HlsSecret' property has been removed.
Now system failed to ParseAAREResponse after update.
Exception : "Connection is permanently rejected. No reason is given"
Please suggest.
Regards,
How to change password of HPL meter
Hi,
What version you are using and you are using C#?
You set password to Secret property.
You can use it like this:
GXDLMSAssociationLogicalName c = new GXDLMSAssociationLogicalName("OBIS code");
c.AuthenticationMechanismName.MechanismId = Authentication.High;
c.UpdateSecret(client);
BR,
Mikko
How to change password of HPL meter
Hi,
Thank you,
Sample code is working.
First time i have checked on version 'Gurux.DLMS.8.5.1708.2201'.
Again I update to 'Gurux.DLMS.8.5.1709.1201'.
Now its working with latest version.
Regards,
How to change password of HPL meter
Hi Goutam,
Thanks from this info.
BR,
Mikko