Expand description

The MQTT errors

Enums

The errors from an MQTT operation.

Constants

Using an option for a different version of MQTT than the client or connection is currently using.

Protocol prefix in serverURI must be “tcp://”, “ssl://”, “ws://”, or “wss://” The TLS enabled prefixes (ssl, wss) are only valid when using the AAL/TLS version of the library.

A qos parameter is not 0, 1 or 2

A structure parameter does not have the correct eyecatcher and version number.

An invalid UTF-8 string has been detected.

The client is disconnected

A generic error code indicating the failure of an MQTT client operation

No more messages can be buffered

The maximum number of messages allowed to be simultaneously in-flight has been reached.

All 65535 MQTT msgids are being used

A NULL parameter has been supplied when this is invalid.

The request is being discarded when not complete

An error in the message persistence

Attempting SSL connection using non-SSL version of library

The topic has been truncated (the topic string includes embedded NULL characters). String functions will not access the full topic. Use the topic length value to access the full topic.

Call not applicable to the current version of MQTT in use.

Zero-length will topics not supported.

Functions

Type Definitions

The result type for MQTT operations.