Expand description
Access rights model for DLMS/COSEM (IEC 62056-5-3, 5.3.7).
The Association LN object holds an object_list that defines the visible
COSEM objects and their access rights. Each object entry contains:
class_id,version,logical_name— object identificationaccess_rights— permissions for attributes and methods
Access modes per IEC 62056-5-3:
- Attribute: no_access(0), read_only(1), write_only(2), read_and_write(3), authenticated_read_only(4), authenticated_write_only(5), authenticated_read_and_write(6)
- Method: no_access(0), access(1), authenticated_access(2)
Structs§
- Access
Rights - Complete access rights for an object (IEC 62056-5-3, 5.3.7.2.2).
- Attribute
Access Item - Access rights for a single attribute (IEC 62056-5-3, 5.3.7.2.2).
- Method
Access Item - Access rights for a single method (IEC 62056-5-3, 5.3.7.2.2).
- Object
List Entry - An entry in the Association LN
object_list(IEC 62056-5-3, 5.3.7.2.2).
Enums§
- Attribute
Access Mode - Access mode for an attribute (IEC 62056-5-3, 5.3.7.2.2).
- Method
Access Mode - Access mode for a method (IEC 62056-5-3, 5.3.7.2.2).
Functions§
- full_
access_ entry - Builds an object_list entry with default read/write access for all attributes.
- read_
only_ entry - Builds an object_list entry with read-only access for all attributes.