You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//in setTxPower() and getTxPower() instead of &&if (!WiFi.STA.started() && !WiFi.AP.started()) { //&& is wronglog_w("Neither AP or STA has been started");
//should be ||if (!WiFi.STA.started() || !WiFi.AP.started()) { //|| is correctlog_w("Neither AP or STA has been started");
Debug Message
return +19.5dBm
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide
I confirm I have checked existing issues, online documentation and Troubleshooting guide.
The text was updated successfully, but these errors were encountered:
"Neither AP or STA has been started" is !(WiFi.STA.started() || WiFi.AP.started())
which in boolean algebra is same as!WiFi.STA.started() && !WiFi.AP.started()
Board
ESP32 Dev Module
Device Description
plain module
Hardware Configuration
plain module
Version
v3.0.1
IDE Name
Arduino IDE
Operating System
Windows 10
Flash frequency
80MHz
PSRAM enabled
no
Upload speed
115200
Description
WiFi.setTxPower() always return +19.5dBm in AP or STA mode
I think there is a typo in the setTxPower() and getTxPower().
Sketch
Debug Message
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide
The text was updated successfully, but these errors were encountered: