allow user to define MQTT KEEPALIVE in sketch

This commit is contained in:
Todd Treece 2015-10-02 10:43:11 -04:00
parent a0520d3265
commit ea779b1daa
1 changed files with 3 additions and 1 deletions

View File

@ -65,7 +65,9 @@
#define PING_TIMEOUT_MS 500
// Adjust as necessary, in seconds. Default to 5 minutes.
#define MQTT_CONN_KEEPALIVE 300
#ifndef MQTT_CONN_KEEPALIVE
#define MQTT_CONN_KEEPALIVE 300
#endif
// Largest full packet we're able to send.
// Need to be able to store at least ~90 chars for a connect packet with full