--- libaitmqtt/inc/aitmqtt.h 2012/04/26 11:49:12 1.1.1.1.2.8 +++ libaitmqtt/inc/aitmqtt.h 2012/04/26 12:33:14 1.1.1.1.2.9 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: aitmqtt.h,v 1.1.1.1.2.8 2012/04/26 11:49:12 misho Exp $ +* $Id: aitmqtt.h,v 1.1.1.1.2.9 2012/04/26 12:33:14 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -103,6 +103,9 @@ struct mqtthdr { #define MQTT_QOS_ACK 1 /* At least once, Acknowledged delivery, >=1 */ #define MQTT_QOS_EXACTLY 2 /* Exactly once, Assured delivery, =1 */ #define MQTT_QOS_RESERVED 3 /* reserved */ + +#define MQTT_QOS_DENY 0 /* Not granted QoS for SUBACK */ +#define MQTT_QOS_PASS 2 /* Granted QoS for SUBACK */ #define MQTT_FLAG_RETAIN 1 /* This flag is only used on PUBLISH messages.