Skip to content

Commit 46b1cbf

Browse files
committed
Add downloading state
1 parent 1e8b685 commit 46b1cbf

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
@@ -5264,8 +5264,9 @@ cluster ApplicationLauncher = 1292 {
52645264
kSuccess = 0;
52655265
kAppNotAvailable = 1;
52665266
kSystemBusy = 2;
5267-
kStatusPending = 3;
5268-
kStatusInstalling = 4;
5267+
kPending = 3;
5268+
kDownloading = 4;
5269+
kInstalling = 5;
52695270
}
52705271

52715272
bitmap Feature : bitmap32 {

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

+6-4
Original file line numberDiff line numberDiff line change
@@ -7895,8 +7895,9 @@ cluster ApplicationLauncher = 1292 {
78957895
kSuccess = 0;
78967896
kAppNotAvailable = 1;
78977897
kSystemBusy = 2;
7898-
kStatusPending = 3;
7899-
kStatusInstalling = 4;
7898+
kPending = 3;
7899+
kDownloading = 4;
7900+
kInstalling = 5;
79007901
}
79017902

79027903
bitmap Feature : bitmap32 {
@@ -7956,8 +7957,9 @@ cluster ApplicationLauncher = 1292 {
79567957
kSuccess = 0;
79577958
kAppNotAvailable = 1;
79587959
kSystemBusy = 2;
7959-
kStatusPending = 3;
7960-
kStatusInstalling = 4;
7960+
kPending = 3;
7961+
kDownloading = 4;
7962+
kInstalling = 5;
79617963
}
79627964

79637965
bitmap Feature : bitmap32 {

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

+6-4
Original file line numberDiff line numberDiff line change
@@ -7852,8 +7852,9 @@ cluster ApplicationLauncher = 1292 {
78527852
kSuccess = 0;
78537853
kAppNotAvailable = 1;
78547854
kSystemBusy = 2;
7855-
kStatusPending = 3;
7856-
kStatusInstalling = 4;
7855+
kPending = 3;
7856+
kDownloading = 4;
7857+
kInstalling = 5;
78577858
}
78587859

78597860
bitmap Feature : bitmap32 {
@@ -7913,8 +7914,9 @@ cluster ApplicationLauncher = 1292 {
79137914
kSuccess = 0;
79147915
kAppNotAvailable = 1;
79157916
kSystemBusy = 2;
7916-
kStatusPending = 3;
7917-
kStatusInstalling = 4;
7917+
kPending = 3;
7918+
kDownloading = 4;
7919+
kInstalling = 5;
79187920
}
79197921

79207922
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
@@ -8870,8 +8870,9 @@ cluster ApplicationLauncher = 1292 {
88708870
kSuccess = 0;
88718871
kAppNotAvailable = 1;
88728872
kSystemBusy = 2;
8873-
kStatusPending = 3;
8874-
kStatusInstalling = 4;
8873+
kPending = 3;
8874+
kDownloading = 4;
8875+
kInstalling = 5;
88758876
}
88768877

88778878
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)