-
|
I'm using the ESP Thread Zigbee Gateway board (ESP32-S3, running esp_zigbee_host and ESP32-H2, running esp_zigbee_ncp example). Does someone know how to fix this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Hi @MX682X, The esp_zb_lock_acquire() and esp_zb_lock_release() have not defined by the esp_zigbee_host. Since the esp_zigbee_host only includes the Zigbee application layer is designed as thread safe, it does not need the lock to protect the resource of task, which is different with other examples. So, you can send custom commands in ISR or other task without the lock protect. |
Beta Was this translation helpful? Give feedback.
Hi @MX682X,
The esp_zb_lock_acquire() and esp_zb_lock_release() have not defined by the esp_zigbee_host. Since the esp_zigbee_host only includes the Zigbee application layer is designed as thread safe, it does not need the lock to protect the resource of task, which is different with other examples. So, you can send custom commands in ISR or other task without the lock protect.