Skip to content

How will DDS messages choose the link? #2327

@guoyanzhang920817

Description

@guoyanzhang920817

I have the following scenario: I am using an ARM processor with two network interfaces. One interface, eth1, has been modified to connect in a MAC-to-MAC manner to an MCU on the same circuit board, and the network works normally. The other interface, eth0, faces outward and may sometimes not be connected to a network cable. If I use the following configuration, will messages reliably go through eth0 when I plug in the network cable?

1<?xml version="1.0" encoding="utf-8"?>
 2<CycloneDDS
 3  xmlns="https://cdds.io/config"
 4  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 5  xsi:schemaLocation="https://cdds.io/config https://raw.githubusercontent.com/eclipse-cyclonedds/cyclonedds/master/etc/cyclonedds.xsd"
 6>
 7  <Domain Id="any">
 8    <General>
 9      <Interfaces>
10        <NetworkInterface autodetermine="true" priority="default"
11        multicast="default" />
12      </Interfaces>
13      <AllowMulticast>default</AllowMulticast>
14      <MaxMessageSize>65500B</MaxMessageSize>
15    </General>
16    <Tracing>
17      <Verbosity>config</Verbosity>
18      <OutputFile>
19        ${HOME}/dds/log/cdds.log.${CYCLONEDDS_PID}
20      </OutputFile>
21    </Tracing>
22  </Domain>
23</CycloneDDS>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions