際際滷

際際滷Share a Scribd company logo
Hello World
in
OMG-DDS
and
MQTT
A quick comparison
Sander Mertens
March 2015
OMG DDS Hello World
Automatic discovery & P2P (no broker
required)
Use (generated)
native types
Type safe API
4 LOC
setup entities: 3
write data: 1
Application-managed IP-
addresses & port numbers
Broker based
No awareness of
message type
MQTT Hello World 6 LOC
setup entities: 3
write data: 3
based on https://eclipse.org/paho/clients/cpp/
Pub / Sub
Thanks for watching!

More Related Content

"Hello World" in OMG DDS and MQTT