Expand description
BACnet protocol types per ASHRAE 135-2020.
This crate provides the foundational types for the BACnet protocol: enumerations, primitive data types, addresses, and error types.
It has zero runtime dependencies beyond bitflags and thiserror,
and supports no_std environments via the std feature flag.
Every enum newtype implements FromStr, accepting any common case style
(analog-input, AnalogInput, ANALOG_INPUT, …) for its named
constants. The optional serde feature adds Deserialize for
enums::ObjectType and enums::PropertyIdentifier on top of it.
Modules§
- bitstring
- Named BACnet bit-string types (ASHRAE 135-2020 Clause 21).
- constructed
- BACnet constructed data types per ASHRAE 135-2020.
- enums
- BACnet enumeration types per ASHRAE 135-2020.
- error
- BACnet error types.
- primitives
- BACnet primitive data types per ASHRAE 135-2020 Clause 20.2.
Type Aliases§
- MacAddr
- BACnet MAC address — stack-allocated for typical sizes (≤6 bytes).