Skip to content

Commit d77da0d

Browse files
committed
Add status print
1 parent a644995 commit d77da0d

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

0001-Add-log-about-IB-status.patch

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
From 1befeb0076631450b6130db00a1b3c3c446e6dc3 Mon Sep 17 00:00:00 2001
2+
Message-ID: <1befeb0076631450b6130db00a1b3c3c446e6dc3.1713901245.git.stefan@agner.ch>
3+
From: Stefan Agner <stefan@agner.ch>
4+
Date: Tue, 23 Apr 2024 21:40:18 +0200
5+
Subject: [PATCH] Add log about IB status
6+
7+
---
8+
src/app/ReadClient.cpp | 1 +
9+
1 file changed, 1 insertion(+)
10+
11+
diff --git a/src/app/ReadClient.cpp b/src/app/ReadClient.cpp
12+
index 57ef57362a..0163b248b8 100644
13+
--- a/src/app/ReadClient.cpp
14+
+++ b/src/app/ReadClient.cpp
15+
@@ -877,6 +877,7 @@ CHIP_ERROR ReadClient::ProcessEventReportIBs(TLV::TLVReader & aEventReportIBsRea
16+
ReturnErrorOnFailure(statusIBParser.DecodeStatusIB(statusIB));
17+
18+
NoteReportingData();
19+
+ ChipLogProgress(DataManagement, "CHIP_END_OF_TLV, status %04x", (int)statusIB.mStatus);
20+
mpCallback.OnEventData(header, nullptr, &statusIB);
21+
}
22+
}
23+
--
24+
2.44.0
25+

0 commit comments

Comments
 (0)