Skip to main content

Module profile_generic

Module profile_generic 

Source
Expand description

Profile generic (class 7).

Structs§

ProfileGeneric
ProfileGeneric interface class (class_id = 7, version = 1) for storing data profiles such as load profiles or event logs, per IEC 62056-6-2 §4.3.6 in the spodes-rs library.
ProfileGenericConfig
Configuration structure used to build a ProfileGeneric object.

Functions§

as_u32 🔒
Reads a non-negative COSEM integer as u32 (used for entry indices).
write_length 🔒
Writes a BER length octet (short or long form).