eProsima / Micro-XRCE-DDS-Client

Micro XRCE-DDS Client repository. Looking for commercial support? Contact info@eprosima.com
Apache License 2.0
130 stars 82 forks source link

Agent Discovery #356

Closed Noothless closed 1 year ago

Noothless commented 1 year ago

I'm trying to implement the agent discovery feature. The agent is running on an Ubuntu Linux server and a Zephyr embedded client is using the uxr_discovery_agents_default function to look for the agent on UDP multicast. The uxr_discovery_agents_default function returns "127.0.0.1" as the agents IP address. I have not yet found a way to force the agent to use the correct network interface. How do I get the agent to return the IP address of the eth0 interface?