Skip to content
Version 6.1.0
Contact Us

Version, information and settings

Which build of the stack you are running, what it supports, and its run-time settings.

The version functions describe the stack itself; BACnetStack_GetBACnetProtocolRevision() gives the BACnet protocol revision it implements. BACnetStack_GetInfo() reports a summary of the capabilities this build includes, and which of a fixed list of feature macros are enabled, which is a quick way to find out why a function returns false for a feature that is not present. It does not cover every option; object types, for example, are not listed.

Function Summary
BACnetStack_GetAPIMajorVersion() Gets the CAS BACnet Stack Major version.
BACnetStack_GetAPIMinorVersion() Gets the CAS BACnet Stack Minor version.
BACnetStack_GetAPIPatchVersion() Gets the CAS BACnet Stack Patch version.
BACnetStack_GetAPIBuildVersion() Gets the CAS BACnet Stack Build version.
BACnetStack_GetBACnetProtocolRevision() Gets the BACnet Protocol Revision that the stack is currently compiled against (the BACNET_PROTOCOL_REVISION the stack was built with).
BACnetStack_GetInfo() Provides information about the stack as an XML string.
BACnetStack_GetInfoLength() Returns the number of bytes BACnetStack_GetInfo() would write into infoString right now, EXCLUDING the NUL terminator - so a caller can allocate exactly length+1 bytes instead of guessing a size and retrying.
BACnetStack_SetBACnetStackSetting() Generic setter for the stack tunables enumerated in BACnetStackSetting.
BACnetStack_GetBACnetStackSetting() Reads back a setting previously applied with BACnetStack_SetBACnetStackSetting().