Skip to main content

Crate knx_core

Crate knx_core 

Source
Expand description

KNX primitives for the public KNXyz Rust crates.

This crate currently exposes address types, shared error types, selected KNXnet/IP header primitives, and std-gated protocol helper surfaces. It is not a commissioning tool and does not perform device programming, application download, Secure commissioning, or project-file write-back.

§Feature boundaries

  • Default features enable std.
  • --no-default-features keeps a limited no_std surface for addresses, errors, and selected KNXnet/IP decode primitives.
  • serde adds optional derives for exported types without enabling std.
  • std currently enables allocation-backed convenience APIs, cEMI/APCI helpers, encode helpers, and std::error::Error for KnxError.

There is no public alloc feature yet. Allocation-backed APIs may move from std to a future alloc feature after a separate API review and test matrix update.

Structs§

CemiFrame
ConnectionHeader
GroupAddress
GroupTelegram
Hpai
IndividualAddress
KnxNetIpHeader
TwoLevelGroupAddressDisplay

Enums§

Apci
Only group-value services are modeled; all other APCI codes decode as InvalidFrame (intentional scope limit).
CemiMessageCode
HostProtocol
KnxError
ServiceType

Constants§

HEADER_LENGTH
PROTOCOL_VERSION_1_0

Type Aliases§

Result