From fa8b5ea121c73684fd1d2bee9332104002a943cb Mon Sep 17 00:00:00 2001 From: Doru Gucea Date: Wed, 9 Jun 2021 08:39:37 -0700 Subject: [PATCH 1/2] [K32W] Increase IM timeout On K32W, chip-device-ctrl times out while waiting for the OpCSR. Double the IM timeout for the moment. See also: - https://github.com/project-chip/connectedhomeip/issues/7489 Signed-off-by: Doru Gucea --- src/app/InteractionModelEngine.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/InteractionModelEngine.h b/src/app/InteractionModelEngine.h index f459d8bf464cf4..fc80494582e514 100644 --- a/src/app/InteractionModelEngine.h +++ b/src/app/InteractionModelEngine.h @@ -59,7 +59,8 @@ namespace chip { namespace app { constexpr size_t kMaxSecureSduLengthBytes = 1024; -constexpr uint32_t kImMessageTimeoutMsec = 6000; +/* TODO: https://github.com/project-chip/connectedhomeip/issues/7489 */ +constexpr uint32_t kImMessageTimeoutMsec = 12000; constexpr FieldId kRootFieldId = 0; /** From 3ebc36c076867a5659172649328245205804fccf Mon Sep 17 00:00:00 2001 From: "Restyled.io" Date: Wed, 9 Jun 2021 15:45:35 +0000 Subject: [PATCH 2/2] Restyled by clang-format --- src/app/InteractionModelEngine.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/InteractionModelEngine.h b/src/app/InteractionModelEngine.h index fc80494582e514..e5307223282ae5 100644 --- a/src/app/InteractionModelEngine.h +++ b/src/app/InteractionModelEngine.h @@ -60,8 +60,8 @@ namespace app { constexpr size_t kMaxSecureSduLengthBytes = 1024; /* TODO: https://github.com/project-chip/connectedhomeip/issues/7489 */ -constexpr uint32_t kImMessageTimeoutMsec = 12000; -constexpr FieldId kRootFieldId = 0; +constexpr uint32_t kImMessageTimeoutMsec = 12000; +constexpr FieldId kRootFieldId = 0; /** * @class InteractionModelEngine