Skip to main content

Module iec_hdlc_setup

Module iec_hdlc_setup 

Source
Expand description

IEC HDLC setup (class 23).

Structsยง

IecHdlcSetup
IEC HDLC setup interface class (class_id = 23) per IEC 62056-6-2 ยง4.7.2. Configures the HDLC data link layer.
IecHdlcSetupConfig
Configuration structure used to build an IecHdlcSetup object.

Functionsยง

take_long_unsigned ๐Ÿ”’
take_u16 ๐Ÿ”’
Reads either an unsigned (v0) or a long-unsigned (v1) as u16.
take_unsigned ๐Ÿ”’
write_length ๐Ÿ”’
Writes a BER length octet (short or long form).