1

Can I create clients acting as publishers and subscribers on Arduino using the MQTT.h library in C; use the Mosquitto broker on desktop and try establishing M2M Communication? Also, where can I get the WMQTT GUI so that I can test my clients separately (possibly a link)? Are there any GUI open source broker's available?

1 Answer 1

2

There are a number of MQTT client libraries available for the Arduino. If you open the library manager (Sketch -> Include Library -> Manage Libraries...), and search for MQTT you'll find them. I'm the maintainer of the PubSubClient library you'll find in that list - for more information see http://pubsubclient.knolleary.net/

mqtt-spy is one open source gui tool available for interacting with topics. The mosquitto broker comes with mosquitto_sub and mosquitto_pub command-line tools for subscribing and publishing to a broker - they are useful for testing with.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.