Closed kotyara12 closed 3 months ago
I used this when sending JPGE data as a multipart. I'm using vanilla socket API instead of esp_http_client.
Content-Type: application/octet-stream
Hello @kotyara12 Can you please refer to https://esp32.com/viewtopic.php?t=36627. I think it might help solve your problem. Please let me know if you need more assistance.
It wasn't the bobbin, it was the wires.... In general, the code above is absolutely working, almost. The problem I spent a week fixing was one small thing. API_TELEGRAM_BOUNDARY cannot contain "--". And it's all!
Answers checklist.
IDF version.
ramework-espidf @ 3.50102.240122 (5.1.2)
Espressif SoC revision.
ESP32-CAM AI Thinker
Operating System used.
Windows
How did you build your project?
VS Code IDE
If you are using Windows, please specify command line type.
None
Development Kit.
ESP32-CAM AI Thinker
Power Supply used.
USB
What is the expected behavior?
I've been trying to send a picture from my camera to Telegram for a week now. There are crooked examples everywhere for Arduino that do not work in ESP-IDF. Those examples that I finally dug up are NOT WORKING. The directory system didn't help me at all. I can't figure out why this doesn't work.
Here's my code:
What is the actual behavior?
Steps to reproduce.
Debug Logs.
More Information.
No response