Navigation
API > API/Plugins > API/Plugins/MQTTCore
- MQTT v5 (renamed from ReturnCode in v3.1.1)
-
conflicting codes a differentiated by what they're returned from
| Name | EMQTTReasonCode |
| Type | enum |
| Header File | /Engine/Plugins/Protocols/MQTT/Source/MQTTCore/Public/MQTTProtocol.h |
| Include Path | #include "MQTTProtocol.h" |
Syntax
enum EMQTTReasonCode
{
Success = 0x00U,
NormalDisconnection = 0x00U,
Granted_QoS0 = 0x00U,
Granted_QoS1 = 0x01U,
Granted_QoS2 = 0x02U,
DisconnectWithWillMsg = 0x04U,
NoMatchingSubscribers = 0x10U,
NoSubscriptionExisted = 0x11U,
ContinueAuthentication = 0x18U,
ReAuthenticate = 0x19U,
Unspecified = 0x80U,
MalformedPacket = 0x19U,
ProtocolError = 0x82U,
ImplementationSpecific = 0x83U,
UnsupportedProtocolVersion = 0x84U,
ClientIdNotValid = 0x85U,
BadUsernameOrPassword = 0x86U,
NotAuthorized = 0x87U,
ServerUnavailable = 0x88U,
ServerBusy = 0x89U,
Banned = 0x8AU,
ServerShuttingDown = 0x8BU,
BadAuthenticationMethod = 0x8CU,
KeepAliveTimeout = 0x8DU,
SessionTakenOver = 0x8EU,
TopicFilterInvalid = 0x8FU,
TopicNameInvalid = 0x90U,
PacketIdInUse = 0x91U,
PacketIdNotFound = 0x92U,
ReceiveMaximumExceeded = 0x93U,
TopicAliasInvalid = 0x94U,
PacketTooLarge = 0x95U,
MessageRateTooHigh = 0x96U,
QuotaExceeded = 0x97U,
AdministrativeAction = 0x98U,
PayloadFormatInvalid = 0x99U,
RetainNotSupported = 0x9AU,
QoSNotSupported = 0x9BU,
UseAnotherServer = 0x9CU,
ServerMoved = 0x9DU,
SharedSubscriptionNotSupported = 0x9EU,
ConnectionRateExceeded = 0x9FU,
MaximumConnectTime = 0xA0U,
SubscriptionIdsNotSupported = 0xA1U,
WildcardSubscriptionNotSupported = 0xA2U,
}
Values
| Name | Remarks |
|---|---|
| Success | |
| NormalDisconnection | |
| Granted_QoS0 | |
| Granted_QoS1 | |
| Granted_QoS2 | |
| DisconnectWithWillMsg | |
| NoMatchingSubscribers | |
| NoSubscriptionExisted | |
| ContinueAuthentication | |
| ReAuthenticate | |
| Unspecified | |
| MalformedPacket | |
| ProtocolError | |
| ImplementationSpecific | |
| UnsupportedProtocolVersion | |
| ClientIdNotValid | |
| BadUsernameOrPassword | |
| NotAuthorized | |
| ServerUnavailable | |
| ServerBusy | |
| Banned | |
| ServerShuttingDown | |
| BadAuthenticationMethod | |
| KeepAliveTimeout | |
| SessionTakenOver | |
| TopicFilterInvalid | |
| TopicNameInvalid | |
| PacketIdInUse | |
| PacketIdNotFound | |
| ReceiveMaximumExceeded | |
| TopicAliasInvalid | |
| PacketTooLarge | |
| MessageRateTooHigh | |
| QuotaExceeded | |
| AdministrativeAction | |
| PayloadFormatInvalid | |
| RetainNotSupported | |
| QoSNotSupported | |
| UseAnotherServer | |
| ServerMoved | |
| SharedSubscriptionNotSupported | |
| ConnectionRateExceeded | |
| MaximumConnectTime | |
| SubscriptionIdsNotSupported | |
| WildcardSubscriptionNotSupported |