ESP32 Wifi Data Rate

mej7000
Posts: 2
Joined: Wed Dec 15, 2021 1:23 am

ESP32 Wifi Data Rate

Postby mej7000 » Wed Dec 15, 2021 1:34 am

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.

rodmcm
Posts: 65
Joined: Sat Sep 02, 2017 3:31 am

Re: ESP32 Wifi Data Rate

Postby rodmcm » Wed Dec 15, 2021 4:19 am


mej7000
Posts: 2
Joined: Wed Dec 15, 2021 1:23 am

Re: ESP32 Wifi Data Rate

Postby mej7000 » Wed Dec 15, 2021 12:50 pm

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

Who is online

Users browsing this forum: No registered users and 122 guests