Hi friends.
How can I increase wifi tx power on esp 32 and esp 8266 ???
Thanks in advance. Hugo.
2 Answers
Hi Hugo.
For the ESP32, there is this function to set the max power: https://docs.espressif.com/projects/esp-idf/en/latest/api-reference/network/esp_wifi.html#_CPPv425esp_wifi_set_max_tx_power6int8_t
For ESP8266:
WiFi.setOutputPower(0); // this sets wifi to lowest power
WiFi.setOutputPower(20.5); // this sets wifi to highest power
I hope this helps. (I haven’t tried this functions).
Regards,
Sara