philbowles / PangolinMQTT

PangolinMQTT - ArduinoIDE client library for ESP8266, ESP32 and STM32-NUCLEO
Other
71 stars 21 forks source link

FR: Large payloads #1

Closed bertmelis closed 4 years ago

bertmelis commented 4 years ago

Feature request: Do you think you would ever implement reception of large payloads (even only QoS 0)?

I prefer to implement only one interface on my ESPs to interact with I would like to have OTA over MQTT.

philbowles commented 4 years ago

Depends what you mean by "large" - it can already handle up to ~20kb on ESP8266 and ~120kb on ESP32

bertmelis commented 4 years ago

ESP's firmware is about 500kB. So it definitely doesn't fit in memory.

Now the issue is off course that this doesn't fit into the current API. And I didn't look into the source to see if it is even possible to do it elegantly.