From 86583f841057708e13fc9d032a0e3271d4b3b1ed Mon Sep 17 00:00:00 2001 From: Mikkeli Matlock Date: Sun, 15 Feb 2026 04:21:25 +0900 Subject: [PATCH] hardcoded pi address --- components/esp_wifi_bsp/wifi_config.h | 2 +- components/user_app/alert.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/components/esp_wifi_bsp/wifi_config.h b/components/esp_wifi_bsp/wifi_config.h index 6e9529f..d99c335 100644 --- a/components/esp_wifi_bsp/wifi_config.h +++ b/components/esp_wifi_bsp/wifi_config.h @@ -3,6 +3,6 @@ #define WIFI_SSID "Novoyuuparosk_H3C" #define WIFI_PASSWORD "northwich" -#define WS_SERVER_URI "ws://192.168.1.100:8765" +#define WS_SERVER_URI "ws://192.168.2.1:8765" #endif diff --git a/components/user_app/alert.cpp b/components/user_app/alert.cpp index d9b70e8..72018e4 100644 --- a/components/user_app/alert.cpp +++ b/components/user_app/alert.cpp @@ -14,7 +14,7 @@ static const char *TAG = "alert"; #define SAMPLE_RATE 24000 #define CHANNELS 2 #define BITS 16 -#define TONE_FREQ 1000 +#define TONE_FREQ 762 #define TONE_DURATION_MS 200 /* Tone buffer: 200ms at 24kHz * 2ch * 2bytes = 19200 bytes */ @@ -41,7 +41,7 @@ static const int64_t s_cooldown_us[ALERT_TYPE_COUNT] = { static const int s_beep_count[ALERT_TYPE_COUNT] = { 0, /* SERVICE_DOWN: triple beep */ /* DISABLED FOR TESTING */ 2, /* HIGH_TEMP: double beep */ - 1, /* WS_DISCONNECT: single beep */ + 0, /* WS_DISCONNECT: single beep */ /* DISABLED FOR TESTING */ 1, /* CONNECT_OK: single short beep */ };