Files
esp-matter/components/esp_matter/data_model/generated/clusters/chime/chime.h
T
Mahesh Pimpale 42075d5c75 components/esp_matter: generated data model using automated script
- data_model/legacy/: moved old data model to this folder
- data_model/generated/: contain the automatically generated data model
- tools/data_model_gen: contains the script to generate the data model
2026-04-15 17:05:50 +05:30

46 lines
1.4 KiB
C++

// Copyright 2026 Espressif Systems (Shanghai) PTE LTD
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
/* THIS IS A GENERATED FILE, DO NOT EDIT */
#pragma once
#include <esp_matter_data_model.h>
namespace esp_matter {
namespace cluster {
namespace chime {
namespace attribute {
attribute_t *create_installed_chime_sounds(cluster_t *cluster, uint8_t * value, uint16_t length, uint16_t count);
attribute_t *create_selected_chime(cluster_t *cluster, uint8_t value);
attribute_t *create_enabled(cluster_t *cluster, bool value);
} /* attribute */
namespace command {
command_t *create_play_chime_sound(cluster_t *cluster);
} /* command */
typedef struct config {
uint8_t selected_chime;
bool enabled;
void *delegate;
config() : selected_chime(0), enabled(false), delegate(nullptr) {}
} config_t;
cluster_t *create(endpoint_t *endpoint, config_t *config, uint8_t flags);
} /* chime */
} /* cluster */
} /* esp_matter */