EVT_BACNET_CLIENTSTATUSCALLBACK (STRUCT)

TYPE EVT_BACNET_CLIENTSTATUSCALLBACK : STRUCT

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

This is the declaration 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_UNSIGNED

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 BYTE

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