Skip to main content

Module npdu

Module npdu 

Source
Expand description

NPDU encoding and decoding per ASHRAE 135-2020 Clause 6.

The Network Protocol Data Unit carries either an application-layer APDU or a network-layer message, with optional source/destination routing information for multi-hop BACnet internetworks.

Structs§

Npdu
Decoded Network Protocol Data Unit (Clause 6.2).
NpduAddress
Network-layer address: network number + MAC address.

Constants§

BACNET_PROTOCOL_VERSION
BACnet protocol version (always 1).

Functions§

decode_npdu
Decode an NPDU from raw bytes.
encode_npdu
Encode an NPDU to wire format.