2025-05-09 7:36 AM
Hi everyone,
I'm working on an embedded project involving an STM32G0B0 MCU and an ESP32-WROOM module (using AT firmware v3.4.0.0). My goal is to send a 100x100 RGB565 image (20,000 bytes) from the STM32 to another ESP32 device connected to another stm32 via TCP using AT commands.
Setup:
STM32G0B0VET6 → ESP32 (UART4 @ 115200 baud)
ESP32 connected to Wi-Fi and using TCP mode
Using AT+CIPSEND=<id>,<len>
But I'm not able to transfer the image, while searching the internet i couldn't find any refence of someone doing this,
so i just need to know if this is even possible and if so how to do it.
Thanks.
2025-05-09 8:13 AM
Certainly there are no issues with the STM32G0 sending UART data. The content is whatever you want it to be. Whether or not someone has done this particular application seems immaterial.
Documentation suggests AT+CIPSEND cannot send more than 8192 bytes.
2025-05-09 8:54 AM
>>But I'm not able to transfer the image, while searching the internet i couldn't find any refence of someone doing this, so i just need to know if this is even possible and if so how to do it.
Pretend it's not an image, and that it's just arbitrary binary data? Look for more general examples, perhaps GNSS NMEA data stream, or files.
Look at what AT+CIPSENDL permits in longer form, or perhaps come up with a protocol where you split the 20KB into smaller pieces that you reassemble at your Socket Listener