IEC_BACNET_SC_DIRECT_CONNECTION (STRUCT)ΒΆ
TYPE IEC_BACNET_SC_DIRECT_CONNECTION : STRUCT
This structure describes the BACnetSCDirectConnection type.
- InOut:
Name
Type
Comment
uriThis indicates the WebSocket URI for the direct connection.
connectionStateThis indicates the current state of the direct connection.
connectTimeThis indicates the local date and time when the connection was established or the last connection attempt failed.
disconnectTimeThis indicates the local date and time when the connection successfully disconnected or disconnected with errors.
peerAddressThis indicates the address of the peer node.
bPeerAddressPresentThis indicates if the peers address is present.
bPeerVmacPresentThis indicates if the peers VMAC is present.
bPeerUuidPresentThis indicates if the peers UUID is present.
bErrorPresentThis indicates if the error data is present.
peerVMACARRAY [0..(MAX_MAC_WSSC - 1)] OF IEC_BACNET_BYTE
This is the VMAC address of the peer node.
peerUUIDARRAY [0..15] OF IEC_BACNET_BYTE
This is the device UUID of the peer node.
errorThis indicates the most recent error for the connection. If the connectionState field is NOT_CONNECTED or CONNECTED, this field is absent.
errorDetailsThis provides details on the most recent error. If the connectionState field is NOT_CONNECTED or CONNECTED, this field is absent indicated by settinmg the string type to none.