BACnetSetObjectIdNameBindingsCacheOptions (FUN)¶
FUNCTION BACnetSetObjectIdNameBindingsCacheOptions : IEC_BACNET_STATUS
Configures timing an retry parameters for the ‘dynamic’ object binding procedure.
This function configures the timing and retry parameters for the ‘dynamic’ object binding procedure as defined in the BACnet standard.
Return: IEC_BACNET_STATUS
- InOut:
Scope
Name
Type
Comment
Return
BACnetSetObjectIdNameBindingsCacheOptions
Input
refreshIhaveCache
Specifies the refresh time in seconds after all listed dynamic bindings get refreshed. After expiration of the refresh interval all bindings are requested using Who-Has requests again. The lowest value accepted here is 10 and the default is 500 seconds.
whoHasInterval
Specifies the interval in which periodically Who-Has requests are sent as long as they have not been answered and thus it is also the timeout in which an answer is expected. The lowest value accepted here is 1 and the default is 5 seconds.
whoHasRetries
Specifies the number of retries made before dynamic resolution will stop until next refresh interval has expired. The lowest value accepted is 1 and the default is 5.
whoHasMaxPending
Specifies the maximum number of requests with outstanding replies which might be sent out into the network. The lowest value accepted here is 1 and the default is 20.
bPrefillCache
If set to True all received I-Have requests from the network are collected even if no dynamic object identifier resolution is requested for that object name.
bAllowUnicastIhaves
If set to True all received Who-Has requests are answered with unicast I have’s sent to the source address over which they have been received. True is the default setting for this option.
bAllowBroadcastIhaves
If set to True all received Who-Has requests are answered with broadcast I have’s. False is the default setting for this option.
bUseGlobalBcastWhoHas
If set to True all sent WhoHas gequests will use the global broadcast address to pass over BACnet routers instead of local broadcast addresses which are not routed.