Paho Asynchronous MQTT C Client Library
MQTTReasonCodes.h
Go to the documentation of this file.
1 /*******************************************************************************
2  * Copyright (c) 2017, 2020 IBM Corp. and others
3  *
4  * All rights reserved. This program and the accompanying materials
5  * are made available under the terms of the Eclipse Public License v2.0
6  * and Eclipse Distribution License v1.0 which accompany this distribution.
7  *
8  * The Eclipse Public License is available at
9  * https://www.eclipse.org/legal/epl-2.0/
10  * and the Eclipse Distribution License is available at
11  * http://www.eclipse.org/org/documents/edl-v10.php.
12  *
13  * Contributors:
14  * Ian Craggs - initial API and implementation and/or initial documentation
15  *******************************************************************************/
16 
17 #if !defined(MQTTREASONCODES_H)
18 #define MQTTREASONCODES_H
19 
20 #include "MQTTExportDeclarations.h"
21 
69 };
70 
77 LIBMQTT_API const char* MQTTReasonCode_toString(enum MQTTReasonCodes value);
78 
79 #endif
const char * MQTTReasonCode_toString(enum MQTTReasonCodes value)
MQTTReasonCodes
Definition: MQTTReasonCodes.h:23
@ MQTTREASONCODE_TOPIC_FILTER_INVALID
Definition: MQTTReasonCodes.h:49
@ MQTTREASONCODE_UNSUPPORTED_PROTOCOL_VERSION
Definition: MQTTReasonCodes.h:38
@ MQTTREASONCODE_GRANTED_QOS_1
Definition: MQTTReasonCodes.h:27
@ MQTTREASONCODE_SERVER_SHUTTING_DOWN
Definition: MQTTReasonCodes.h:45
@ MQTTREASONCODE_CONTINUE_AUTHENTICATION
Definition: MQTTReasonCodes.h:32
@ MQTTREASONCODE_SERVER_UNAVAILABLE
Definition: MQTTReasonCodes.h:42
@ MQTTREASONCODE_PACKET_TOO_LARGE
Definition: MQTTReasonCodes.h:55
@ MQTTREASONCODE_NO_MATCHING_SUBSCRIBERS
Definition: MQTTReasonCodes.h:30
@ MQTTREASONCODE_UNSPECIFIED_ERROR
Definition: MQTTReasonCodes.h:34
@ MQTTREASONCODE_SHARED_SUBSCRIPTIONS_NOT_SUPPORTED
Definition: MQTTReasonCodes.h:64
@ MQTTREASONCODE_MALFORMED_PACKET
Definition: MQTTReasonCodes.h:35
@ MQTTREASONCODE_PAYLOAD_FORMAT_INVALID
Definition: MQTTReasonCodes.h:59
@ MQTTREASONCODE_NORMAL_DISCONNECTION
Definition: MQTTReasonCodes.h:25
@ MQTTREASONCODE_GRANTED_QOS_0
Definition: MQTTReasonCodes.h:26
@ MQTTREASONCODE_IMPLEMENTATION_SPECIFIC_ERROR
Definition: MQTTReasonCodes.h:37
@ MQTTREASONCODE_RECEIVE_MAXIMUM_EXCEEDED
Definition: MQTTReasonCodes.h:53
@ MQTTREASONCODE_PACKET_IDENTIFIER_NOT_FOUND
Definition: MQTTReasonCodes.h:52
@ MQTTREASONCODE_NO_SUBSCRIPTION_FOUND
Definition: MQTTReasonCodes.h:31
@ MQTTREASONCODE_DISCONNECT_WITH_WILL_MESSAGE
Definition: MQTTReasonCodes.h:29
@ MQTTREASONCODE_TOPIC_NAME_INVALID
Definition: MQTTReasonCodes.h:50
@ MQTTREASONCODE_SUCCESS
Definition: MQTTReasonCodes.h:24
@ MQTTREASONCODE_RE_AUTHENTICATE
Definition: MQTTReasonCodes.h:33
@ MQTTREASONCODE_MAXIMUM_CONNECT_TIME
Definition: MQTTReasonCodes.h:66
@ MQTTREASONCODE_GRANTED_QOS_2
Definition: MQTTReasonCodes.h:28
@ MQTTREASONCODE_SERVER_MOVED
Definition: MQTTReasonCodes.h:63
@ MQTTREASONCODE_SUBSCRIPTION_IDENTIFIERS_NOT_SUPPORTED
Definition: MQTTReasonCodes.h:67
@ MQTTREASONCODE_WILDCARD_SUBSCRIPTIONS_NOT_SUPPORTED
Definition: MQTTReasonCodes.h:68
@ MQTTREASONCODE_QOS_NOT_SUPPORTED
Definition: MQTTReasonCodes.h:61
@ MQTTREASONCODE_CONNECTION_RATE_EXCEEDED
Definition: MQTTReasonCodes.h:65
@ MQTTREASONCODE_TOPIC_ALIAS_INVALID
Definition: MQTTReasonCodes.h:54
@ MQTTREASONCODE_NOT_AUTHORIZED
Definition: MQTTReasonCodes.h:41
@ MQTTREASONCODE_QUOTA_EXCEEDED
Definition: MQTTReasonCodes.h:57
@ MQTTREASONCODE_RETAIN_NOT_SUPPORTED
Definition: MQTTReasonCodes.h:60
@ MQTTREASONCODE_USE_ANOTHER_SERVER
Definition: MQTTReasonCodes.h:62
@ MQTTREASONCODE_BANNED
Definition: MQTTReasonCodes.h:44
@ MQTTREASONCODE_CLIENT_IDENTIFIER_NOT_VALID
Definition: MQTTReasonCodes.h:39
@ MQTTREASONCODE_BAD_USER_NAME_OR_PASSWORD
Definition: MQTTReasonCodes.h:40
@ MQTTREASONCODE_SESSION_TAKEN_OVER
Definition: MQTTReasonCodes.h:48
@ MQTTREASONCODE_PACKET_IDENTIFIER_IN_USE
Definition: MQTTReasonCodes.h:51
@ MQTTREASONCODE_PROTOCOL_ERROR
Definition: MQTTReasonCodes.h:36
@ MQTTREASONCODE_ADMINISTRATIVE_ACTION
Definition: MQTTReasonCodes.h:58
@ MQTTREASONCODE_KEEP_ALIVE_TIMEOUT
Definition: MQTTReasonCodes.h:47
@ MQTTREASONCODE_SERVER_BUSY
Definition: MQTTReasonCodes.h:43
@ MQTTREASONCODE_BAD_AUTHENTICATION_METHOD
Definition: MQTTReasonCodes.h:46
@ MQTTREASONCODE_MESSAGE_RATE_TOO_HIGH
Definition: MQTTReasonCodes.h:56