mirror of
https://github.com/0015/ThatProject.git
synced 2026-01-12 17:27:43 +03:00
ESP32 | Walkie-Talkie, Half-duplex communication based on WebSocket
This commit is contained in:
11
ESP32_TTGO/Walkie-Talkie_Project/Client/Const.h
Normal file
11
ESP32_TTGO/Walkie-Talkie_Project/Client/Const.h
Normal 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;
|
||||
Reference in New Issue
Block a user