From dfbd58f60eed4f0091eb72f8c758915160763552 Mon Sep 17 00:00:00 2001 From: Arne Zachlod Date: Fri, 11 Apr 2025 18:11:49 +0200 Subject: [PATCH] reduce txpower in hopes of better wlan performance --- main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/main.py b/main.py index 22098e6..b58ec39 100755 --- a/main.py +++ b/main.py @@ -212,6 +212,7 @@ def network_connect(cmd): debug("connecting to ssid " + str(cmd['wlan_ssid']) + " password: " + str(cmd['wlan_password'])) import network wlan = network.WLAN(network.WLAN.IF_STA) + wlan.config(txpower=3) wlan.active(True) if not wlan.isconnected(): wlan.connect(cmd['wlan_ssid'], cmd['wlan_password'])