How to make Socket Server communication between two ESP32?
-
- Posts: 2
- Joined: Thu Dec 14, 2017 8:15 pm
How to make Socket Server communication between two ESP32?
How to make Socket Server communication between two ESP32?
Re: How to make Socket Server communication between two ESP32?
Not quite sure how to address that ... by mentioning sockets, it sounds like you already may be somewhat familiar with the TCP/IP sockets API.
At a high level, imagine you have two ESP32s ... call one "server" and the other "client". Assume that both are WiFi stations and connect to the same WiFi access point. On "server" write and run TCP/IP socket server code and on the "client" write and run TCP/IP socket client code. The client will have to know the IP address of the server.
Let's start with this as a basis of an answer and assume that as you delve deeper, you will have more questions.
At a high level, imagine you have two ESP32s ... call one "server" and the other "client". Assume that both are WiFi stations and connect to the same WiFi access point. On "server" write and run TCP/IP socket server code and on the "client" write and run TCP/IP socket client code. The client will have to know the IP address of the server.
Let's start with this as a basis of an answer and assume that as you delve deeper, you will have more questions.
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32
Who is online
Users browsing this forum: Baidu [Spider] and 122 guests