Creates a new BACnet Device object
This constructor initializes a Device object with all required properties according to the BACnet specification, including support for basic BACnet services and object types.
Device instance number (0-4194303). Must be unique on the BACnet network.
Configuration options for this device
ReadonlyactiveReadonlyapduReadonlyapduReadonlyapplicationReadonlydatabaseReadonlydaylightReadonlydescriptionReadonlydeviceReadonlyeventReadonlyfirmwareReadonlylocalReadonlylocalReadonlylocationReadonlymaxReadonlymaxReadonlymodelReadonlynumberReadonlyobjectReadonlyobjectReadonlyobjectReadonlyobjectReadonlyoutReadonlypropertyReadonlyprotocolReadonlyprotocolReadonlyprotocolReadonlyprotocolReadonlyreliabilityReadonlysegmentationReadonlyserialReadonlystatusReadonlystructuredReadonlysystemReadonlyutcReadonlyvendorReadonlyvendorAlias for on
Adds a BACnet object to this device
This method registers a new BACnet object with the device and adds it to the device's object list. The object must have a unique identifier (type and instance).
The specific BACnet object type
The BACnet object to add to this device
The added object
Adds a property to this object
This method registers a new property with the object and sets up event subscriptions for property value changes.
The specific BACnet property type
The property to add
The added property
Adds a subordinate BACnet object to this device
This method registers a new BACnet object with the device and adds it to the device's object list, just as BDDevice.addObject. Additionally, however, this method also registers the object as a subordinate object of this device, adding it to the device's structured representation. The subordinate object must be a Structured View object.
The Structured View object to add as a new child of this Device object
Removes a listener from the set of listeners for the specified event.
The event name to subscribe to
The callback function to execute when the event is triggered
The event emitter's instance for chaining
Adds a new listener for the specified event.
The event name to subscribe to
The callback function to execute when the event is triggered
The callback function for chaining
Alias for off
Implements a BACnet Device object
The Device object is a specialized BACnet object that represents the BACnet device itself. It serves as a container for all other BACnet objects and provides device-level properties and services. Each BACnet node hosts exactly one Device object.
According to the BACnet specification, the Device object includes standard properties: