unreal.MQTTConnectReturnCode

class unreal.MQTTConnectReturnCode

Bases: EnumBase

MQTT v3.1.1

C++ Source:

  • Plugin: MQTT

  • Module: MQTTCore

  • File: MQTTProtocol.h

ACCEPTED: MQTTConnectReturnCode

Connection accepted.

Type:

0

ALREADY_CONNECTED: MQTTConnectReturnCode

The Client is already connected to the Server.

Type:

6

INVALID_URL: MQTTConnectReturnCode

The provided URL is malformed.

Type:

7

REFUSED_BAD_USERNAME_PASSWORD: MQTTConnectReturnCode

The data in the user name or password is malformed.

Type:

4

REFUSED_IDENTIFIER_REJECTED: MQTTConnectReturnCode

The Client identifier is correct UTF-8 but not allowed by the Server.

Type:

2

REFUSED_NOT_AUTHORIZED: MQTTConnectReturnCode

The Client is not authorized to connect.

Type:

5

REFUSED_PROTOCOL_VERSION: MQTTConnectReturnCode

The Server does not the support the level of the MQTT protocol requested by the Client.

Type:

1

REFUSED_SERVER_UNAVAILABLE: MQTTConnectReturnCode

The Network Connection has been made but the MQTT service is unavailable.

Type:

3

SOCKET_ERROR: MQTTConnectReturnCode

Socket error.

Type:

8