Skip to main content

Crate knx_catalog

Crate knx_catalog 

Source
Expand description

Reviewed KNX datapoint-type catalogue as const data.

The catalogue is the single internal authority for source-derived declarative facts about datapoint types: identifiers, official names, transmitted widths, field decompositions, ranges, resolutions, code tables, named bit layouts, special values, validity associations, cross-field relations, context requirements and group-transport eligibility. Consumers read these facts here instead of interpreting the specification independently.

The data under generated is produced by the knx-data-gen tool from reviewed structured input. It is committed, deterministic, and never edited by hand; the reviewed input is the authority over the generated output.

The schema types here are open data records - public fields, no constructors - because they state declarations rather than enforce invariants; the validated primitives with sealed fields and checked constructors live in the crates that own behavior.

Re-exports§

pub use id::DptId;
pub use id::ParseIdError;
pub use schema::SubtypeRow;

Modules§

generated
Generated const catalogue data.
id
The datapoint type identifier: the one identifier type, its strict text grammar, and its canonical rendering.
schema
Declarative row and descriptor types for the catalogue.

Functions§

find
Looks up the catalogue row for id.