I am newbie in DDS and C++, and I used fastrtps to run dds code(dynamic example) in a raspberry(ubuntu server), which was successful. However, when I move subscribe part to another raspberry, two raspberries cannot find each other.
So far, I guess there are two reason:
This is example code DynamicHelloWorldExample.
Thanks ><
Finally, I turn off firewall(command below) on both raspberries, not cellphone.
sudo ufw disable
Thanks every one trying to help me.