Skip to main content

Module dlms

Module dlms 

Source
Expand description

Read a clock-selected COSEM Profile Generic buffer into a bounded TAF 15 history.

The host commissions one source and supplies a reader for the authenticated meter. The importer checks the capture definitions, period and register metadata on both sides of the buffer read. An error discards every new slot from that read. For transport and association setup, see the upstream client.

Re-exports§

pub use crate::Counts;
pub use dlms_cosem_kit as protocol;

Structs§

BlockingReader
Read attributes through an established client over BudgetedTransport. The host authenticates the meter and sets transport deadlines. Scratch must fit the complete encoded A-XDR value, which the result borrows directly. On a capacity error use BlockingReadError::requires_reconnect before retrying.
BudgetedTransport
A blocking DLMS transport with a cumulative receive budget for each BlockingReader GET. Wrap the transport before calling [Client::connect].
ClockRange
An inclusive clock selection. A single registration slot has identical endpoints.
Source
The meter, profile, and captured objects commissioned for one TAF 15 channel.

Enums§

BlockingReadError
Failure of one blocking attribute read.
ClockError
Why a meter timestamp or requested interval cannot identify whole UTC seconds.
ReadError
Why the selected range could not be imported.
RowError
A failure while interpreting meter metadata or importing a bounded page.

Traits§

AttributeReader
An authorized meter association with exclusive access between GETs. The host bounds each response and its deadline and validates request correlation.

Functions§

read_profile
Read the inclusive clock range from an existing association. A single-slot range can backfill an instant returned by [taf15::Profile::missing]. Exact repeats increment the duplicate count. On error all records and holes stay intact.