EVT_BACNET_CLIENT_STATUS (STRUCT)ΒΆ

TYPE EVT_BACNET_CLIENT_STATUS : STRUCT

Declaration of the connection state callback from the BACnet user application.

This is the declaration prototype for the connection state callback function. It is called in every case were the connection state to an BACnet remote device changes.

InOut:

Name

Type

Comment

devId

IEC_BACNET_INST_NUMBER

The BACnet device instance number which connection state has changed.

commState

IEC_BACNET_UINT

The current communication state of the device. This contains an combination of bit values from ::BACNET_CLIENT_DEVICE_COMM_STATE.

pCaps

POINTER TO IEC_BACNET_REMOTE_DEVICE_CAPS

A pointer to information about the device capabilities so far discovered.

pUserArg

POINTER TO IEC_BACNET_BYTE

A pointer for user application purposes. This pointer is the same pointer which was given by call to ::BACnetRegisterClientCommunicationStateCallback on registration.