#pragma once #include // WebSocket client: connect to remote device, receive bytes (e.g. FACE packets). // Extension to the serial protocol - same packet concepts over WebSocket. namespace WebSocketConfig { constexpr const char* WIFI_SSID = "Police Surveillance Van"; constexpr const char* WIFI_PASSWORD = "ourpassword"; constexpr const char* HOST = "192.168.1.206"; // Change to remote device IP constexpr uint16_t PORT = 5001; // Change to remote port constexpr const char* PATH = "/"; // WebSocket path } // Call once from setup() after Serial is ready void websocketSetup(); // Call every loop() - handles connect, reconnect, and incoming messages void websocketLoop(); // True when connected and ready to send/receive bool websocketConnected();