Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The ClearBlade MQTT broker honors these MQTT 3.1.1 error codes:

Value

Return Code Responsecode response

Description

0

0x00 Connection Accepted

Connection accepted

1

0x01 Connection Refused, unacceptable protocol version

The server does not support the MQTT protocol level requested by the client

2

0x02 Connection Refused, identifier rejected

The client identifier is correct (UTF-8) but unallowed by the server. A duplicate clientid can cause this

3

0x03 Connection Refused, Server unavailable

The network connection has been made, but the MQTT service is unavailable

4

0x04 Connection Refused, bad user name or password

The data in the user name or password is malformed

5

0x05

Unused by IoT Core

13

0x13

All other events for connect, disconnect, publish, and subscribe

...