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:
- 1:0f810fceda0a
- Parent:
- 0:ca855d29545b
- Child:
- 2:c7346432f586
diff -r ca855d29545b -r 0f810fceda0a PubSubClient.h --- a/PubSubClient.h Sun May 26 16:52:01 2013 +0000 +++ b/PubSubClient.h Sun Mar 16 17:39:37 2014 +0000 @@ -13,10 +13,10 @@ // MQTT_MAX_PACKET_SIZE : Maximum packet size -#define MQTT_MAX_PACKET_SIZE 128 +#define MQTT_MAX_PACKET_SIZE 512 // MQTT_KEEPALIVE : keepAlive interval in Seconds -#define MQTT_KEEPALIVE 15 +#define MQTT_KEEPALIVE 15000 #define MQTTPROTOCOLVERSION 3 #define MQTTCONNECT 1 << 4 // Client request to connect to Server