From d2eaf90b6cb18c3c61dc2486455a2d2ace5dc0b2 Mon Sep 17 00:00:00 2001 From: WanqQixiang Date: Thu, 27 Jul 2023 14:52:07 +0800 Subject: [PATCH] controller: Remove the Interaction Model Engine Init in commissioner init as we have done in esp-matter::start() --- components/esp_matter_controller/esp_matter_commissioner.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/components/esp_matter_controller/esp_matter_commissioner.cpp b/components/esp_matter_controller/esp_matter_commissioner.cpp index 423d85c4f..2f9c87428 100644 --- a/components/esp_matter_controller/esp_matter_commissioner.cpp +++ b/components/esp_matter_controller/esp_matter_commissioner.cpp @@ -182,10 +182,6 @@ esp_err_t init(uint16_t commissioner_port) if (factory.SetupCommissioner(setupParams, *get_device_commissioner()) != CHIP_NO_ERROR) { return ESP_FAIL; } - // Init InteractionModelEngine - chip::app::InteractionModelEngine::GetInstance()->Init(&Server::GetInstance().GetExchangeManager(), - &Server::GetInstance().GetFabricTable(), - &Server::GetInstance().GetReportScheduler()); FabricIndex fabricIndex = device_commissioner.GetFabricIndex(); if (fabricIndex == kUndefinedFabricIndex) {