BACnetSetDccPassword (FUN)ΒΆ

FUNCTION BACnetSetDccPassword : IEC_BACNET_STATUS

Sets the DCC service password of a local device.

Return: IEC_BACNET_STATUS

InOut:

Scope

Name

Type

Comment

Return

BACnetSetDccPassword

IEC_BACNET_STATUS

Input

instNumber

IEC_BACNET_INST_NUMBER

The Device object instance number of the Device. The special value ::BACNET_INST_NUMBER_MAX will set the given password and flags for ALL current constructued Devices.

pPassword

POINTER TO IEC_BACNET_STRING

Optional pointer to BACnet string structure containing the password to set. If this is NULL, any password will allow the service to be executed (default setting).

bSendIamAfterEnable

IEC_BACNET_BOOLEAN

Flag specifying if an I-Am is sent after the disable duration has expired.