components/esp_matter: Add webrtc transport requestor integration

This commit is contained in:
Mahesh Pimpale
2026-01-28 15:05:32 +05:30
committed by Mahesh
parent da3910cec5
commit deca4d8f40
2 changed files with 40 additions and 0 deletions
@@ -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);
}
@@ -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 <lib/core/DataModelTypes.h>
#include <lib/support/logging/CHIPLogging.h>
#include <app/server-cluster/ServerClusterInterface.h>
// 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.");
}