BACnetSrvcIgnoreCbCompletion (FUN) ¶ FUNCTION BACnetSrvcIgnoreCbCompletion : IEC_BACNET_STATUS Destroys the given transaction without any response This service completion function completes a callback hook but does not send any reply to the service initiator but releases all allocated resources for this request in the API too. Return: IEC_BACNET_STATUS InOut: Scope Name Type Comment Return BACnetSrvcIgnoreCbCompletion IEC_BACNET_STATUS Input phTransaction POINTER TO BYTE The transaction handle which is returned in any confirmed BACnet service hook to identify the pending service request in the API.
BACnetSrvcRejectCbCompletion (FUN) ¶ FUNCTION BACnetSrvcRejectCbCompletion : IEC_BACNET_STATUS Sends a server or client reject This service completion function completes a callback hook by sending an BACnet reject reply to the service initiator and releases all allocated resources for this request in the API too. Return: IEC_BACNET_STATUS InOut: Scope Name Type Comment Return BACnetSrvcRejectCbCompletion IEC_BACNET_STATUS Input phTransaction POINTER TO BYTE The transaction handle which is returned in any confirmed BACnet service hook to identify the pending service request in the API. rejectReason IEC_BACNET_REJECT_REASON The reason for the BACnet-Reject reply.
BACnetSrvcResponseCbCompletion (FUN) ¶ FUNCTION BACnetSrvcResponseCbCompletion : IEC_BACNET_STATUS Sends a simple acknowledgment to services that require this as an response. This service completion function completes a callback hook by sending an BACnet SimpleACK reply to the service initiator and releases all allocated resources for this request in the API too. Return: IEC_BACNET_STATUS InOut: Scope Name Type Comment Return BACnetSrvcResponseCbCompletion IEC_BACNET_STATUS Input phTransaction POINTER TO BYTE The transaction handle which is returned in any confirmed BACnet service hook to identify the pending service request in the API.
BACnetSubscribeCovPropMultipleErrorCbCompletion (FUN) ¶ FUNCTION BACnetSubscribeCovPropMultipleErrorCbCompletion : IEC_BACNET_STATUS Sends a SubscribeCOVPropertyMultiple error response. Completes a Subscribe COV Property Multiple hook by generating a Subscribe-COV-Property-Multiple-Error reply. This is a service completion routine. Return: IEC_BACNET_STATUS InOut: Scope Name Type Comment Return BACnetSubscribeCovPropMultipleErrorCbCompletion IEC_BACNET_STATUS Input phTransaction POINTER TO BYTE The handle recived in the hook callback function which identifies the current request in the API’s internal transaction state machine. pErrorResult POINTER TO IEC_BACNET_SUBSCRIBE_MUL_ERROR_INFO A pointer to an structure containing the error result for this request.
BACnetStackControl (FUN) ¶ FUNCTION BACnetStackControl : IEC_BACNET_STATUS Function for executing special commands which are related to the configuration of the connected datalinks or network entities. Return: IEC_BACNET_STATUS InOut: Scope Name Type Comment Return BACnetStackControl IEC_BACNET_STATUS Input pStackCtrlMessage POINTER TO IEC_BACNET_STACK_CONTROL A pointer initialized with the command to execute for the datalink or network entity.
BACnetTimeProviderTimeChangedTrigger (FUN) ¶ FUNCTION BACnetTimeProviderTimeChangedTrigger : IEC_BACNET_STATUS Notifies the stack API about significant changes in continuation in system time. With this function the user application gives the BACnet API a notification about a significant change in continuation of normal time flow. The user application should call this function if the normal time flow has been changed by more than 10 seconds. The user application should call this AFTER the OS time has been changed, so that the OS time provider callback will read the new actual time. The given argument should contain the previous time BEFORE the time has changed, so that the API can calculate the difference in time later. Return: IEC_BACNET_STATUS InOut: Scope Name Type Comment Return BACnetTimeProviderTimeChangedTrigger IEC_BACNET_STATUS Input pPrevTimeChange POINTER TO IEC_BACNET_OS_TIME_PROVIDER A pointer to the time information provided by the OS or the user application BEFORE the time change took place. bForceDistribution IEC_BACNET_BOOLEAN If set to TRUE the new system time is also propagated directly to all registered timesynch recipients.
BACnetDataTypeString (FUN) ¶ FUNCTION BACnetDataTypeString : STRING Function for converting enumerated datatype into corresponding texts. Return: A pointer to the corresponding character text string. InOut: Scope Name Type Comment Return BACnetDataTypeString STRING Input Tag IEC_BACNET_DATA_TYPE The datatype enumeration value.
BACnetDayOfWeekBitsString (FUN) ¶ FUNCTION BACnetDayOfWeekBitsString : STRING Retrieves the textual value representation for the day-of-week-bits enumeration. Return: A pointer to the corresponding character text string. InOut: Scope Name Type Comment Return BACnetDayOfWeekBitsString STRING Input DayOfWeekBits IEC_BACNET_DAY_OF_WEEK_BITS The corresponding enumration value.
BACnetDayOfWeekString (FUN) ¶ FUNCTION BACnetDayOfWeekString : STRING Retrieves the textual value representation for the day-of-week enumeration. Return: A pointer to the corresponding character text string. InOut: Scope Name Type Comment Return BACnetDayOfWeekString STRING Input DayOfWeek IEC_BACNET_DAY_OF_WEEK The corresponding enumration value.
BACnetDevStatusString (FUN) ¶ FUNCTION BACnetDevStatusString : STRING Retrieves the textual value representation for the device-status enumeration. Return: A pointer to the corresponding character text string. InOut: Scope Name Type Comment Return BACnetDevStatusString STRING Input DeviceStatus IEC_BACNET_DEVICE_STATUS The corresponding enumration value.