From 10cf9dd77893132752f40339f49af0e41025249c0d8fb065d59aabff76aa49df Mon Sep 17 00:00:00 2001 From: localhorst Date: Sun, 10 May 2026 13:06:41 +0200 Subject: [PATCH] Reenable WiFi AP lock (#32) Reviewed-on: https://git.mosad.xyz/localhorst/smart-oil-heating-control-system/pulls/32 Co-authored-by: localhorst Co-committed-by: localhorst --- main/Kconfig.projbuild | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/main/Kconfig.projbuild b/main/Kconfig.projbuild index 5c0bcff..76cd432 100644 --- a/main/Kconfig.projbuild +++ b/main/Kconfig.projbuild @@ -36,6 +36,20 @@ menu "Smart Oil Heating Control System" default "192.168.0.1" help NTP server address for time synchronization. + config ENV_WIFI_BSSID_LOCK + bool "Lock to specific Access Point (BSSID)" + default n + help + When enabled, the device will only connect to the access point + with the specified MAC address (BSSID). Useful when multiple APs + share the same SSID. + config ENV_WIFI_BSSID + string "Access Point MAC Address (BSSID)" + default "00:00:00:00:00:00" + depends on ENV_WIFI_BSSID_LOCK + help + MAC address of the access point to connect to. + Format: XX:XX:XX:XX:XX:XX (uppercase or lowercase) endmenu menu "GPIO Configuration"