From 76ef86e3eb50f5a72bf024bf49880e8221651abf Mon Sep 17 00:00:00 2001
From: Darrell
Date: Tue, 6 Sep 2022 22:27:55 -0400
Subject: [PATCH] Use 20 Mhz bandwidth channel for AP (#648)
This is to reduce odd stuff seen during nightly optimization of unifi
---
platformio.ini | 2 +-
src/main.cpp | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/platformio.ini b/platformio.ini
index f494dc8..0c3bdf3 100644
--- a/platformio.ini
+++ b/platformio.ini
@@ -37,7 +37,7 @@ framework = arduino
lib_deps =
AsyncTCP = https://github.com/pbolduc/AsyncTCP.git@^1.2.0
https://github.com/ESPresense/ESPAsyncWebServer.git
- https://github.com/ESPresense/AsyncWiFiSettings.git#1.0.5
+ https://github.com/ESPresense/AsyncWiFiSettings.git#1.0.6
https://github.com/ESPresense/SoftFilters.git
https://github.com/ESPresense/NimBLE-Arduino.git
marvinroger/AsyncMqttClient@^0.9.0
diff --git a/src/main.cpp b/src/main.cpp
index 185aac5..5b2b85b 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -215,6 +215,7 @@ void setupNetwork() {
#ifdef VERSION
Serial.println("Version: " + String(VERSION));
#endif
+ Serial.printf("WiFi BSSID: %s (channel=%d rssi=%d)\n", WiFi.BSSIDstr().c_str(), WiFi.channel(), WiFi.RSSI());
Serial.print("IP address: ");
Serial.println(Network.localIP());
Serial.print("DNS address: ");