diff --git a/docs/guides/ti/enabling_icd_on_ti_devices.md b/docs/guides/ti/enabling_icd_on_ti_devices.md index 44cd6e74494c5a..7e10ceb0c11ee0 100644 --- a/docs/guides/ti/enabling_icd_on_ti_devices.md +++ b/docs/guides/ti/enabling_icd_on_ti_devices.md @@ -2,26 +2,38 @@ ## Overview -Intermittently Connected Devices are devices in a network that do not always need to be active. Matter has defined a cluster that helps capture this behavior; this configuration is ideal for devices that need to operate with low power consumption or do not have a need to always be on the network. Matter examples on the TI CC13x4 platform can be configured to act as ICDs. +Intermittently Connected Devices are devices in a network that do not always +need to be active. Matter has defined a cluster that helps capture this +behavior; this configuration is ideal for devices that need to operate with low +power consumption or do not have a need to always be on the network. Matter +examples on the TI CC13x4 platform can be configured to act as ICDs. ## Platform Code Changes -To configure a TI example as an ICD, open up the `args.gni` file of the example and set the following parameter to true: + +To configure a TI example as an ICD, open up the `args.gni` file of the example +and set the following parameter to true: ``` chip_enable_icd_server = true ``` -TI examples have only been tested with the ICD Server configuration. To enable the client configuration, set `chip_enable_icd_client` to true. +TI examples have only been tested with the ICD Server configuration. To enable +the client configuration, set `chip_enable_icd_client` to true. -Persistent subscriptions allow devices to attempt resuming existing subscriptions following a device reset. To enable persistent subscriptions, set the following parameter to true: +Persistent subscriptions allow devices to attempt resuming existing +subscriptions following a device reset. To enable persistent subscriptions, set +the following parameter to true: ``` chip_persist_subscriptions = true ``` -Subscription timeout resumption allows devices to attempt re-establishing subscriptions that may have expired. This feature is disabled out of box. +Subscription timeout resumption allows devices to attempt re-establishing +subscriptions that may have expired. This feature is disabled out of box. -In addition, various ICD parameters such as idle/active mode duration, active mode threshold, and polling intervals can be configured in `src/platform/cc13xx_26xx/cc13x4_26x4/CHIPPlatformConfig.h` +In addition, various ICD parameters such as idle/active mode duration, active +mode threshold, and polling intervals can be configured in +`src/platform/cc13xx_26xx/cc13x4_26x4/CHIPPlatformConfig.h` ``` #define CHIP_CONFIG_ICD_ACTIVE_MODE_DURATION_MS 1000 @@ -33,11 +45,15 @@ In addition, various ICD parameters such as idle/active mode duration, active mo ## ZAP File Changes -Open up the ZAP file (in `examples//-common`) for the example being configured as an ICD. Add the ICD Management Cluster for Endpoint 0. - -Open up the .matter file (in `examples//-common`) corresponding to the example and add in the ICDManagement cluster. +Open up the ZAP file (in `examples//-common`) for +the example being configured as an ICD. Add the ICD Management Cluster for +Endpoint 0. -In addition, each endpoint has a list of clusters that it supports. Add the ICDManagement cluster to this list. +Open up the .matter file (in `examples//-common`) +corresponding to the example and add in the ICDManagement cluster. -The lock-app example's .matter file can be used as a reference. These additions allow the ICDManagement cluster's callbacks to be accessed. +In addition, each endpoint has a list of clusters that it supports. Add the +ICDManagement cluster to this list. +The lock-app example's .matter file can be used as a reference. These additions +allow the ICDManagement cluster's callbacks to be accessed.