Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using wifi and zigbee at the same time (TZ-925) #361

Closed
Andelarrr opened this issue Jun 9, 2024 · 4 comments
Closed

Using wifi and zigbee at the same time (TZ-925) #361

Andelarrr opened this issue Jun 9, 2024 · 4 comments
Labels

Comments

@Andelarrr
Copy link

Question

Hello dear Developers,

We are working on a device that needs to connect to the zigbee network and at the same time it needs to connect on wifi, in both cases it is a slave/client/endpoint. The device needs to keep its context on the zigbee network, while active on wifi. Being unable to communicate on zigbee during this time is ok, as long as it can continue after finishing the wifi transfer.

Is this possible using one ESP32-C6 or maybe another ESP32 module?

We have seen solutions using 2 ESP32 devices, this makes sense, but it increases costs, so we will use it only if it is not possible with one ESP32.

We have seen as well the "coexistence" feature, we tried esp_coex_wifi_i154_enable(), but we had some issues. Is this the way to go? Is the coexistence working between wifi and zigbee?

Alternatively if would be fine if we could do something like this every time we need to use the wifi:
zigbee_pause()
wifi_connect()
// Communicate...
wifi_disconnect()
zigbee_resume()
Provided that the zigbee context would remain and no network reconnect would be requried.

Please advise on the best way forward, I would really appreciate some further documentation on the topic as well, if available.

Thanks!
Andelar

Additional context.

No response

@github-actions github-actions bot changed the title Using wifi and zigbee at the same time Using wifi and zigbee at the same time (TZ-925) Jun 9, 2024
@xieqinan
Copy link
Contributor

xieqinan commented Jun 11, 2024

@Andelarrr ,

The ESP32-C6 supports WiFi and Zigbee coexistence. You can try using the gateway example on the ESP32C6 chip.

@Andelarrr
Copy link
Author

Hi @xieqinan, thanks, if I understand correctly this gateway example is not about the coexistence mechanism, this is the solution with 2 ESP32 devices, one for zigbee and one for wifi.
Let me know if I'm mistaken or there is another example for the coexistence or any other approach.

@xieqinan
Copy link
Contributor

@Andelarrr ,

Yes, you are right. We recommend using the two-chip solution for the gateway as it can provide better performance.

@chshu
Copy link
Collaborator

chshu commented Jun 12, 2024

Since there is only one RF path in ESP32-C6, which means Wi-Fi and Zigbee can't receive simultaneously, it has a significant impact on performance. Hence the two SoCs solution is recommended.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants