Skip to content

Commit a644995

Browse files
authored
Merge pull request #54 from home-assistant-libs/update-node-id-logging-patch
Rebase node ID logging patch
2 parents 8633f96 + 78f1f63 commit a644995

6 files changed

+29
-469
lines changed

.github/workflows/build.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,9 @@ jobs:
201201
echo "Applying ${patch}"
202202
patch -p1 < $patch
203203
done
204+
- uses: actions/setup-python@v5
205+
with:
206+
python-version: '3.11'
204207
- name: Bootstrap
205208
working-directory: ./connectedhomeip/
206209
run: bash scripts/bootstrap.sh -p all,darwin
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
From 3c551b7a706428d2fde77df0bc93d81bb37a2022 Mon Sep 17 00:00:00 2001
2+
From: Stefan Agner <stefan@agner.ch>
3+
Date: Thu, 18 Apr 2024 21:46:59 +0200
4+
Subject: [PATCH] Enable node ID logging in exchanges
5+
6+
Enable node ID logging in exchanges by default.
7+
---
8+
src/lib/core/CHIPConfig.h | 2 +-
9+
1 file changed, 1 insertion(+), 1 deletion(-)
10+
11+
diff --git a/src/lib/core/CHIPConfig.h b/src/lib/core/CHIPConfig.h
12+
index 558e0ee08e..5a3f5facb7 100644
13+
--- a/src/lib/core/CHIPConfig.h
14+
+++ b/src/lib/core/CHIPConfig.h
15+
@@ -468,7 +468,7 @@
16+
* If asserted (1), enable logging of node IDs in exchange context.
17+
*/
18+
#ifndef CHIP_EXCHANGE_NODE_ID_LOGGING
19+
-#define CHIP_EXCHANGE_NODE_ID_LOGGING 0
20+
+#define CHIP_EXCHANGE_NODE_ID_LOGGING 1
21+
#endif // CHIP_EXCHANGE_NODE_ID_LOGGING
22+
23+
/**
24+
--
25+
2.44.0
26+

0010-Log-nodeID-in-exchange-context.patch

-81
This file was deleted.

0011-Python-Use-Python-logging-everywhere-32383.patch

-103
This file was deleted.

0012-Python-Keep-reference-to-callback-function-on-timeou.patch

-170
This file was deleted.

0 commit comments

Comments
 (0)