BACnetRegister(UInt32, String, UInt32) Method |
Register this BACnet slot with the system. BACnet stack will be intimated about all the objects or devices that were already added to the local device/object collections so that those objects/devices will be added to the BACnet stack also.
Namespace: Crestron.SimplSharpProAssembly: SimplSharpPro (in SimplSharpPro.dll) Version: 2.21.121
Syntaxpublic eDeviceRegistrationUnRegistrationResponse Register(
uint paramDeviceId,
string paramDeviceName,
uint paramPortNumber
)
Parameters
- paramDeviceId UInt32
- Host Device ID, valid range is from 0 to 4194302.
- paramDeviceName String
- Host Device Name. Host Device Name is trimmed in this function.
- paramPortNumber UInt32
- Host Device Port Number, valid port number ranges are, from 1024 to 65535.
Return Value
eDeviceRegistrationUnRegistrationResponseAn enum of type eDeviceRegistrationUnRegistrationResponse. Returns
NotLicensed if BACnet license is not available and an error is logged. An exception is thrown if an error is found while adding the host device to the BACnet stack. Will log an error if an error is found while adding a remote device, host object or remote object to the BACnet stack.
Exceptions
RemarksThis method will block pending a response. It is recommended to not invoke this method from within a event handler. Please launch a timer/thread to call this method.
Also – this method not be called from the control system constructor.
Version Information
.NET
Supported in: 6.0
.NET Compact Framework
Supported in: 3.5
See Also