BACnetTimeProviderTimeChangedTrigger (FUN)ΒΆ

FUNCTION BACnetTimeProviderTimeChangedTrigger : IEC_BACNET_STATUS

Notifies the stack API about significant changes in continuation in system time.

With this function the user application gives the BACnet API a notification about a significant change in continuation of normal time flow. The user application should call this function if the normal time flow has been changed by more than 10 seconds. The user application should call this AFTER the OS time has been changed, so that the OS time provider callback will read the new actual time. The given argument should contain the previous time BEFORE the time has changed, so that the API can calculate the difference in time later.

Return: IEC_BACNET_STATUS

InOut:

Scope

Name

Type

Comment

Return

BACnetTimeProviderTimeChangedTrigger

IEC_BACNET_STATUS

Input

pPrevTimeChange

POINTER TO IEC_BACNET_OS_TIME_PROVIDER

A pointer to the time information provided by the OS or the user application BEFORE the time change took place.

bForceDistribution

IEC_BACNET_BOOLEAN

If set to TRUE the new system time is also propagated directly to all registered timesynch recipients.