Network Layer Protocol Data Units

This is a long line of text.

PDU Base Types

class npdu.NPCI(PCI)

Header of the network layer message.

npduVersion

This is the version number of the BACnet protocol used. Current version is (1).

npduControl

This is the a single octet. Each bit of the byte indicates the presence of specific fields in the NPCI.

npduDADR

This is the destination address of the network layer message.

npduSADR

This is the source address of the network layer message.

npduHopCount

This is used to determine if network layer messages are being routed in a circular path.

npduNetMessage

This is the network layer message type.

npduVendorID

This is vendor specific ID number used for vendor specific network layer message.

update(npci)

This is a long line of text.

encode(pdu)
decode(pdu)
Parameters:pdupdu.PDUData buffer

This is a long line of text.

class npdu.NPDU(NPCI, PDUData)

This is a long line of text.

encode(pdu)
decode(pdu)
Parameters:pdupdu.PDUData buffer

This is a long line of text.

Service Requests

class npdu.WhoIsRouterToNetwork(NPCI)

This message is used to find the router that is the destination for a specific network. It is also used for routers to update routing tables.

encode(npdu)
decode(npdu)
Parameters:pduNPDU buffer

This is a long line of text.

class npdu.IAmRouterToNetwork(NPCI)

Response to a WhoIsRouterToNetwork request. Contains network numbers of the networks a router provides access to.

encode(npdu)
decode(npdu)
Parameters:pduNPDU buffer

This is a long line of text.

class npdu.ICouldBeRouterToNetwork(NPCI)

Response to a WhoIsRouterToNetwork request. Contains network numbers of the networks a half-router could provide access to over a PTP connection, but the connection is not currently established.

encode(npdu)
decode(npdu)
Parameters:pduNPDU buffer

This is a long line of text.

class npdu.RejectMessageToNetwork(NPCI)

This is a message sent in response to a network layer message that was rejected due to an error.

encode(npdu)
decode(npdu)
Parameters:pduNPDU buffer

This is a long line of text.

class npdu.RouterBusyToNetwork(NPCI)

This is a message sent by a router to temporarily stop messages to specific destination networks.

encode(npdu)
decode(npdu)
Parameters:pduNPDU buffer

This is a long line of text.

class npdu.RouterAvailableToNetwork(NPCI)

This is a message sent by a router to enable or re-enable messages to specific destination networks.

encode(npdu)
decode(npdu)
Parameters:pduNPDU buffer

This is a long line of text.

class npdu.RoutingTableEntry

This is a long line of text.

rtDNET

This is a long line of text.

rtPortID

This is a long line of text.

rtPortInfo

This is a long line of text.

class npdu.InitializeRoutingTable(NPCI)

This is a message used to initialize the routing table of a router or get the contents of the current routing table.

encode(npdu)
decode(npdu)
Parameters:pduNPDU buffer

This is a long line of text.

class npdu.InitializeRoutingTableAck(NPCI)

This is a message indicating the routing table of a router has been changed or the routing table has been initialized.

encode(npdu)
decode(npdu)
Parameters:pduNPDU buffer

This is a long line of text.

class npdu.EstablishConnectionToNetwork(NPCI)

This is a message used to tell a half-router to make a PTP connection to a network.

encode(npdu)
decode(npdu)
Parameters:pduNPDU buffer

This is a long line of text.

class npdu.DisconnectConnectionToNetwork(NPCI)

This is a message used to tell a half-router to close a PTP connection to a network.

encode(npdu)
decode(npdu)
Parameters:pduNPDU buffer

This is a long line of text.