Page 1 of 1

ESP32 Wifi Data Rate

Posted: Wed Dec 15, 2021 1:34 am
by mej7000
I am in the process of submitting a board for FCC testing. The lab would like to set the ESP32 to AP mode and take Tx reading's while the Wifi runs at different data rates: 1Mbps, 6Mbps, 11Mbps, 54Mbps, etc...

The project was created in Arduino IDE. Is it possible the hard code the data rate the way you can set the power level or channel? I have been searching for days with no success... I would really appreciate someone pointing me in the right direction. I can't find sample code or even a discussion on setting the data rate, so any advice is appreciated.

Re: ESP32 Wifi Data Rate

Posted: Wed Dec 15, 2021 4:19 am
by rodmcm

Re: ESP32 Wifi Data Rate

Posted: Wed Dec 15, 2021 12:50 pm
by mej7000
Thanks for your reply! I wanted to try "esp_wifi_80211_tx()", but can't seem to figure out how to get it to work in Arduino. That seems to be a way to set a data rate.

On the other hand I believe the testing scenario is that a single ESP32, set in AP mode, will be configured to just transmit something... Since there is no network or another connected ESP32, I think it will just default to 1Mbs anyway? "If there is no Wi-Fi connection, the data rate is 1 Mbps."

I admit I am a little lost on this one... If I could find an Arduino example that would be really helpful...