Imroy / pubsubclient

A client library for the ESP8266 that provides support for MQTT
MIT License
435 stars 115 forks source link

[ESP8266] Client only sends payload up to 117 bytes... #65

Closed stozk closed 7 years ago

stozk commented 7 years ago

Hi,

I'm using ArduinoJson to generate a Json object, which I want to send via MQTT. The client will only send the message to the MQTT server, if the payloud isn't bigger than 117 bytes. I also tried to send a string which is just made up from random chars and that will also only be sent if it's 117bytes or less...

Any idea what might be causing this?

BR Daniel

stozk commented 7 years ago

Hi, I've found the problem, I didn't adjust the max packet size properly...