IEC_BACNET_SC_HUB_CONNECTION (STRUCT)ΒΆ

TYPE IEC_BACNET_SC_HUB_CONNECTION : STRUCT

This structure describes the BACnetSCHubFunctionConnection type.

InOut:

Name

Type

Comment

connectionState

IEC_BACNET_SC_CONNECTION_STATE

This indicates the current state of the hub connection.

connectTime

IEC_BACNET_DATE_TIME

This indicates the local date and time when the connection was established or the last connection attempt failed.

disconnectTime

IEC_BACNET_DATE_TIME

This indicates the local date and time when the connection successfully disconnected or disconnected with errors.

bErrorPresent

IEC_BACNET_BOOLEAN

This indicates if the error data is present.

error

IEC_BACNET_ERROR_TYPE

This indicates the most recent error for the connection. If the connectionState field is NOT_CONNECTED or CONNECTED, this field is absent.

errorDetails

IEC_BACNET_STRING

This 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.