Skip to content

Commit 51aed7a

Browse files
kkasperczyk-noArekBalysNordic
authored andcommitted
[test-event-only] Added kconfigs to reflect ICD LIT features
Added Kconfigs that can be used to conditionally enable ICD features. Signed-off-by: Kamil Kasperczyk <kamil.kasperczyk@nordicsemi.no>
1 parent e4a77ab commit 51aed7a

File tree

1 file changed

+21
-3
lines changed

1 file changed

+21
-3
lines changed

config/zephyr/Kconfig

+21-3
Original file line numberDiff line numberDiff line change
@@ -336,8 +336,8 @@ if CHIP_ENABLE_ICD_SUPPORT
336336

337337
config CHIP_ICD_SLOW_POLL_INTERVAL
338338
int "Intermittently Connected Device slow polling interval (ms)"
339+
default 1000 if !CHIP_ICD_LIT_SUPPORT
339340
default 30000 if CHIP_ICD_LIT_SUPPORT
340-
default 1000
341341
help
342342
Provides the Intermittently Connected Device slow polling interval in milliseconds while the
343343
device is in the idle mode. It determines the fastest frequency at which the device will be able
@@ -354,8 +354,8 @@ config CHIP_ICD_FAST_POLLING_INTERVAL
354354

355355
config CHIP_ICD_IDLE_MODE_DURATION
356356
int "Intermittently Connected Device idle mode duration (s)"
357+
default 120 if !CHIP_ICD_LIT_SUPPORT
357358
default 300 if CHIP_ICD_LIT_SUPPORT
358-
default 120
359359
help
360360
Provides the Intermittently Connected Device idle mode duration in seconds.
361361
It determines the maximum amount of time the device can stay in the idle mode, which means the
@@ -370,8 +370,8 @@ config CHIP_ICD_ACTIVE_MODE_DURATION
370370

371371
config CHIP_ICD_ACTIVE_MODE_THRESHOLD
372372
int "Intermittently Connected Device active mode threshold (ms)"
373+
default 0 if !CHIP_ICD_LIT_SUPPORT
373374
default 5000 if CHIP_ICD_LIT_SUPPORT
374-
default 300
375375
help
376376
Provides the Intermittently Connected Device active mode threshold in milliseconds.
377377
It determines the minimum amount of time the device shall stay in the active mode after the network activity.
@@ -397,6 +397,24 @@ config CHIP_ICD_UAT_SUPPORT
397397
Enables the User Active Mode Trigger (UAT) support in Matter. It allows the User to use application specific
398398
means (e.g. button press) to trigger an ICD device to enter the active mode and become responsive.
399399

400+
config CHIP_ICD_LIT_SUPPORT
401+
bool "Intermittenly Connected Device Long Idle Time support"
402+
imply CHIP_ICD_CHECK_IN_SUPPORT
403+
imply CHIP_ICD_UAT_SUPPORT
404+
help
405+
Enables the Intermittently Connected Device Long Idle Time support in Matter.
406+
It also implies the ICD Check-In and UAT features support that are mandatory for LIT device.
407+
408+
config CHIP_ICD_CHECK_IN_SUPPORT
409+
bool "Intermittenly Connected Device Check-In protocol support"
410+
help
411+
Enables the Check-In protocol support in Matter.
412+
413+
config CHIP_ICD_UAT_SUPPORT
414+
bool "Intermittenly Connected Device User Active Mode Trigger support"
415+
help
416+
Enables the User Active Mode Trigger (UAT) support in Matter.
417+
400418
config CHIP_ICD_CLIENTS_PER_FABRIC
401419
int "Intermittently Connected Device number of clients per fabric"
402420
default 2

0 commit comments

Comments
 (0)