IEC_BACNET_CLIENT_DEVICE_COMM_STATE (ENUM)¶
TYPE IEC_BACNET_CLIENT_DEVICE_COMM_STATE :
Enumeration describing communication state of BACnet advanced client API.
This enumration contains different bits which indicate the current connection state to an accessed remote BACnet device.
- InOut:
Name
Initial
Comment
_BACNET_CLIENT_MAX_SIZE
16#7FFFFFFF
BACNET_CLIENT_COMM_STOPPED
16#0
Communication to the remote device on the network has stopped.
This flag indicates that communication to this device has been completely disabled by a call to ::BACnetSetClientDeviceCommunication.
BACNET_CLIENT_SEEK_DEVICE
16#1
The advanced client API is searching for this remote device.
This flag indicates that the advanced client API tries to get an MAC address to this remote device using dynamic device address binding and that the client process is sending out WhoIs requests but has no response yet.
BACNET_CLIENT_READ_PARAM
16#2
Remote device has been located and is now read by the client.
This flag indicates that the MAC address of the remote device could be resolved and it currently is beeing read by the client process to get some parameters for further communication and handling of value and event acquisation from the device.
BACNET_CLIENT_ONLINE
16#4
The remote device is online and running.
This flag indicates that all neccessary properties have been read successfully and the remote device is ready to be accessed by the BACnet client process.
BACNET_CLIENT_OFFLINE
16#8
The remote device is offline, its further status is unknown.
This flag indicates that the device is not reachable anymore. It stopped to communicate with the client process. Alive check requests weren’t answered or an restart notification has been received from that device.