diff --git a/components/esp_matter/data_model/esp_matter_cluster.cpp b/components/esp_matter/data_model/esp_matter_cluster.cpp index 9c321362d..70a71b568 100644 --- a/components/esp_matter/data_model/esp_matter_cluster.cpp +++ b/components/esp_matter/data_model/esp_matter_cluster.cpp @@ -3952,6 +3952,9 @@ cluster_t *create(endpoint_t *endpoint, config_t *config, uint8_t flags) command::create_answer(cluster); command::create_ice_candidates(cluster); command::create_end(cluster); + // TODO: Implement init and shutdown callbacks. + cluster::set_init_and_shutdown_callbacks(cluster, ESPMatterWebRTCTransportRequestorClusterServerInitCallback, + ESPMatterWebRTCTransportRequestorClusterServerShutdownCallback); } diff --git a/components/esp_matter/data_model_provider/clusters/webrtc_transport_requestor/integration.cpp b/components/esp_matter/data_model_provider/clusters/webrtc_transport_requestor/integration.cpp new file mode 100644 index 000000000..84b4e85d2 --- /dev/null +++ b/components/esp_matter/data_model_provider/clusters/webrtc_transport_requestor/integration.cpp @@ -0,0 +1,37 @@ +// 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. + +#include +#include +#include + +// TODO: Implement init and shutdown callbacks. +void ESPMatterWebRTCTransportRequestorClusterServerInitCallback(chip::EndpointId endpointId) +{ +} + +void ESPMatterWebRTCTransportRequestorClusterServerShutdownCallback( + chip::EndpointId endpointId, chip::app::ClusterShutdownType shutdownType) +{ +} + +void MatterWebRTCTransportRequestorPluginServerInitCallback() +{ + ChipLogProgress(Zcl, "Initializing WebRTC Transport Requestor cluster."); +} + +void MatterWebRTCTransportRequestorPluginServerShutdownCallback() +{ + ChipLogProgress(Zcl, "Shutdown WebRTC Transport Requestor cluster."); +}