MQTT client for mbed Port of the Arduino MQTT Client: http://knolleary.net/arduino-client-for-mqtt/
Revision 1:05fe2e37b93d, committed 2016-02-04
- Comitter:
- dwijaybane
- Date:
- Thu Feb 04 06:46:15 2016 +0000
- Parent:
- 0:c492c0206878
- Commit message:
- keep alive timeout increased
Changed in this revision
| PubSubClient.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/PubSubClient.h Mon Jan 25 09:04:25 2016 +0000 +++ b/PubSubClient.h Thu Feb 04 06:46:15 2016 +0000 @@ -18,7 +18,7 @@ #define MQTT_MAX_PACKET_SIZE 128 // 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