API Reference SmlEx v#0.1.0

Copy Markdown View Source

Modules

Sml

Decoder for SML (Smart Message Language) telegrams.

The 16 bit checksums used by SML for the transport frame and each message.

Raised by Sml.decode!/2 when a telegram cannot be decoded.

Turns the generic terms produced by Sml.Parser into Sml.Message structs.

A decoded SML file: the messages contained in one telegram.

One entry of the value list in a Sml.Messages.GetListResponse (SML_ListEntry), e.g. the meter reading for 1-0:1.8.0*255.

An SML message (SML_Message).

Error or status notification (SML_Attention.Res) (tag 0xFF01).

Closes an SML session (SML_PublicClose.Req) (tag 0x0200).

End of an SML file sent by the meter (SML_PublicClose.Res) (tag 0x0201).

Requests a value list (SML_GetList.Req) (tag 0x0700).

The current readings of a meter (SML_GetList.Res, tag 0x0701).

Parameter values (SML_GetProcParameter.Res, tag 0x0501).

Load profile values (SML_GetProfileList.Res, tag 0x0401).

Opens an SML session (SML_PublicOpen.Req) (tag 0x0100).

Start of an SML file sent by the meter (SML_PublicOpen.Res) (tag 0x0101).

OBIS codes (Object Identification System, IEC 62056-61).

Low-level parser for the SML binary encoding (type-length-value).

A value in a load profile or parameter tree (SML_PeriodEntry).

Decoding of SML_Time.

SML transport protocol version 1 (framing of SML files).

A node of a parameter tree (SML_Tree) as returned by Sml.Messages.GetProcParameterResponse.

DLMS/COSEM unit codes (IEC 62056-62) as used in the unit field of SML list entries.