From 5691456ac73f7cfc4119eb2b36371db22d593cbd Mon Sep 17 00:00:00 2001 From: "Roger A. Light" Date: Thu, 21 Mar 2019 09:48:27 +0000 Subject: [PATCH] Remove errant header from merge. --- lib/mqtt3_protocol.h | 53 -------------------------------------------- 1 file changed, 53 deletions(-) delete mode 100644 lib/mqtt3_protocol.h diff --git a/lib/mqtt3_protocol.h b/lib/mqtt3_protocol.h deleted file mode 100644 index 8515f080..00000000 --- a/lib/mqtt3_protocol.h +++ /dev/null @@ -1,53 +0,0 @@ -/* -Copyright (c) 2009-2019 Roger Light - -All rights reserved. This program and the accompanying materials -are made available under the terms of the Eclipse Public License v1.0 -and Eclipse Distribution License v1.0 which accompany this distribution. - -The Eclipse Public License is available at - http://www.eclipse.org/legal/epl-v10.html -and the Eclipse Distribution License is available at - http://www.eclipse.org/org/documents/edl-v10.php. - -Contributors: - Roger Light - initial implementation and documentation. -*/ - -#ifndef MQTT3_PROTOCOL_H -#define MQTT3_PROTOCOL_H - -/* For version 3 of the MQTT protocol */ - -#define PROTOCOL_NAME_v31 "MQIsdp" -#define PROTOCOL_VERSION_v31 3 - -#define PROTOCOL_NAME_v311 "MQTT" -#define PROTOCOL_VERSION_v311 4 - -/* Message types */ -#define CONNECT 0x10 -#define CONNACK 0x20 -#define PUBLISH 0x30 -#define PUBACK 0x40 -#define PUBREC 0x50 -#define PUBREL 0x60 -#define PUBCOMP 0x70 -#define SUBSCRIBE 0x80 -#define SUBACK 0x90 -#define UNSUBSCRIBE 0xA0 -#define UNSUBACK 0xB0 -#define PINGREQ 0xC0 -#define PINGRESP 0xD0 -#define DISCONNECT 0xE0 - -#define CONNACK_ACCEPTED 0 -#define CONNACK_REFUSED_PROTOCOL_VERSION 1 -#define CONNACK_REFUSED_IDENTIFIER_REJECTED 2 -#define CONNACK_REFUSED_SERVER_UNAVAILABLE 3 -#define CONNACK_REFUSED_BAD_USERNAME_PASSWORD 4 -#define CONNACK_REFUSED_NOT_AUTHORIZED 5 - -#define MQTT_MAX_PAYLOAD 268435455 - -#endif