witnessmenow / Universal-Arduino-Telegram-Bot

Use Telegram on your Arduino (ESP8266 or Wifi-101 boards)
MIT License
1.09k stars 302 forks source link

Fix for big photos from esp32 cam. Split the buffer into chunks 512b #286

Open nioxkzn opened 2 years ago

nioxkzn commented 2 years ago

split the buffer into chunks 512b for big buffers (example for framebuffer higher resolution photos (>320x240))

It fix work for this lib example: ESP32->Send photo->ESP32-Cam. If change photo resolution to biggest 320x240 (in camera_code.h comment line 's->set_framesize(s, FRAMESIZE_QVGA); ' ),
photo not sent.

anshchawla521 commented 6 months ago

That's a great fix