MqttV311ConnectReturnCode Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
MQTT 3.1.1 Connect Return Codes.
public enum MqttV311ConnectReturnCode
type MqttV311ConnectReturnCode =
Public Enum MqttV311ConnectReturnCode
- Inheritance
-
MqttV311ConnectReturnCode
Fields
Name | Value | Description |
---|---|---|
UnacceptableProtocolVersion | 1 | 0x01: Connection refused, unacceptable protocol version The Server does not support the level of the MQTT protocol requested by the Client. |
IdentifierRejected | 2 | 0x02: Connection refused, identifier rejected The Client identifier is correct UTF-8 but not allowed by the Server. |
ServerUnavailable | 3 | 0x03: Connection refused, server unavailable The Network Connection has been made but the MQTT service is unavailable. |
BadUsernameOrPassword | 4 | 0x04: Connection refused, bad user name or password The data in the user name or password is malformed. |
NotAuthorized | 5 | 0x05: Connection refused, not authorized The Client is not authorized to connect. |
Applies to
Azure SDK for .NET