8.2.2.6 Method AddTimeSynchronizationRecipients

This Method adds entries to the BACnet property Time_Synchronization_Recipients or UTC_Time_Synchronization_Recipients.

Signature

	AddTimeSynchronizationRecipients (
		[in]	0:Boolean				AddToUtcList
		[in]	BACnetRecipient []		TimeSynchronizationRecipients
		[out]	0:UInt32				FirstFailedElementNumber
		);
	
Argument Description
AddToUtcListIndicates if the recipient is added to Time_Synchronization_Recipients or to UTC_Time_Synchronization_Recipients.
TimeSynchronizationRecipientsArray of time syncronization recipients. Based on the AddToUtcList parameter, the recipients are added to the BACnet property Time_Synchronization_Recipients or UTC_Time_Synchronization_Recipients. The BACnetRecipient DataType is defined in 10.6.9.
FirstFailedElementNumberThe numerical position, starting at 1, of the failed element in the TimeSynchronizationRecipients. If the call succeeds or fails for other reasons, the returned value shall be 0.

Method Result Codes

ResultCode Description
BadNodeIdUnknownThis status is returned for the BACnet error codes UNKNOWN_OBJECT and UNKNOWN_PROPERTY
BadTypeMismatchThis status is returned for the BACnet error codes INVALID_DATATYPE and DATATYPE_NOT_SUPPORTED
BadOutOfRangeThis status is returned for the BACnet error code VALUE_OUT_OF_RANGE
BadNotWritableThis status is returned for the BACnet error code WRITE_ACCESS_DENIED
BadOutOfMemoryThis status is returned for the BACnet error code NO_SPACE_TO_ADD_LIST_ELEMENT