Expand description
BACnet frames decoded for people: what the TUI’s capture screen and the
MCP server’s bacnet_decode tool show, with no network traffic.
framereads a frame of any link the stack taps (B/IP, B/IPv6, BACnet/SC, MS/TP), or a bare NPDU, as far as a one-line summary needs.treedecodes a frame, an NPDU or an APDU into a tree of fields, each with the octets it came from; service parameters are walked tag by tag.decode_npdu_layerreads the network and application layers that every link carries the same way.
Every decoder takes untrusted octets: a malformed frame becomes a
problem in the result, never a panic. A character string in a frame is
whatever its sender wrote, so a tree field quoting one says so
(tree::Field::device_text).
Modules§
- frame
- One frame of any link the stack taps, read as far as its list row needs: the link message, the network layer and the APDU’s header.
- tree
- A frame decoded into a tree of fields, each with the octets it came from: the capture screen’s decode tree, and the range its hex view highlights for the selected field.
Structs§
- Decoded
Apdu - Decoded application layer.
- Decoded
Npdu - Decoded network layer.
Functions§
- decode_
npdu_ layer - Decode the NPDU layer a BVLL message carries.