Page 1 of 1

Set PhyMode, OutputPower

Posted: 04 Jan 2018, 12:04
by melwinek
Is there somewhere in the sources to set:
wifi.setphymode
and
setOutputPower?

Re: Set PhyMode, OutputPower

Posted: 04 Nov 2018, 16:39
by chunter1
I would appreciate to adjust the output power to enable a way to legally use the ESP modules with external antennas.
Otherwise we violate the rules concerning the maximum effective radiated power.
Here is some info that might help.
wifi.setmaxtxpower()
Sets WiFi maximum TX power. This setting is not persisted across power cycles, and the Espressif SDK documentation does not specify if the setting persists after deep sleep. The default value used is read from byte 34 of the ESP8266 init data, and its value is hence defined by the manufacturer.

The default value, 82, corresponds to maximum TX power. Lowering this setting could reduce power consumption on battery backed devices.

Syntax
wifi.setmaxtxpower(max_tpw)

Parameters
max_tpw maximum value of RF Tx Power, unit: 0.25 dBm, range [0, 82].