This method represents the BACnet service DeviceCommunicationControl. It is used to instruct a remote device to stop initiating communication and optionally stop responding to communication for a specified duration of time.
Remark: Since the method contains the Password, this method should only be available if the connection is encrypted.
Signature
DeviceCommunicationControl (
[in]0:UInt16 TimeDurationInMinutes
[in]BACnetDeviceCommunicationEnabledEnableDisable
[in]0:String Password
);
Argument |
Description |
TimeDurationInMinutes |
This optional parameter of DataType 0:UInt16 indicates the number of minutes that the remote device shall stop communication. If the parameter is not specified, 0 shall be passed in as value. |
EnableDisable |
This parameter is an enumeration that may take on the values ENABLE, DISABLE, or DISABLE_INITIATION. It is used to indicate whether the device should enable all, disable initiation, or disable all communications on the network interface. The BACnetDeviceCommunicationEnabled DataType is defined in 10.4.8. |
Password |
password parameter. |
Method Result Codes
ResultCode |
Description |
BadUserAccessDenied |
This status is returned for the BACnet error code PASSWORD_FAILURE |
BadNotSupported |
This status is returned for the BACnet error code O_FUNCTIONALITY_NOT_SUPPORTED |