Skip to main content

capture_telegram

Function capture_telegram 

Source
pub fn capture_telegram<const N: usize>(
    app: &Application<'_>,
    source: &Source<'_>,
    slot: Slot,
    last_counter: Option<u32>,
    destination: &mut Profile<'_, N>,
) -> Result<Accepted, ReadError>
Expand description

Record the volume register of one authenticated telegram at slot.

The register is the single record with instantaneous function, storage 0, tariff 0, subunit 0, kind volume, unit m³ and no modifier other than a scale. The MAC or tag must cover the record’s own bytes ([protocol::Record::authenticity]); a record nothing protects is ignored.