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

aksevad
Posts: 1
Joined: Sun Jun 25, 2023 8:26 pm

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

Postby aksevad » Sun Jun 25, 2023 8:36 pm

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!

lbernstone
Posts: 826
Joined: Mon Jul 22, 2019 3:20 pm

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

Postby lbernstone » Mon Jun 26, 2023 12:51 am

WebServer textServer(8080);

Use json to transfer your data

Who is online

Users browsing this forum: No registered users and 36 guests