ESP32 | Walkie-Talkie, Half-duplex communication based on WebSocket

This commit is contained in:
Eric
2021-03-23 13:20:21 -07:00
parent bd09568e05
commit 3600da54a1
8 changed files with 1363 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
typedef enum STATES {Idle, Listening, Speaking};
STATES states = Idle;
typedef enum ROLE {Server, Client};
ROLE deviceRole = Client;
const char* ssid = "ESP32-THAT-PROJECT";
const char* password = "California";
const char* websockets_server_host = "192.168.4.1";
const uint16_t websockets_server_port = 8888;