IEC_BACNET_CLIENT_SUBSCRIBE_MODE (ENUM)¶
TYPE IEC_BACNET_CLIENT_SUBSCRIBE_MODE :
Enumeration with bitfields for selecting object subscribe mode.
This enumeration contains differnt values which can be used by an BACnet client application to configure the services used for data acquisation from remote BACnet devices.
- InOut:
Name
Initial
Comment
_BACNET_SUBSCRIBE_MAX_SIZE
16#7FFFFFFF
BACNET_SUBSCRIBE_USE_SERVER_CAPS
16#1
The data acquisation is determined automatically.
During connection establishment different properties are read. These properties are used to make further decisions on how data is best acquired by the client process. If the user application specifies this value on registering for data acquisation, the choice is made on those properties.
BACNET_SUBSCRIBE_CONFIRMED_ONLY
16#2
Only confirmed requests shall be used for data acquisation from this device.
The acquisation of data from the remote device will use confirmed services only. If the device doesn’t support this kind of services, the user application will get an error notification over the ::BACNET_CLIENT_VALUE_CB callback.
BACNET_SUBSCRIBE_UNCONFIRMED_ONLY
16#3
Only unconfirmed requests shall be used for data acquisation from this device.
The acquisation of data from the remote device will use unconfirmed services only. If the device doesn’t support this kind of services, the user application will get an error notification over the ::BACNET_CLIENT_VALUE_CB callback.
BACNET_SUBSCRIBE_POLL_CLOCKALIGNED
16#4
The requested data will be acquired by using the ReadProperty or ReadPropertyMultiple services.
The acquisation of data from the remote device will use the ReadProperty or ReadPropertyMultiple services. The acquisation will occurr aligned with the local clock of the client process. Further information can be found under ::BACnetRegisterClientDataPoint.
BACNET_SUBSCRIBE_FLAG_FORCE_RESUBSCRIBE
16#1000
This flag forces an resubsription for the specified object data even if the subscription has alsready been done by other customers.
An customer can force an resubscription of the specified object data by setting this flag on registration for the object data and event aquisation.
BACNET_SUBSCRIBE_FLAG_MASK
16#FFFFF000
mask for main and sub subscription mode.