5 years, 10 months ago.

Documentation

Hi! I'm having a problem with connecting to some broker servers, the return code is not 0, but the documentation doesn't tell me what that means. 0 is OK, from what I gather, and anything else isn't, but it would be nice to know what those error codes are. Also, I fail to understand what QOS stands for, and what some variables in the Message struct do. Any chance of finding out?

Question relating to:

Deprecated This team is no longer maintained, please use: https://github.com/ARMmbed/mbed-mqtt instead.

1 Answer

5 years, 9 months ago.

Hi. MQTT connect return codes, the explanation of QoS (Quality of Service), and other details of MQTT are in the specification, http://docs.oasis-open.org/mqtt/mqtt/v3.1.1/csprd02/mqtt-v3.1.1-csprd02.html. Other documentation and help can be found at mqtt.org, and the MQTT Google group.

Accepted Answer