256dpi / arduino-mqtt

MQTT library for Arduino
MIT License
1.01k stars 232 forks source link

Message lenght: I declare MQTTClient client(256); but it's not sending larger messages #221

Closed CptHolzschnauz closed 3 years ago

CptHolzschnauz commented 3 years ago

Messages with a lenght of 128 or fewer are sended, but when i declare MQTTClient client(256); as mentioned in the manual, it's not sending the larger messages. Board: MKR1400. Any hints? Thx

CptHolzschnauz commented 3 years ago

The answer is MQTTClient client(512); So it's possible to define the buffer size. Maybe you make the manual a little bit more detailed?