Page 1 of 1

ESP32_Devkit-V4 try to change/reduce transmitting power

Posted: Sat Nov 27, 2021 10:05 pm
by bithalver
Hello,
with VSC /PlatformIO / esp_wifi.h I'm trying to reduce the transmitting power. esp_wifi_set_max_tx_power(20) results in no difference to esp_wifi_set_max_tx_power(2). The current consumption of the board shows no change. What am I doing wrong?

tnx

Re: ESP32_Devkit-V4 try to change/reduce transmitting power

Posted: Mon Nov 29, 2021 6:38 am
by boarchuz
bithalver wrote:
Sat Nov 27, 2021 10:05 pm
esp_wifi_set_max_tx_power(2).
What am I doing wrong?
https://github.com/espressif/esp-idf/bl ... #L897-L915

Code: Select all

Param power unit is 0.25dBm, range is [8, 84] corresponding to 2dBm - 20dBm.
2 is invalid. Check your return values.

Re: ESP32_Devkit-V4 try to change/reduce transmitting power

Posted: Thu Dec 02, 2021 7:42 am
by bithalver
I had not understood it that way!
Thanks a lot