BACnetStack_RegisterHookReject
void BACnetStack_RegisterHookReject( void (*FPHookReject)(const uint8_t originalInvokeId, const uint32_t rejectReason, const uint8_t *connectionString, const uint8_t connectionStringLength, const uint32_t networkPortInstance, const uint16_t sourceNetwork, const uint8_t *sourceAddress, const uint8_t sourceAddressLength));Registers a hook the stack calls when a Reject PDU is received in response to a confirmed request this client sent.
See also: CASBACnetStack::FPHookReject
Parameters
Section titled “Parameters”| Parameter | Direction | Description |
|---|---|---|
FPHookReject |
in | The function pointer for the HookReject function. See CASBACnetStack::FPHookReject for more info. |
Callback type
Section titled “Callback type”Topic: Client response hooks. Declared in CASBACnetStackDLL.h.