模组:esp32-c6-wroom-1_wroom-1u
SDK: esp-idf v5.5.4
环境:Ubuntu + SDK
需求:ESP32-C6 想在AP模式下,设置使用 6M 速率发送 WIFI BEACON 数据包。
a、在 C3 开发板中可以通过 esp_wifi_config_80211_tx_rate(WIFI_IF_AP, (wifi_phy_rate_t)g_txrate); 设置成功,接收到的数据包速率是 6M的
b、问题:在 C6 开发板中设置后返回 ESP_FAIL
排查:
a、帮助开发文档提及如下信息:
> ESP32-C6 开启 Wi-Fi AP 模式时,默认使用 802.11b/g/n 混合模式。可通过 esp_wifi_set_protocol() 设置协议类型。
> ESP32-C6 暂时不支持在 AP 模式下设置为 820.11ax 模式。
尝试:
esp_wifi_get_protocol 返回信息 C6 AP proto=0x07 (bgn=Y, ax=N) ← 确认是 11bgn,无 11AX!
使用 esp_wifi_config_80211_tx_rate 返回 ret=-1 (ESP_FAIL) ← 失败
b、ESP_IDF api 头文件中提及如下信息:
> esp_wifi_config_80211_tx_rate
> 2. Can not set 80211 tx rate under 11A/11AC/11AX protocol, you can use esp_wifi_config_80211_tx instead.
尝试:
esp_wifi_config_80211_tx() 在 start 前设置调用时也返回 ESP_FAIL。两个速率配置 API 在 C6 上都无法使用。
ESP32-C6 无法设置数据发送速率
Jump to
- English Forum
- Explore
- News
- General Discussion
- FAQ
- Documentation
- Documentation
- Sample Code
- Discussion Forum
- ESP32-S31
- Hardware
- ESP-IDF
- ESP-BOX
- ESP-ADF
- ESP-MDF
- ESP-WHO
- ESP-SkaiNet
- ESP32 Arduino
- IDEs for ESP-IDF
- ESP-AT
- ESP IoT Solution
- ESP RainMaker
- Rust
- ESP8266
- Report Bugs
- Showcase
- Chinese Forum 中文社区
- 活动区
- 乐鑫活动专区
- 讨论区
- ESP32-S31 中文讨论版
- 喵伴 中文讨论版
- ESP-IDF 中文讨论版
- 《ESP32-C3 物联网工程开发实战》书籍讨论版
- 中文文档讨论版
- ESP-AT 中文讨论版
- ESP-BOX 中文讨论版
- ESP IoT Solution 中文讨论版
- ESP-ADF 中文讨论版
- ESP Mesh 中文讨论版
- ESP Cloud 中文讨论版
- ESP-WHO 中文讨论版
- ESP-SkaiNet 中文讨论版
- ESP 生产支持讨论版
- 硬件问题讨论
- 项目展示
Who is online
Users browsing this forum: No registered users and 2 guests
- All times are UTC
- Top
- Delete cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. ESP8266EX and ESP32 are some of our products.
Information
Espressif ESP32 ... Available now!