Data Bridge
Data Bridge forwards the data that one device receives or sends to another device. Common uses include serial pass-through, two-way pass-through, monitoring the traffic between two devices, and sending one stream of data to several devices at once.
You set it up by drawing lines between devices on a canvas. Once a line takes effect, data is forwarded in real time without manual action.
Open the configuration window
Choose Bridge from the Configuration menu in the main window to open the Data Bridge Configuration window. Each open device appears as a box. You need at least two open devices to create a connection.
The window contains:
- Canvas: Shows the device boxes and connection lines. Drag a box to move it.
- Connection count: Shows how many connection lines exist.
- Clear All Connections: Removes all connection lines from the canvas.
- OK: Applies the connection settings and closes the window.
- Cancel: Closes the window and discards unconfirmed changes.
Endpoints
Each device box has two connection points.
| Endpoint | Position | Color | Data forwarded when it is the start of a line | Role when it is the end of a line |
|---|---|---|---|---|
| Send endpoint | Top of the box | Red | Data the device sends, including manual, timed, and Quick Send, plus data sent by Auto Answer and Process Execution | Sends the data out of the target device |
| Receive endpoint | Bottom of the box | Green | Data the device receives | Treats the data as received by the target device and parses and displays it by its receive mode |
Create a connection
- On the source device box, click the red send endpoint or the green receive endpoint to start drawing a line.
- Drag to a connection point on the target device, then release the mouse.
A line cannot connect a device to itself. If you release the mouse away from a connection point, or press Esc, the line is canceled.
Common scenarios
Serial pass-through: Data received by serial port 1 is sent out of serial port 2.
Serial 1 [Receive] → Serial 2 [Send]Two-way pass-through: Two serial ports forward data to each other. Create two lines.
Serial 1 [Receive] → Serial 2 [Send]
Serial 2 [Receive] → Serial 1 [Send]Data monitoring: The receive area of serial port 2 shows both the data sent and the data received by serial port 1.
Serial 1 [Send] → Serial 2 [Receive]
Serial 1 [Receive] → Serial 2 [Receive]One-to-many broadcast: Data received by serial port 1 is sent to serial ports 2, 3, and 4.
Serial 1 [Receive] → Serial 2 [Send]
Serial 1 [Receive] → Serial 3 [Send]
Serial 1 [Receive] → Serial 4 [Send]Manage lines
- Move a device: Drag its box. Connected lines follow it.
- Select a line: Click the line. A selected line turns blue.
- Delete a line: Select the line, then press
DeleteorBackspace. - Clear all lines: Click Clear All Connections and confirm in the dialog.
When changes take effect
Changes to lines, including creating, deleting, and clearing all lines, take effect only after you click OK. If you click Cancel or close the window, unconfirmed changes are lost, and the window shows the lines that are in effect when you open it next time.
When you close a device, the lines connected to it are removed automatically.
Forwarding rules
- Raw data is forwarded: A receive endpoint forwards the raw bytes the device received. A frame that a frame processing script drops is still forwarded.
- Forwarded sends are echoed: Data sent through a send endpoint appears in the send area of the target device.
- Stop Receive blocks forwarding: When Stop Receive is checked on the source device, new data it receives is not forwarded.
- Stream receive modes are excluded: Devices in the Text (split by \n) or JustFloat receive mode do not take part in forwarding, whether they are the start or the end of a line. The app does not warn you when you create the line. The line is kept, but no data is forwarded.
- Avoid loops: A loop such as A → B and B → A makes data forward back and forth and can increase system load. The app guards against repeated forwarding on the same endpoint, but you should still avoid this kind of setup.
TIP
If forwarding does not work, check two things first: whether you clicked OK after changing the lines, and whether either device is in a stream receive mode.
