Explorar o código

Add chunk size constant

Christopher Mullins %!s(int64=6) %!d(string=hai) anos
pai
achega
410bcb7b92
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      lib/MQTT/MqttClient.h

+ 4 - 0
lib/MQTT/MqttClient.h

@@ -8,6 +8,10 @@
 #define MQTT_CONNECTION_ATTEMPT_FREQUENCY 5000
 #endif
 
+#ifndef MQTT_PACKET_CHUNK_SIZE
+#define MQTT_PACKET_CHUNK_SIZE 128
+#endif
+
 #ifndef _MQTT_CLIENT_H
 #define _MQTT_CLIENT_H