Skip to content
Version 6.1.0
Contact Us

Device and services

Creating the device, and choosing which BACnet services it answers.

BACnetStack_AddDevice() is the first configuration call and may be made once. Add objects next (Objects and properties), then enable the services the device should answer with BACnetStack_SetServiceEnabled(); ReadProperty, Who-Has and Who-Is are enabled automatically. The COV settings here apply to the subscriptions the device accepts.

Function Summary
BACnetStack_AddDevice() Adds the main device.
BACnetStack_RemoveDevice() Removes a device, and with it every object, property override and COV subscription that device owned.
BACnetStack_UpdateDeviceInstance() Changes a device’s instance number, in the database and - for a device on a virtual network - in the virtual router’s mapping.
BACnetStack_SetServiceEnabled() Enables a BACnet service on a device.
BACnetStack_SetSegmentationEnabled() Enables segmentation and sets up the various parameters used by the segmentation logic.
BACnetStack_SetCOVSettings() Sets the COV subscription-table capacity and the maximum supported COV lifetime for subscriptions received by this device.
BACnetStack_SetMaxActiveCOVSubscriptions() Sets the maximum number of active COV subscriptions that a server device can contain.
BACnetStack_SetMaxSupportedCOVLifetime() Sets ONLY the maximum supported COV lifetime for subscriptions received by this device.
BACnetStack_SetCOVMultipleSettings() Sets ONLY the SubscribeCOVPropertyMultiple subscription-table capacity.
BACnetStack_SetBackupAndRestoreEnabled() Enables or disables the Backup and Restore functionality on a device.