Navigation
API > API/Plugins > API/Plugins/MQTTCore
MQTT v3.1.1
| Name | EMQTTConnectReturnCode |
| Type | enum |
| Header File | /Engine/Plugins/Protocols/MQTT/Source/MQTTCore/Public/MQTTProtocol.h |
| Include Path | #include "MQTTProtocol.h" |
Syntax
enum EMQTTConnectReturnCode
{
Accepted = 0x00U,
RefusedProtocolVersion = 0x01U,
RefusedIdentifierRejected = 0x02U,
RefusedServerUnavailable = 0x03U,
RefusedBadUsernamePassword = 0x04U,
RefusedNotAuthorized = 0x05U,
AlreadyConnected,
InvalidURL,
SocketError,
}
Values
| Name | Remarks |
|---|---|
| Accepted | Connection accepted. |
| RefusedProtocolVersion | The Server does not the support the level of the MQTT protocol requested by the Client. |
| RefusedIdentifierRejected | The Client identifier is correct UTF-8 but not allowed by the Server. |
| RefusedServerUnavailable | The Network Connection has been made but the MQTT service is unavailable. |
| RefusedBadUsernamePassword | The data in the user name or password is malformed. |
| RefusedNotAuthorized | The Client is not authorized to connect. |
| AlreadyConnected | Non-spec entries The Client is already connected to the Server. |
| InvalidURL | The provided URL is malformed. |
| SocketError | Socket error. |