Initial port of the Arduino MQTT Client: http://knolleary.net/arduino-client-for-mqtt/ Updated with larger timeout and buffer sizes

Dependents:   mbed_mqtt_endpoint_ublox_ethernet mbed_mqtt_endpoint_ublox_cellular mbed_mqtt_endpoint_nxp

Fork of MQTT by Joerg Wende

Revision:
6:f8294e112608
Parent:
5:989d4fba3bf6
Child:
9:f28fd918d58c
diff -r 989d4fba3bf6 -r f8294e112608 PubSubClient.h
--- a/PubSubClient.h	Mon Mar 31 18:47:05 2014 +0000
+++ b/PubSubClient.h	Tue Apr 01 20:06:21 2014 +0000
@@ -15,7 +15,7 @@
 #define MQTT_MAX_PACKET_SIZE 128
 
 // MQTT_KEEPALIVE : keepAlive interval in Seconds
-#define MQTT_KEEPALIVE 30
+#define MQTT_KEEPALIVE 15
 
 #define MQTTPROTOCOLVERSION 3
 #define MQTTCONNECT 1 << 4 // Client request to connect to Server