Reduce WiFi TX power - custom firmware build needed?

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
Post Reply
alanm101
Posts: 5
Joined: Sun Apr 09, 2017 4:08 pm

Reduce WiFi TX power - custom firmware build needed?

Post by alanm101 » Sat Sep 16, 2017 5:03 pm

Hi,

I've spent a couple of hours searching for a solution to reduce the WiFi transmit power. There are several posts for non-Micropython firmware, but I'm too ignorant to figure out how to call underlying espressiv IDF functions. The closest I've come to a solution is to make a custom build of the Micropython firmware, changing this code in file "modwlan.c"

439 // Set Tx power level for station or AP mode
440 // Number between 0-15, as dB offset from max power - 0 will set max power
441 uint8_t ucPower = 0; <<< change this to the value I want.

Rebuild and flash.

Is there a better way?

Thanks,
Alan.

Post Reply