BACnetTimeSynchronization (FUN)

FUNCTION BACnetTimeSynchronization : IEC_BACNET_STATUS

Sends a Time-Synchronization request

Sends a BACnet Time-Synchronization request. This service may be broadcast. This routine allows a remote device to be notified of the correct current time so that devices may synchronize their internal clock with one another. Since this is an unconfirmed service, no response is expected.

InOut:

Scope

Name

Type

Comment

Return

BACnetTimeSynchronization

IEC_BACNET_STATUS

A status indicating whether the operation worked.

Input

pSourceAddress

POINTER TO IEC_BACNET_ADDRESS

If the BACnet application has only one device constructed and installed, this can be 0. In this case the MAC address of this device will be used. Otherwise this shall be the MAC address returned on device object construction.

pDestinationAddress

POINTER TO IEC_BACNET_ADDRESS

This is the MAC address of the device to which the request should be sent.

dateTime

POINTER TO IEC_BACNET_DATE_TIME

The current date and time which will be distributed.