Skip to content
Version 6.1.0
Contact Us

BACnetStack_RegisterCallbackMSTPTransmitEnable

void BACnetStack_RegisterCallbackMSTPTransmitEnable(
void (*FPCallbackMSTPTransmitEnable)(const uint32_t networkPortInstance, const bool enable));

Registers the optional callback that switches the RS-485 driver.

It is called with true before a frame is sent and with false after the send callback returns. Without it the host’s send callback handles the driver itself.

See also: CASBACnetStack::FPCallbackMSTPTransmitEnable

Parameter Direction Description
FPCallbackMSTPTransmitEnable in The function pointer for the CallbackMSTPTransmitEnable function, or NULL. See CASBACnetStack::FPCallbackMSTPTransmitEnable for more info.

FPCallbackMSTPTransmitEnable

Topic: Data link and system callbacks. Declared in CASBACnetStackDLL.h.