From 8249b3d8ea02a669a358968a863dc2e9f098a7f3 Mon Sep 17 00:00:00 2001 From: Thivya Ashokkumar Date: Sat, 28 Oct 2023 18:58:15 -0700 Subject: [PATCH] ICDHandler initialization --- src/app/icd/ICDHandler.cpp | 2 ++ src/app/icd/ICDHandler.h | 3 +++ 2 files changed, 5 insertions(+) diff --git a/src/app/icd/ICDHandler.cpp b/src/app/icd/ICDHandler.cpp index 2fd4a9ccc20bde..23bb04a8a54587 100644 --- a/src/app/icd/ICDHandler.cpp +++ b/src/app/icd/ICDHandler.cpp @@ -81,6 +81,8 @@ CHIP_ERROR CheckInMessageHandler::OnMessageReceived(Messaging::ExchangeContext * // TODO : Determine if there are other messages to be handled return CHIP_NO_ERROR; } + +void CheckInMessageHandler::OnResponseTimeout(Messaging::ExchangeContext * ec) {} } // namespace CheckIn } // namespace app } // namespace chip diff --git a/src/app/icd/ICDHandler.h b/src/app/icd/ICDHandler.h index c15f8be841ead3..b807d8ee7b94e4 100644 --- a/src/app/icd/ICDHandler.h +++ b/src/app/icd/ICDHandler.h @@ -77,6 +77,9 @@ class CheckInMessageHandler : public Messaging::ExchangeDelegate, public Messagi // UnsolicitedMessageHandler CHIP_ERROR OnUnsolicitedMessageReceived(const PayloadHeader & payloadHeader, ExchangeDelegate *& newDelegate) override; + // TODO : Follow up to check if this really needs to be a pure virtual function in Exchange delegate + void OnResponseTimeout(Messaging::ExchangeContext * ec) override; + private: Messaging::ExchangeManager * mExchangeManager = nullptr; Messaging::ExchangeManager * GetExchangeManager(void) const { return mExchangeManager; }