9.10.2.2 +MQTTCONNACK

Connection acknowledge.

Table 9-103. AEC Syntax

AEC

Description

+MQTTCONNACK:<CONNACK_FLAGS>,<RETURN_CODE>

Connection state

Table 9-104. AEC Element Syntax

Element Name

Type

Description

<CONNACK_FLAGS>

Integer

Connect acknowledge flags

<RETURN_CODE>

Integer

Connect return code
  • 0 – Success
  • 128 – Unspecified error
  • 129 – Malformed packet
  • 130 – Protocol error
  • 131 – Implementation specific error
  • 132 – Unsupported protocol version
  • 133 – Client identifier not valid
  • 134 – Bad username or password
  • 135 – Not authorized
  • 136 – Server unavailable
  • 137 – Server busy
  • 138 – Banned
  • 140 – Bad authentication method
  • 144 – Topic name invalid
  • 149 – Packet too large
  • 151 – Quota exceeded
  • 153 – Payload format invalid
  • 154 – Retain not supported
  • 155 – QoS not supported
  • 156 – Use another server
  • 156 – Server moved
  • 159 – Connection rate exceeded