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
Diff: PubSubClient.h
- Revision:
- 3:3f246afce2c4
- Parent:
- 2:c7346432f586
- Child:
- 4:3e73a2546953
diff -r c7346432f586 -r 3f246afce2c4 PubSubClient.h --- a/PubSubClient.h Mon Mar 17 03:45:35 2014 +0000 +++ b/PubSubClient.h Fri Mar 21 04:33:59 2014 +0000 @@ -16,7 +16,7 @@ #define MQTT_MAX_PACKET_SIZE 128 // MQTT_KEEPALIVE : keepAlive interval in Seconds -#define MQTT_KEEPALIVE 15000 +#define MQTT_KEEPALIVE 1500 #define MQTTPROTOCOLVERSION 3 #define MQTTCONNECT 1 << 4 // Client request to connect to Server