--- libaitmqtt/inc/aitmqtt.h 2012/01/27 15:12:27 1.1.1.1.2.3 +++ libaitmqtt/inc/aitmqtt.h 2012/01/27 15:15:32 1.1.1.1.2.4 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: aitmqtt.h,v 1.1.1.1.2.3 2012/01/27 15:12:27 misho Exp $ +* $Id: aitmqtt.h,v 1.1.1.1.2.4 2012/01/27 15:15:32 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -50,6 +50,9 @@ SUCH DAMAGE. #define MAX_CONNID 24 #define MAX_CRED 13 #define MQTTMSG_MAX 65529 + +#define MQTT_PROTO_VER 3 +#define MQTT_KEEPALIVE 10 /* FIXED HEADER */