BACnetSetClientGlobalMaxDeviceActions (FUN)ΒΆ

FUNCTION BACnetSetClientGlobalMaxDeviceActions : IEC_BACNET_STATUS

Sets the maximum pending requests per registered device.

This function gives a user application the ability to restrict the maximum pending requests to one device. The advanced BACnet client API uses asynchronous requests for communication to devices. So it is able to send multiple requests to one device at the same time. As soon as the device responses, an new request will be sent as long as there are any requests in the queue for that device.

Return: IEC_BACNET_STATUS

InOut:

Scope

Name

Type

Comment

Return

BACnetSetClientGlobalMaxDeviceActions

IEC_BACNET_STATUS

Input

nMaxActionsPerDevice

IEC_BACNET_UNSIGNED

Number of maximum pending requests per registered device. Valid ranges are values from 2 till 40. The default on registration is 20 for a new device.

nMaxRpmItemCounts

IEC_BACNET_UNSIGNED

Number of maximum object items or property items in one ReadPropertyMultiple request sent to an device. The default is 100 items. Valid range values from 10 to 500 items.