Hi all!
I’m new on this mangOH system and I have to create a MQTT communication.
I want to use as broker MOSQUITTO MQTT and as client I know that there are many options:
Paho library
MQTT client folder that is included in mangOH github project:
I installed Mosquitto on my ubuntu VM. Can anyone explain to me how to enstabilish a connection between mosquitto mqtt and the client? Which is simpliest to use, paho or mqttClient?
Another question: I activated my device on AirVantage: can AirVantage be used as broker?
I compiled and updated on the board the .update of your mangOH2-7-19 going into apps/MqttClient.
I see that the app is running. How can I do to know if all work fine? Are there examples that I can implement with my mangOH green?
Cannot tell you the exact cause of such a problem, but you might research a guide on how to establish an MQTT client and broker connection works. They have this information on the Cedalo website and forum.
To begin with, you can read this beginner’s guide on mqtt client and broker connection. It’s written in simple words, explains how the protocol works, and contains a step-by-step guide on establishing a stable and protected connection.
You can browse their other docs and resources to find more suitable info, especially their forum that mainly deals with MQTT questions. Good luck, man!