Files
EVS-Embedded-Voice-System/include/secrets.example.h

34 lines
1.0 KiB
C

#ifndef EVS_SECRETS_H
#define EVS_SECRETS_H
// Copy to: include/secrets.h
// Keep include/secrets.h out of version control.
static const char* WIFI_SSID = "REPLACE_WIFI_SSID";
static const char* WIFI_PASSWORD = "REPLACE_WIFI_PASSWORD";
// EVS bridge endpoint
static const char* EVS_BRIDGE_HOST = "REPLACE_BRIDGE_IP_OR_HOST";
static constexpr uint16_t EVS_WS_PORT = 8765;
static const char* EVS_WS_PATH = "/audio";
// Unique device name per ESP32
static const char* EVS_DEVICE_ID = "esp32-room-name";
// Connectivity behavior
static constexpr uint32_t EVS_RECONNECT_MS = 5000;
static constexpr bool EVS_DEFAULT_STREAM_MODE = true;
static constexpr bool EVS_SERIAL_COMMAND_ECHO = true;
// INMP441 tuning
// L/R pin on mic:
// - GND usually = left channel
// - 3V3 usually = right channel
static constexpr bool EVS_MIC_USE_RIGHT_CHANNEL = false;
// 24-bit sample to 16-bit conversion shift. Start with 8.
static constexpr int EVS_MIC_S24_TO_S16_SHIFT = 8;
// Digital mic gain (project default).
static constexpr float EVS_MIC_GAIN = 2.0f;
#endif // EVS_SECRETS_H