Skip to content

Commit 0a9bd56

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 901a0ca commit 0a9bd56

File tree

1 file changed

+25
-3
lines changed

1 file changed

+25
-3
lines changed

config/zephyr/Kconfig

+25-3
Original file line numberDiff line numberDiff line change
@@ -336,7 +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
339+
default 1000 if !CHIP_ICD_LIT_SUPPORT
340+
default 30000 if CHIP_ICD_LIT_SUPPORT
340341
help
341342
Provides the Intermittently Connected Device slow polling interval in milliseconds while the
342343
device is in the idle mode. It determines the fastest frequency at which the device will be able
@@ -353,7 +354,8 @@ config CHIP_ICD_FAST_POLLING_INTERVAL
353354

354355
config CHIP_ICD_IDLE_MODE_DURATION
355356
int "Intermittently Connected Device idle mode duration (s)"
356-
default 120
357+
default 120 if !CHIP_ICD_LIT_SUPPORT
358+
default 300 if CHIP_ICD_LIT_SUPPORT
357359
help
358360
Provides the Intermittently Connected Device idle mode duration in seconds.
359361
It determines the maximum amount of time the device can stay in the idle mode, which means the
@@ -368,14 +370,34 @@ config CHIP_ICD_ACTIVE_MODE_DURATION
368370

369371
config CHIP_ICD_ACTIVE_MODE_THRESHOLD
370372
int "Intermittently Connected Device active mode threshold (ms)"
371-
default 300
373+
default 0 if !CHIP_ICD_LIT_SUPPORT
374+
default 5000 if CHIP_ICD_LIT_SUPPORT
372375
help
373376
Provides the Intermittently Connected Device active mode threshold in milliseconds.
374377
It determines the minimum amount of time the device shall stay in the active mode after the network activity.
375378

379+
config CHIP_ICD_LIT_SUPPORT
380+
bool "Intermittenly Connected Device Long Idle Time support"
381+
imply CHIP_ICD_CHECK_IN_SUPPORT
382+
imply CHIP_ICD_UAT_SUPPORT
383+
help
384+
Enables the Intermittently Connected Device Long Idle Time support in Matter.
385+
It also implies the ICD Check-In and UAT features support that are mandatory for LIT device.
386+
387+
config CHIP_ICD_CHECK_IN_SUPPORT
388+
bool "Intermittenly Connected Device Check-In protocol support"
389+
help
390+
Enables the Check-In protocol support in Matter.
391+
392+
config CHIP_ICD_UAT_SUPPORT
393+
bool "Intermittenly Connected Device User Active Mode Trigger support"
394+
help
395+
Enables the User Active Mode Trigger (UAT) support in Matter.
396+
376397
config CHIP_ICD_CLIENTS_PER_FABRIC
377398
int "Intermittently Connected Device number of clients per fabric"
378399
default 2
400+
depends on CHIP_ICD_CHECK_IN_SUPPORT
379401
help
380402
Provides the Intermittently Connected Device number of clients per fabric. It determines the maximum number
381403
of clients per fabric that can be registered to receive notification from a device if their subscription is lost.

0 commit comments

Comments
 (0)