Skip to content

Commit 4a4f86c

Browse files
committed
Increase the maximum amount of devices supported
Increase the limit of maximum amount of devices supported. This avoids CASE session getting evicted prematurely which leads to errors like: Data received on an unknown session (LSID=4729). Dropping it!
1 parent 2313f78 commit 4a4f86c

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
From 9b8275ee392e25fdf15afd6376ddd56abd2ad976 Mon Sep 17 00:00:00 2001
2+
From: Stefan Agner <stefan@agner.ch>
3+
Date: Fri, 28 Jun 2024 11:33:26 +0200
4+
Subject: [PATCH] [Python] Increase maximum devices support
5+
6+
Set the maximum devies supported to 1024. This increases the limit of
7+
concurrently active CASE sessions.
8+
---
9+
config/python/CHIPProjectConfig.h | 2 ++
10+
1 file changed, 2 insertions(+)
11+
12+
diff --git a/config/python/CHIPProjectConfig.h b/config/python/CHIPProjectConfig.h
13+
index 5effaaa13c..df9f15af83 100644
14+
--- a/config/python/CHIPProjectConfig.h
15+
+++ b/config/python/CHIPProjectConfig.h
16+
@@ -61,4 +61,6 @@
17+
18+
#define CONFIG_BUILD_FOR_HOST_UNIT_TEST 1
19+
20+
+#define CHIP_CONFIG_CONTROLLER_MAX_ACTIVE_DEVICES 1024
21+
+
22+
#endif /* CHIPPROJECTCONFIG_H */
23+
--
24+
2.45.2
25+

0 commit comments

Comments
 (0)