I have read that "ESP8266 Wifi modules decide on link speed based on signal strength". Does anyone know that to be true? I am using the ESP32...
What I really want to do is set the ESP32 in AP mode with Arduino and have the ability to set the data rate to: 1 Mbps, 6 Mbps, 11 Mbps, 54Mbps, etc. as part of the FCC certificate testing.
I would love to hear from anyone with knowledge on this. I have researched this for days with no progress. I can't find any sample code or even anyone discussing hard-coding the data rate for an ESP32 Wifi.
I have found this using the Espresso IDE:
esp_wifi_config_80211_tx_rate(WIFI_IF_AP, WIFI_PHY_RATE_1M_L);
But I can't find anything similar using the Arduino IDE...?
Thanks! That was good background information, but it didn't have the answer I was looking for... I'm surprised I can't find any example where someone using Arduino IDE hasn't chosen a particular Wifi data rate for whatever reason...
I believe it is available in the Expresso IDF... The only clue I can find is in: esp_wifi.h But I can't figure out how to access it in Arduino...
@brief Config 80211 tx rate of specified interface
@attention 1. This API should be called after esp_wifi_init() and before esp_wifi_start().