1.1.11.18 WDRV_WINC_MQTT_DISCONN_REASON_CODE_TYPE

Enum type

Summary

MQTT reason codes for disconnecting.

Description

Possible MQTT reason codes presented when disconnecting.

Remarks

None.

typedef enum
{
    /* Normal disconnection.*/
    WDRV_WINC_MQTT_DISCONN_REASON_CODE_NORMAL = WINC_CONST_MQTT_REASON_CODE_NORMAL,

    /* Disconnect with Will Message.*/
    WDRV_WINC_MQTT_DISCONN_REASON_CODE_SEND_LWT = WINC_CONST_MQTT_REASON_CODE_SEND_LWT,

    /* Unspecified error.*/
    WDRV_WINC_MQTT_DISCONN_REASON_CODE_ERROR = WINC_CONST_MQTT_REASON_CODE_ERROR,

    /* Malformed packet.*/
    WDRV_WINC_MQTT_DISCONN_REASON_CODE_MALFORM_PKT = WINC_CONST_MQTT_REASON_CODE_MALFORM_PKT,

    /* Protocol error.*/
    WDRV_WINC_MQTT_DISCONN_REASON_CODE_PROT_ERR = WINC_CONST_MQTT_REASON_CODE_PROT_ERR,

    /* Implementation specific error.*/
    WDRV_WINC_MQTT_DISCONN_REASON_CODE_IMP_SPEC_ERR = WINC_CONST_MQTT_REASON_CODE_IMP_SPEC_ERR,

    /* Topic name invalid.*/
    WDRV_WINC_MQTT_DISCONN_REASON_CODE_TOP_INVALID = WINC_CONST_MQTT_REASON_CODE_TOP_INVALID,

    /* Receive maximum exceeded.*/
    WDRV_WINC_MQTT_DISCONN_REASON_CODE_RX_MAX_EXCEED = WINC_CONST_MQTT_REASON_CODE_RX_MAX_EXCEED,

    /* Topic alias invalid.*/
    WDRV_WINC_MQTT_DISCONN_REASON_CODE_TOP_ALIAS_INVALID = WINC_CONST_MQTT_REASON_CODE_TOP_ALIAS_INVALID,

    /* Packet too large.*/
    WDRV_WINC_MQTT_DISCONN_REASON_CODE_PKT_TOO_LARGE = WINC_CONST_MQTT_REASON_CODE_PKT_TOO_LARGE,

    /* Message rate too high.*/
    WDRV_WINC_MQTT_DISCONN_REASON_CODE_MSG_RATE_TOO_HIGH = WINC_CONST_MQTT_REASON_CODE_MSG_RATE_TOO_HIGH,

    /* Quota exceeded.*/
    WDRV_WINC_MQTT_DISCONN_REASON_CODE_QUOTA_EXCEED = WINC_CONST_MQTT_REASON_CODE_QUOTA_EXCEED,

    /* Administrative action.*/
    WDRV_WINC_MQTT_DISCONN_REASON_CODE_ADMIN_ACT = WINC_CONST_MQTT_REASON_CODE_ADMIN_ACT,

    /* Payload format invalid.*/
    WDRV_WINC_MQTT_DISCONN_REASON_CODE_PAYLOAD_INVALID = WINC_CONST_MQTT_REASON_CODE_PAYLOAD_INVALID,
} WDRV_WINC_MQTT_DISCONN_REASON_CODE_TYPE;