@@ -17,6 +17,13 @@ and set the following parameter to true:
17
17
chip_enable_icd_server = true
18
18
```
19
19
20
+ To enable LIT ICD behavior, Check In Protcol Support and User Active Mode Trigger
21
+ Support, set the following parameter to true:
22
+
23
+ ```
24
+ chip_enable_icd_lit = true
25
+ ```
26
+
20
27
TI examples have only been tested with the ICD Server configuration. To enable
21
28
the client configuration, set ` chip_enable_icd_client ` to true.
22
29
@@ -43,17 +50,25 @@ mode threshold, and polling intervals can be configured in
43
50
#define CHIP_DEVICE_CONFIG_ICD_FAST_POLL_INTERVAL chip::System::Clock::Milliseconds32(100)
44
51
```
45
52
53
+ To enable LIT ICD behavior, set the polling period to be greater than 15 seconds, and the active mode threshold to at least 5000 milliseconds.
54
+
46
55
## ZAP File Changes
47
56
48
57
Open up the ZAP file (in ` examples/<example-name>/<example-name>-common ` ) for
49
58
the example being configured as an ICD. Add the ICD Management Cluster for
50
- Endpoint 0.
59
+ Endpoint 0 as either a Server or Client, depending on your configuration .
51
60
52
- Open up the .matter file (in ` examples/<example-name>/<example-name>-common ` )
53
- corresponding to the example and add in the ICDManagement cluster.
61
+ To enable LIT ICD behavior, set the FeatureMap to 0x0007 to enable Check-In
62
+ Protocol Support, User Active Mode Trigger Support, and Long Idle Time Support.
63
+ In addition, enable the UserActiveModeTriggerHint, UserActiveModeTriggerInstruction,
64
+ and MaximumCheckInBackOff attributes.
54
65
55
- In addition, each endpoint has a list of clusters that it supports. Add the
56
- ICDManagement cluster to this list.
66
+ After making the desired changes in the zap file, generate the .matter file by running
67
+ the following commands:
68
+
69
+ ```
70
+ $ cd /connectedhomeip/scripts/tools/zap
71
+ $ ./generate.py examples/<example>/<example>-common/<example>-app.zap
72
+
73
+ ```
57
74
58
- The lock-app example's .matter file can be used as a reference. These additions
59
- allow the ICDManagement cluster's callbacks to be accessed.
0 commit comments