espressif / esp-zigbee-sdk

Espressif Zigbee SDK
Apache License 2.0
156 stars 26 forks source link

WiFi-SoftAP with Zigbee coexistence not working (TZ-677) #273

Open BogatovT opened 6 months ago

BogatovT commented 6 months ago

Answers checklist.

IDF version.

5,2-release

esp-zigbee-lib version.

1.1.2

esp-zboss-lib version.

1.1.2

Espressif SoC revision.

ESP32-C6

What is the expected behavior?

Soft AP and Zigbee were expected to work in coexistence

What is the actual behavior?

When the Zigbee task is active AP is not searching in other devices

Steps to reproduce.

  1. init wifi soft ap
  2. esp_wifi_set_ps(WIFI_PS_MIN_MODEM);
  3. esp_coex_wifi_i154_enable();
  4. zigbee coordinator init and start

More Information.

If I just skip zigbee initialization in the code - AP works fine.

Log:

I (652) coexist: coex firmware version: 77cd7f8
I (658) coexist: coexist rom version 5b8dcfa
I (903) wifi:wifi firmware version: cc1dd81
I (910) wifi:mac_version:HAL_MAC_ESP32AX_761,ut_version:N
I (1037) wifi:mode : softAP
I (1071) wifi:Set ps type: 1, coexist: 0
I (1076) wifi:11ax coex: WDEVAX_PTI0(0x55777555), WDEVAX_PTI1(0x00003377).

esp_coex_version_get() returns 2.0.0 esp_coex_wifi_i154_enable() returns ESP_OK menuconfig: Zigbee configured to native radio type. Software controls Wifi coexistence checked.

kelin6 commented 6 months ago

@BogatovT Currently, we support WiFi station mode + Zigbee coexistence, while WiFi AP + Zigbee coexistence is not yet supported.

chxlaity commented 5 months ago

ESP 板现在支持三个模块:蓝牙 (BT & BLE)、IEEE802.15.4 和 Wi-Fi。每种类型的电路板只有一个 2.4 GHz ISM 频段射频模块,由两个或三个模块共享。因此,当一个模块进行数据传输或接收时,一个模块无法接收或传输数据。在这种情况下,ESP32-C6 采用时分复用方法来管理数据包的接收和发送。