1
0
mirror of https://github.com/adafruit/Adafruit_MQTT_Library.git synced 2025-07-29 02:02:00 +03:00

shorter suback timeout

This commit is contained in:
ladyada
2016-07-08 15:21:47 -04:00
parent bb240928e8
commit 9ed79466b2
3 changed files with 10 additions and 4 deletions

View File

@ -30,7 +30,9 @@
#endif
// Uncomment/comment to turn on/off debug output messages.
//#define MQTT_DEBUG
#define MQTT_DEBUG
// Uncomment/comment to turn on/off error output messages.
#define MQTT_ERROR
// Set where debug messages will be printed.
#define DEBUG_PRINTER Serial
@ -71,6 +73,7 @@
#define CONNECT_TIMEOUT_MS 6000
#define PUBLISH_TIMEOUT_MS 500
#define PING_TIMEOUT_MS 500
#define SUBACK_TIMEOUT_MS 500
// Adjust as necessary, in seconds. Default to 5 minutes.
#define MQTT_CONN_KEEPALIVE 300