I am building a Zigbee-to-Wi-Fi MQTT gateway on an ESP32-C6 using the Arduino IDE.
Because both protocols share the 2.4 GHz antenna, I am experiencing a radio conflict:
The ESP32-C6 successfully connects to a Zigbee sensor and receives data.
After this, the Zigbee stack keeps the RF antenna occupied. WiFi.begin() always fails because the radio is unavailable.
Trying to stop or de-init Zigbee functions in code does not release the radio.
Current Workaround:
I currently save data to flash, call ESP.restart(), boot into Wi-Fi mode, and publish. This works but will quickly destroy the flash memory due to write cycles.
Questions:
What is the correct API sequence in Arduino to completely shut down the Zigbee stack and release the RF antenna for Wi-Fi without a system reset?
Is there any other options i can try to solve the issue?
ESP32-C6 (Arduino): Zigbee blocks Wi-Fi connection / How to release RF antenna without restart?
Who is online
Users browsing this forum: meta-externalagent, Semrush [Bot] and 16 guests