I want to change the access rights for an object's individual attributes and methods. How should I do this? I am using the Arduino server example. I could change the attribute rights for IEC HDLC setup object by modifying the switch case in the function getHdlcSetupAttributeAccess. But I could not find how to do it for the clock and security setup objects.
Also, I could not find how to change the access rights for methods of any object.
Hi,
Hi,
You do it the same way as getHdlcSetupAttributeAccess. Just modify switch case for your needs.
You can find example for SetupAttributeAccess here:
https://github.com/Gurux/GuruxDLMS.c/blob/4ec295d3d316bacd267a86166f341…
BR,
Mikko
Ok. Thanks Mikko. And how do
Ok. Thanks Mikko. And how do I change the access rights for methods of any object?
Regards
Sidharth
Hi,
Hi,
You can do it in svr_getMethodAccess as the same way as svr_getAttributeAccess.
BR,
Mikko