espressif / esp-mqtt

ESP32 mqtt component
Apache License 2.0
603 stars 255 forks source link

Bug?When I received a 10 KB byte string (IDFGH-2519) #105

Closed kingofalpha closed 4 years ago

kingofalpha commented 5 years ago

When I received a 10 KB byte string, I knew I wanted to splice the data. I was sure that there would be no error in splicing, but I still got scrambled code. Shorter data like 1 KB would not!

david-cermak commented 5 years ago

Hi @kingofalpha ,

which version of esp-mqtt you using? there indeed were issues with receiving (and sending) message longer that configured buffer size, but this is resolved in latest idf branch. Please note that the data will come within multiple data events.

david-cermak commented 4 years ago

Closing for no recent updates. Feel free to reopen!