Page 1 of 1

Reduce WiFi TX power - custom firmware build needed?

Posted: Sat Sep 16, 2017 5:03 pm
by alanm101
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.