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, }