Skip to content
Version 6.1.0
Contact Us

Main loop and reset

Driving the stack, and tearing it down.

Call BACnetStack_Tick() repeatedly from one thread for as long as the stack runs. Incoming messages are processed, and retries and timeouts advance, only inside it; COV, trend logging and alarm evaluation run from it as well as from BACnetStack_UpdateValue(). BACnetStack_Reset() tears the stack down, with the exceptions its own documentation lists. See Stack lifecycle for the start-up order.

Function Summary
BACnetStack_Tick() Runs the stack.
BACnetStack_Reset() Tears the whole stack down and returns it to its factory-default state.