-->
Page 1 of 2

Missing api for setting wifi power and default is low??

PostPosted: Sat Oct 28, 2017 2:14 pm
by David Skalka
I tested two firmware nodemcu a arduino esp8266 core and ardudio have better signal. Nodemcu can communicate about 8 meter from access point. Arduino have method setOutputPower but nodemcu does not. How can i set my esp to max power? 8 meters is not enought.

Re: Missing api for setting wifi power and default is low??

PostPosted: Mon Oct 30, 2017 3:23 pm
by marcelstoer
This is a duplicate of https://stackoverflow.com/q/47004398/131929 - see my answer there.

Re: Missing api for setting wifi power and default is low??

PostPosted: Thu Nov 02, 2017 10:36 pm
by David Skalka
Itestetd method wifi.setphymode() but nothing change esp8266 have only 8 meter range with nodemcu firmware. This method is not what i need. Method which set output power ( system_phy_set_max_tpw(val);) is provided by espressif which is core of nodemcu firmware and this method is not accesible throw Lua.

But i do nt understand why nodemcu is set to low output power by default. I switched arduino and nedomcu default firmware for 3times on 2modules and i am confidient that nodemcu have problém with output power. On week i will try recompile firmware and i will try call system_phy_set_max_tpw manual.

Thank you for our answers.

Re: Missing api for setting wifi power and default is low??

PostPosted: Fri Nov 03, 2017 4:46 pm
by marcelstoer
You're right, I was to quick with my answer. I created https://github.com/nodemcu/nodemcu-firmware/issues/2164