Skip to content

Commit 2729503

Browse files
committed
Add downloading state
1 parent 9002613 commit 2729503

File tree

12 files changed

+46
-32
lines changed

12 files changed

+46
-32
lines changed

examples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.matter

+3-2
Original file line numberDiff line numberDiff line change
@@ -5290,8 +5290,9 @@ cluster ApplicationLauncher = 1292 {
52905290
kSuccess = 0;
52915291
kAppNotAvailable = 1;
52925292
kSystemBusy = 2;
5293-
kStatusPending = 3;
5294-
kStatusInstalling = 4;
5293+
kPending = 3;
5294+
kDownloading = 4;
5295+
kInstalling = 5;
52955296
}
52965297

52975298
bitmap Feature : bitmap32 {

examples/placeholder/linux/apps/app1/config.matter

+6-4
Original file line numberDiff line numberDiff line change
@@ -7921,8 +7921,9 @@ cluster ApplicationLauncher = 1292 {
79217921
kSuccess = 0;
79227922
kAppNotAvailable = 1;
79237923
kSystemBusy = 2;
7924-
kStatusPending = 3;
7925-
kStatusInstalling = 4;
7924+
kPending = 3;
7925+
kDownloading = 4;
7926+
kInstalling = 5;
79267927
}
79277928

79287929
bitmap Feature : bitmap32 {
@@ -7982,8 +7983,9 @@ cluster ApplicationLauncher = 1292 {
79827983
kSuccess = 0;
79837984
kAppNotAvailable = 1;
79847985
kSystemBusy = 2;
7985-
kStatusPending = 3;
7986-
kStatusInstalling = 4;
7986+
kPending = 3;
7987+
kDownloading = 4;
7988+
kInstalling = 5;
79877989
}
79887990

79897991
bitmap Feature : bitmap32 {

examples/placeholder/linux/apps/app2/config.matter

+6-4
Original file line numberDiff line numberDiff line change
@@ -7878,8 +7878,9 @@ cluster ApplicationLauncher = 1292 {
78787878
kSuccess = 0;
78797879
kAppNotAvailable = 1;
78807880
kSystemBusy = 2;
7881-
kStatusPending = 3;
7882-
kStatusInstalling = 4;
7881+
kPending = 3;
7882+
kDownloading = 4;
7883+
kInstalling = 5;
78837884
}
78847885

78857886
bitmap Feature : bitmap32 {
@@ -7939,8 +7940,9 @@ cluster ApplicationLauncher = 1292 {
79397940
kSuccess = 0;
79407941
kAppNotAvailable = 1;
79417942
kSystemBusy = 2;
7942-
kStatusPending = 3;
7943-
kStatusInstalling = 4;
7943+
kPending = 3;
7944+
kDownloading = 4;
7945+
kInstalling = 5;
79447946
}
79457947

79467948
bitmap Feature : bitmap32 {

examples/tv-app/android/java/src/com/matter/tv/server/tvapp/LauncherResponse.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ public class LauncherResponse {
66
public static final int STATUS_APP_NOT_AVAILABLE = 1;
77
public static final int STATUS_SYSTEM_BUSY = 2;
88
public static final int STATUS_PENDING = 3;
9-
public static final int STATUS_INSTALLING = 4;
9+
public static final int STATUS_DOWNLOADING = 4;
10+
public static final int STATUS_INSTALLING = 5;
1011

1112
public LauncherResponse(int status, String data) {
1213
this.status = status;

examples/tv-app/tv-common/tv-app.matter

+3-2
Original file line numberDiff line numberDiff line change
@@ -2928,8 +2928,9 @@ cluster ApplicationLauncher = 1292 {
29282928
kSuccess = 0;
29292929
kAppNotAvailable = 1;
29302930
kSystemBusy = 2;
2931-
kStatusPending = 3;
2932-
kStatusInstalling = 4;
2931+
kPending = 3;
2932+
kDownloading = 4;
2933+
kInstalling = 5;
29332934
}
29342935

29352936
bitmap Feature : bitmap32 {

examples/tv-casting-app/tv-casting-common/tv-casting-app.matter

+3-2
Original file line numberDiff line numberDiff line change
@@ -2390,8 +2390,9 @@ cluster ApplicationLauncher = 1292 {
23902390
kSuccess = 0;
23912391
kAppNotAvailable = 1;
23922392
kSystemBusy = 2;
2393-
kStatusPending = 3;
2394-
kStatusInstalling = 4;
2393+
kPending = 3;
2394+
kDownloading = 4;
2395+
kInstalling = 5;
23952396
}
23962397

23972398
bitmap Feature : bitmap32 {

src/app/zap-templates/zcl/data-model/chip/application-launcher-cluster.xml

+3-2
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@ limitations under the License.
8080
<item name="Success" value="0x00"/>
8181
<item name="AppNotAvailable" value="0x01"/>
8282
<item name="SystemBusy" value="0x02"/>
83-
<item name="StatusPending" value="0x03"/>
84-
<item name="StatusInstalling" value="0x04"/>
83+
<item name="Pending" value="0x03"/>
84+
<item name="Downloading" value="0x04"/>
85+
<item name="Installing" value="0x05"/>
8586
</enum>
8687
</configurator>

src/controller/data_model/controller-clusters.matter

+3-2
Original file line numberDiff line numberDiff line change
@@ -8896,8 +8896,9 @@ cluster ApplicationLauncher = 1292 {
88968896
kSuccess = 0;
88978897
kAppNotAvailable = 1;
88988898
kSystemBusy = 2;
8899-
kStatusPending = 3;
8900-
kStatusInstalling = 4;
8899+
kPending = 3;
8900+
kDownloading = 4;
8901+
kInstalling = 5;
89018902
}
89028903

89038904
bitmap Feature : bitmap32 {

src/controller/python/chip/clusters/Objects.py

+4-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.h

+3-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

zzz_generated/app-common/app-common/zap-generated/cluster-enums-check.h

+3-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

zzz_generated/app-common/app-common/zap-generated/cluster-enums.h

+7-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)