Update Dont Work For AI THinker board #414
-
Hi Hieromon |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
See here also FAQ, and get the AC_DEBUG log. I don't review the whole of your code, but I can parse the AC_DEBUG log. By the way, the Web Server required to satisfy all the functions of ESP32-CAM is different from the ESP32 WebServer library. AutoConnect does not officially support it. It may be applicable if you hack it, but it's not included in my plan. |
Beta Was this translation helpful? Give feedback.
-
Thank you very much for your accurate response and great tips. #if defined(CAMERA_MODEL_AI_THINKER) #define Y9_GPIO_NUM 35 Two important points : UNDER ">TOOLS>" and 2nd is : |
Beta Was this translation helpful? Give feedback.
-
@afshinjian I'm glad you have taken a step toward the solution. I recognized that the "The update section doesn't work" you said was AutoConnect's OTA. Because AutoConnect OTA will show "Update" in the menu. On this premise, I have a few questions for you.
So, Could you describe your problem clearly and specifically? Does your "update" mean the serial flash programming? (that's Arduino IDE menu Sketch > Upload) |
Beta Was this translation helpful? Give feedback.
-
@afshinjian I felt your question wasn't right and reluctantly skimmed your code. As a result, there are some unsuitable points in your code as followings:
It combines without thinking much about that the captured image throwing logic which only acts as a client model, with the handler process for the WebServer which should act as the server model. This code doesn't work even if you exclude AutoConnect and replace it with the WebServer library. This topic is not suitable as an issue, so move on to the Discussions Q&A category. |
Beta Was this translation helpful? Give feedback.
@afshinjian I felt your question wasn't right and reluctantly skimmed your code. As a result, there are some unsuitable points in your code as followings:
The
checkconnection
function declares with theString
type, but it never returns the String value. Its definition must be thevoid
type. Same as thetestSitu
.handleClent
looploop
function