Skip to content

Commit 0c9990d

Browse files
committed
restyled changes
1 parent 1e8c37f commit 0c9990d

File tree

8 files changed

+31
-31
lines changed

8 files changed

+31
-31
lines changed

docs/guides/ti/matter-users-guide/enabling_icd_on_ti_devices.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ and set the following parameter to true:
1717
chip_enable_icd_server = true
1818
```
1919

20-
To enable LIT ICD behavior, Check In Protcol Support and User Active Mode Trigger
21-
Support, set the following parameter to true:
20+
To enable LIT ICD behavior, Check In Protcol Support and User Active Mode
21+
Trigger Support, set the following parameter to true:
2222

2323
```
2424
chip_enable_icd_lit = true
@@ -50,7 +50,8 @@ mode threshold, and polling intervals can be configured in
5050
#define CHIP_DEVICE_CONFIG_ICD_FAST_POLL_INTERVAL chip::System::Clock::Milliseconds32(100)
5151
```
5252

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.
53+
To enable LIT ICD behavior, set the polling period to be greater than 15
54+
seconds, and the active mode threshold to at least 5000 milliseconds.
5455

5556
## ZAP File Changes
5657

@@ -60,15 +61,14 @@ Endpoint 0 as either a Server or Client, depending on your configuration.
6061

6162
To enable LIT ICD behavior, set the FeatureMap to 0x0007 to enable Check-In
6263
Protocol Support, User Active Mode Trigger Support, and Long Idle Time Support.
63-
In addition, enable the UserActiveModeTriggerHint, UserActiveModeTriggerInstruction,
64-
and MaximumCheckInBackOff attributes.
64+
In addition, enable the UserActiveModeTriggerHint,
65+
UserActiveModeTriggerInstruction, and MaximumCheckInBackOff attributes.
6566

66-
After making the desired changes in the zap file, generate the .matter file by running
67-
the following commands:
67+
After making the desired changes in the zap file, generate the .matter file by
68+
running the following commands:
6869

6970
```
7071
$ cd /connectedhomeip/scripts/tools/zap
7172
$ ./generate.py examples/<example>/<example>-common/<example>-app.zap
7273
7374
```
74-

examples/light-switch-app/cc13x4_26x4/README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ When the device has LIT ICD functionality enabled (`chip_enable_icd_lit` set to
4646
true in args.gni), the functionality of the short button presses changes as
4747
described below:
4848

49-
| Action | Functionality |
50-
| ------------------------------------------------ | -------------------------------------- |
51-
| Left Button (`BTN-1`) Press (less than 1000 ms) | User Active Mode Trigger |
52-
| Right Button (`BTN-2`) Press (less than 1000 ms) | Connected Bulb is toggled |
49+
| Action | Functionality |
50+
| ------------------------------------------------ | ------------------------- |
51+
| Left Button (`BTN-1`) Press (less than 1000 ms) | User Active Mode Trigger |
52+
| Right Button (`BTN-2`) Press (less than 1000 ms) | Connected Bulb is toggled |
5353

5454
## Building
5555

examples/light-switch-app/cc13x4_26x4/src/AppTask.cpp

+4-3
Original file line numberDiff line numberDiff line change
@@ -505,18 +505,19 @@ void AppTask::DispatchEvent(AppEvent * aEvent)
505505
{
506506
actor = AppEvent::kEventType_ButtonRight;
507507
#if CHIP_CONFIG_ENABLE_ICD_UAT
508-
if(switchIsTurnedOn){
508+
if (switchIsTurnedOn)
509+
{
509510
LightSwitchMgr().InitiateAction(actor, LightSwitchManager::SWITCH_OFF_ACTION);
510511
switchIsTurnedOn = false;
511512
}
512-
else{
513+
else
514+
{
513515
LightSwitchMgr().InitiateAction(actor, LightSwitchManager::SWITCH_ON_ACTION);
514516
switchIsTurnedOn = true;
515517
}
516518
#else
517519
LightSwitchMgr().InitiateAction(actor, LightSwitchManager::SWITCH_ON_ACTION);
518520
#endif
519-
520521
}
521522
else if (AppEvent::kAppEventButtonType_LongClicked == aEvent->ButtonEvent.Type)
522523
{

examples/lighting-app/cc13x4_26x4/README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ When the device has LIT ICD functionality enabled (`chip_enable_icd_lit` set to
4949
true in args.gni), the functionality of the short button presses changes as
5050
described below:
5151

52-
| Action | Functionality |
53-
| ------------------------------------------------ | -------------------------------------- |
54-
| Left Button (`BTN-1`) Press (less than 1000 ms) | User Active Mode Trigger |
55-
| Right Button (`BTN-2`) Press (less than 1000 ms) | Light is toggled |
52+
| Action | Functionality |
53+
| ------------------------------------------------ | ------------------------ |
54+
| Left Button (`BTN-1`) Press (less than 1000 ms) | User Active Mode Trigger |
55+
| Right Button (`BTN-2`) Press (less than 1000 ms) | Light is toggled |
5656

5757
## Building
5858

examples/lighting-app/cc13x4_26x4/src/AppTask.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ void AppTask::DispatchEvent(AppEvent * aEvent)
495495
case AppEvent::kEventType_ButtonRight:
496496
if (AppEvent::kAppEventButtonType_Clicked == aEvent->ButtonEvent.Type)
497497
{
498-
actor = AppEvent::kEventType_ButtonRight;
498+
actor = AppEvent::kEventType_ButtonRight;
499499
#if CHIP_CONFIG_ENABLE_ICD_UAT
500500
LightMgr().IsLightOn() ? LightMgr().InitiateAction(actor, LightingManager::OFF_ACTION)
501501
: LightMgr().InitiateAction(actor, LightingManager::ON_ACTION);

examples/lock-app/cc13x4_26x4/README.md

+4-5
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,10 @@ When the device has LIT ICD functionality enabled (`chip_enable_icd_lit` set to
5050
true in args.gni), the functionality of the short button presses changes as
5151
described below:
5252

53-
| Action | Functionality |
54-
| ------------------------------------------------ | -------------------------------------- |
55-
| Left Button (`BTN-1`) Press (less than 1000 ms) | User Active Mode Trigger |
56-
| Right Button (`BTN-2`) Press (less than 1000 ms) | Lock state is toggled |
57-
53+
| Action | Functionality |
54+
| ------------------------------------------------ | ------------------------ |
55+
| Left Button (`BTN-1`) Press (less than 1000 ms) | User Active Mode Trigger |
56+
| Right Button (`BTN-2`) Press (less than 1000 ms) | Lock state is toggled |
5857

5958
## Building
6059

examples/pump-app/cc13x4_26x4/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ When the device has LIT ICD functionality enabled (`chip_enable_icd_lit` set to
4949
true in args.gni), the functionality of the right long button press changes as
5050
described below:
5151

52-
| Action | Functionality |
53-
| ------------------------------------------------ | -------------------------------------- |
54-
| Right Button (`BTN-2`) Press (more than 1000 ms) | User Active Mode Trigger |
52+
| Action | Functionality |
53+
| ------------------------------------------------ | ------------------------ |
54+
| Right Button (`BTN-2`) Press (more than 1000 ms) | User Active Mode Trigger |
5555

5656
## Building
5757

examples/pump-controller-app/cc13x4_26x4/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ When the device has LIT ICD functionality enabled (`chip_enable_icd_lit` set to
5050
true in args.gni), the functionality of the short button presses changes as
5151
described below:
5252

53-
| Action | Functionality |
54-
| ------------------------------------------------ | -------------------------------------- |
55-
| Right Button (`BTN-2`) Press (more than 1000 ms) | User Active Mode Trigger |
53+
| Action | Functionality |
54+
| ------------------------------------------------ | ------------------------ |
55+
| Right Button (`BTN-2`) Press (more than 1000 ms) | User Active Mode Trigger |
5656

5757
## Building
5858

0 commit comments

Comments
 (0)