eProsima / Micro-XRCE-DDS

An XRCE DDS implementation. Looking for commercial support? Contact info@eprosima.com
Apache License 2.0
156 stars 17 forks source link

What's the difference between Micro-XRCE-DDS and MQTT? #55

Closed liyue75 closed 3 years ago

liyue75 commented 3 years ago

I have this problem now, there are some resource-constrained devices that need communicate with each other through UDP, but don' t need to connect to global network. Now I use mqtt-sn protocol which support UDP and use a Raspberry pi as a mqtt broker, these devices can sub and pub topic to the broker. If I use micro-xrce-dds in this case(use xrce-dds agent replace mqtt broker and use xrce-dds client replace mqtt client), does it works? What's the difference from using mqtt-sn? When compared micro-xrce-dds to mqtt, they looked similar. They all he an agent, and clients sub and pub data through it. It seems the QOS of XRCE-DDS is different from mqtt. What about differences in performance? Which one is more efficient?

pablogs9 commented 3 years ago

Hello @liyue75, thanks for the interest in XRCE-DDS. You can have preliminary information here.

If you have any other questions please let us know and we can discuss here.

pablogs9 commented 3 years ago

Closing due to inactivity.