Set PhyMode, OutputPower

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
melwinek
New user
Posts: 7
Joined: 11 Nov 2017, 22:36

Set PhyMode, OutputPower

#1 Post by melwinek » 04 Jan 2018, 12:04

Is there somewhere in the sources to set:
wifi.setphymode
and
setOutputPower?

chunter1
Normal user
Posts: 82
Joined: 22 Jan 2016, 22:40

Re: Set PhyMode, OutputPower

#2 Post by chunter1 » 04 Nov 2018, 16:39

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].

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 23 guests