Skip to content

Commit

Permalink
update doc for espnow max encryped connection
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangyanjiaoesp authored and espressif-bot committed Dec 6, 2022
1 parent 175f0de commit fe4efc0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 14 deletions.
10 changes: 3 additions & 7 deletions docs/en/api-reference/network/esp_now.rst
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,11 @@ Call :cpp:func:`esp_now_add_peer()` to add the device to the paired device list

.. only:: esp32c2

The maximum number of paired devices is 20, and the paired encryption devices are no more than 4, the default is 2.
The maximum number of paired devices is 20, and the paired encryption devices are no more than 4, the default is 2. If you want to change the number of paired encryption devices, set :ref:`CONFIG_ESP_WIFI_ESPNOW_MAX_ENCRYPT_NUM` in WiFi component configuration menu.

.. only:: esp32c3
.. only:: esp32 or esp32s2 or esp32s3 or esp32c3

The maximum number of paired devices is 20, and the paired encryption devices are no more than 10, the default is 6.

.. only:: esp32 or esp32s2 or esp32s3

The maximum number of paired devices is 20, and the paired encryption devices are no more than 16, the default is 6.
The maximum number of paired devices is 20, and the paired encryption devices are no more than 16, the default is 6. If you want to change the number of paired encryption devices, set :ref:`CONFIG_ESP_WIFI_ESPNOW_MAX_ENCRYPT_NUM` in WiFi component configuration menu.

A device with a broadcast MAC address must be added before sending broadcast data. The range of the channel of paired devices is from 0 to 14. If the channel is set to 0, data will be sent on the current channel. Otherwise, the channel must be set as the channel that the local device is on.

Expand Down
10 changes: 3 additions & 7 deletions docs/zh_CN/api-reference/network/esp_now.rst
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,11 @@ ESP-NOW 采用 CCMP 方法保护供应商特定动作帧的安全,具体可参

.. only:: esp32c2

配对设备的最大数量是 20,其中加密设备的数量不超过 4,默认值是 2。
配对设备的最大数量是 20,其中加密设备的数量不超过 4,默认值是 2。如果想要修改加密设备的数量,在 WiFi menuconfig 设置 :ref:`CONFIG_ESP_WIFI_ESPNOW_MAX_ENCRYPT_NUM`。

.. only:: esp32c3
.. only:: esp32 or esp32s2 or esp32s3 or esp32c3

配对设备的最大数量是 20,其中加密设备的数量不超过 10,默认值是 6。

.. only:: esp32 or esp32s2 or esp32s3

配对设备的最大数量是 20,其中加密设备的数量不超过 16,默认值是 6。
配对设备的最大数量是 20,其中加密设备的数量不超过 16,默认值是 6。如果想要修改加密设备的数量,在 WiFi menuconfig 设置 :ref:`CONFIG_ESP_WIFI_ESPNOW_MAX_ENCRYPT_NUM`。

在发送广播数据之前必须添加具有广播 MAC 地址的设备。配对设备的信道范围是从 0 ~14。如果信道设置为 0,数据将在当前信道上发送。否则,必须使用本地设备所在的通道。

Expand Down

0 comments on commit fe4efc0

Please sign in to comment.