Skip to content

Commit

Permalink
Increase MQTT buffer size on STM32H7
Browse files Browse the repository at this point in the history
  • Loading branch information
manchoz committed Feb 14, 2024
1 parent 60528b9 commit 345c34a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/ArduinoIoTCloudTCP.h
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,11 @@ class ArduinoIoTCloudTCP: public ArduinoIoTCloudClass
#endif

private:
#if defined(ARDUINO_PORTENTA_H7_M7) || defined(ARDUINO_OPTA) || defined(ARDUINO_GIGA)
static const int MQTT_TRANSMIT_BUFFER_SIZE = 1024;
#else
static const int MQTT_TRANSMIT_BUFFER_SIZE = 256;
#endif

enum class State
{
Expand Down

0 comments on commit 345c34a

Please # to comment.