ESPHome 2026.5.0b1
Loading...
Searching...
No Matches
zigbee_helpers_esp32.h
Go to the documentation of this file.
1#pragma once
2
4#ifdef USE_ESP32
5#ifdef USE_ZIGBEE
6
7#ifdef __cplusplus
8extern "C" {
9#endif
10
11#include "esp_zigbee_core.h"
12
13esp_err_t esphome_zb_cluster_list_add_or_update_cluster(uint16_t cluster_id, esp_zb_cluster_list_t *cluster_list,
14 esp_zb_attribute_list_t *attr_list, uint8_t role_mask);
15esp_zb_attribute_list_t *esphome_zb_default_attr_list_create(uint16_t cluster_id);
16esp_err_t esphome_zb_cluster_add_attr(uint16_t cluster_id, esp_zb_attribute_list_t *attr_list, uint16_t attr_id,
17 void *value_p);
18esp_err_t esphome_zb_cluster_add_or_update_attr(uint16_t cluster_id, esp_zb_attribute_list_t *attr_list,
19 uint16_t attr_id, void *value_p);
20
21#ifdef __cplusplus
22}
23namespace esphome::zigbee {} // namespace esphome::zigbee
24#endif
25
26#endif
27#endif
esp_err_t esphome_zb_cluster_list_add_or_update_cluster(uint16_t cluster_id, esp_zb_cluster_list_t *cluster_list, esp_zb_attribute_list_t *attr_list, uint8_t role_mask)
esp_err_t esphome_zb_cluster_add_attr(uint16_t cluster_id, esp_zb_attribute_list_t *attr_list, uint16_t attr_id, void *value_p)
esp_err_t esphome_zb_cluster_add_or_update_attr(uint16_t cluster_id, esp_zb_attribute_list_t *attr_list, uint16_t attr_id, void *value_p)
esp_zb_attribute_list_t * esphome_zb_default_attr_list_create(uint16_t cluster_id)