MX Foundation 4
|
A bridge is a connection between an input port and an output port. It allows the routing of all or selected messages from one RX port to a TX port.
The user application defines which TX buffer/RX channel pair needs to be connected, but is not involved later on in the data transfer.
In addition to the redirection of traffic, a bridge can also snoop the ARINC 429 words and provides the following services:
The code below shows how to create a simple bridge to connect one RX port to a TX port.
The example connects the ports using mxfBridgeCreate() and starts the routing using mxfBridgeStart().
For the sake of simplicity, in the example below, the receive channel is assumed to be an acquisition channel that was allocated previously and the transmit channel an aperiodic channel.
ar429_embedded_bridge.c