I am using C++ sample application of "GuruxDLMSServerExample" and "GuruxDLMSClientExample" and trying to write a register object of "GuruxDLMSServerExample" using "GuruxDLMSClientExample" but its showing below mentioned error-
"Access error: Device reports Read-Write denied."
But I am able to reading values properly but facing problem in writing values to the register object.
I have tried connection paramerter as mentiopned below-
(1) CGXDLMSClient cl(true);
You did not tell what attribute index you try to write.
You can't write anything if the authentication level is None. You can change this for the client or the server.
In GuruxDLMSServerExample find CGXDLMSBase::GetAttributeAccess.
// All writes are allowed.
return DLMS_ACCESS_MODE_READ_WRITE;
Write register object
Hi,
You did not tell what attribute index you try to write.
You can't write anything if the authentication level is None. You can change this for the client or the server.
In GuruxDLMSServerExample find CGXDLMSBase::GetAttributeAccess.
// All writes are allowed.
return DLMS_ACCESS_MODE_READ_WRITE;
BR,
Mikko