Skip to main content

Module sml

Module sml 

Source
Expand description

Import SML (Smart Message Language) readings into a bounded TAF 15 history.

read_profile_pack imports an SML_GetProfilePack.Res (TR-03109-1 Anlage IV): the meter’s own registered values with their timestamps and status. capture_reading records the register of a push meter, which has no calendar clock, at a slot timed by the gateway.

Decode frames with the upstream crate, for example [protocol::Decoder] and [protocol::messages]. Both importers bind every value to the commissioned Source and change nothing when they return an error.

Re-exports§

pub use sml_kit as protocol;

Structs§

Source
The meter, register and profile commissioned for one TAF 15 channel.

Enums§

ReadError
Why a meter answer was not imported. The destination is unchanged in every case.

Functions§

capture_reading
Record the register of a push reading at slot.
read_profile_pack
Import every row of a packed profile within the inclusive UTC range.