Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 345c34a

Browse files
committedFeb 14, 2024·
Increase MQTT buffer size on STM32H7
1 parent 60528b9 commit 345c34a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

‎src/ArduinoIoTCloudTCP.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,11 @@ class ArduinoIoTCloudTCP: public ArduinoIoTCloudClass
106106
#endif
107107

108108
private:
109+
#if defined(ARDUINO_PORTENTA_H7_M7) || defined(ARDUINO_OPTA) || defined(ARDUINO_GIGA)
110+
static const int MQTT_TRANSMIT_BUFFER_SIZE = 1024;
111+
#else
109112
static const int MQTT_TRANSMIT_BUFFER_SIZE = 256;
113+
#endif
110114

111115
enum class State
112116
{

0 commit comments

Comments
 (0)
Please sign in to comment.