Page 1 of 1

AI thinker esp32-cam. web-server for video + port for data

Posted: Sun Jun 25, 2023 8:36 pm
by aksevad
Hello.
I have AI thinker esp32-cam and use a standard example CameraWebServer. I want to add one more port for text data transferring in parallel to the video stream. I want the board to send GPS coordinates, direction, statuses etc., and receives some text commands. What is the best and simplest way to open one more port (if the web server already started for video) with some standard protocol for data transferring?

thanks!

Re: AI thinker esp32-cam. web-server for video + port for data

Posted: Mon Jun 26, 2023 12:51 am
by lbernstone
WebServer textServer(8080);

Use json to transfer your data