dlms-cosem-kit 0.1.0

DLMS/COSEM (IEC 62056) in Rust: sans-I/O, no_std, client and server, security suites 0-2
Documentation
//! Transports: what carries an APDU.
//!
//! Each is sans-I/O. A transport turns bytes into APDUs and APDUs into bytes; opening a
//! socket, driving a serial port and waiting on a timer belong to the caller.
//!
//! * [`hdlc`] — the data link an optical probe, an RS-485 bus and many GPRS meters use.
//!   Framing that resynchronises on noise, segmentation, and a [`hdlc::Connection`] that
//!   drives the SNRM/UA handshake and the sequence numbers.
//! * [`wrapper`] — eight bytes of header over TCP or UDP, with bounded reassembly from a
//!   stream.
//! * [`p1`] — the customer interface. Not DLMS on the wire at all: it is the IEC 62056-21
//!   ASCII data readout that a Dutch or Belgian meter emits once a second. It lives here
//!   because it carries the same object model, so one crate and one set of types read
//!   both a P1 telegram and a ciphered push.
//!
//! None of them retransmits or times a peer out. That needs a clock, and there is none in
//! this crate — see [`crate::client`].

#[cfg(feature = "hdlc")]
pub mod hdlc;
#[cfg(feature = "p1")]
pub mod p1;
#[cfg(feature = "wrapper")]
pub mod wrapper;