@bacnet-js/client
    Preparing search index...

    Interface DecodedNpdu

    Decoded Network Protocol Data Unit (NPDU) structure Represents the parsed contents of a BACnet NPDU header according to ASHRAE 135-2020 Section 6.2

    interface DecodedNpdu {
        destination?: BACNetAddress;
        funct: number;
        hopCount: number;
        len: number;
        networkMsgType: number;
        source?: BACNetAddress;
        vendorId: number;
    }
    Index

    Properties

    destination?: BACNetAddress

    Destination network address (optional) Present when DESTINATION_SPECIFIED bit is set in funct Contains network number and MAC address for routing

    funct: number

    NPDU control octet containing message type and flags Bit flags from NpduControlBit enum indicating presence of optional fields

    hopCount: number

    Hop count for routed messages Decremented by each router; message discarded when reaching 0 Only present when destination is specified

    len: number

    Total length of the NPDU header in bytes

    networkMsgType: number

    Network layer message type Values from NetworkLayerMessageType enum for network management messages Only present when NETWORK_LAYER_MESSAGE bit is set in funct

    source?: BACNetAddress

    Source network address (optional) Present when SOURCE_SPECIFIED bit is set in funct Contains network number and MAC address of originating device

    vendorId: number

    Vendor identifier for proprietary network messages Only present for vendor-specific network messages (networkMsgType >= 0x80) Identifies the vendor for proprietary message interpretation