We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1dad225 + b3ced1a commit 2ff55a2Copy full SHA for 2ff55a2
PubSubClient.h
@@ -21,13 +21,19 @@
21
#define MQTT_VERSION MQTT_VERSION_3_1_1
22
23
// MQTT_MAX_PACKET_SIZE : Maximum packet size
24
+#ifndef MQTT_MAX_PACKET_SIZE
25
#define MQTT_MAX_PACKET_SIZE 1024
26
+#endif
27
28
// MQTT_KEEPALIVE : keepAlive interval in Seconds
29
+#ifndef MQTT_KEEPALIVE
30
#define MQTT_KEEPALIVE 15
31
32
33
// MQTT_SOCKET_TIMEOUT: socket timeout interval in Seconds
34
+#ifndef MQTT_SOCKET_TIMEOUT
35
#define MQTT_SOCKET_TIMEOUT 15
36
37
38
// MQTT_MAX_TRANSFER_SIZE : limit how much data is passed to the network client
39
// in each write call. Needed for the Arduino Wifi Shield. Leave undefined to
0 commit comments