mirror of
https://github.com/espressif/esp-idf.git
synced 2026-05-19 23:45:28 +02:00
Doc:update wifi api docs
* Add documents related to espnow config rate * Optimization set dns server api description
This commit is contained in:
@@ -81,6 +81,11 @@ ESP-NOW 采用 CCMP 方法保护供应商特定动作帧的安全,具体可参
|
||||
调用 ``esp_now_register_recv_cb`` 注册接收回调函数。当接收 ESP-NOW 数据时,需要调用接收回调函数。接收回调函数也在 Wi-Fi 任务任务中运行。因此,不要在回调函数中执行冗长的操作。
|
||||
相反,将必要的数据发布到队列,并交给优先级较低的任务处理。
|
||||
|
||||
配置 ESP-NOW 速率
|
||||
----------------------
|
||||
|
||||
调用 ``esp_wifi_config_espnow_rate`` 配置指定接口的 ESPNOW 速率。确保在配置速率之前使能接口。这个 API 应该在 ``esp_wifi_start()`` 之后调用。
|
||||
|
||||
应用示例
|
||||
----------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user