Skip to content

Commit

Permalink
Align OTA Provider Cluster with spec (#13019)
Browse files Browse the repository at this point in the history
  • Loading branch information
carol-apple authored Dec 15, 2021
1 parent 8bedafa commit 4a17ccc
Show file tree
Hide file tree
Showing 19 changed files with 302 additions and 408 deletions.
54 changes: 19 additions & 35 deletions examples/all-clusters-app/all-clusters-common/all-clusters-app.zap
Original file line number Diff line number Diff line change
Expand Up @@ -1369,19 +1369,19 @@
},
{
"name": "ApplyUpdateRequest",
"code": 1,
"code": 2,
"mfgCode": null,
"source": "client",
"incoming": 1,
"outgoing": 1
},
{
"name": "NotifyUpdateApplied",
"code": 2,
"code": 4,
"mfgCode": null,
"source": "client",
"incoming": 1,
"outgoing": 1
"outgoing": 0
}
],
"attributes": [
Expand Down Expand Up @@ -1412,15 +1412,15 @@
"commands": [
{
"name": "QueryImageResponse",
"code": 3,
"code": 1,
"mfgCode": null,
"source": "server",
"incoming": 1,
"incoming": 0,
"outgoing": 1
},
{
"name": "ApplyUpdateResponse",
"code": 4,
"code": 3,
"mfgCode": null,
"source": "server",
"incoming": 1,
Expand Down Expand Up @@ -8672,14 +8672,6 @@
},
{
"name": "ApplyUpdateRequest",
"code": 1,
"mfgCode": null,
"source": "client",
"incoming": 1,
"outgoing": 1
},
{
"name": "NotifyUpdateApplied",
"code": 2,
"mfgCode": null,
"source": "client",
Expand Down Expand Up @@ -8713,17 +8705,9 @@
"side": "server",
"enabled": 0,
"commands": [
{
"name": "QueryImageResponse",
"code": 3,
"mfgCode": null,
"source": "server",
"incoming": 1,
"outgoing": 1
},
{
"name": "ApplyUpdateResponse",
"code": 4,
"code": 3,
"mfgCode": null,
"source": "server",
"incoming": 1,
Expand Down Expand Up @@ -13664,7 +13648,7 @@
],
"attributes": [
{
"name": "tv channel list",
"name": "channel list",
"code": 0,
"mfgCode": null,
"side": "server",
Expand All @@ -13679,7 +13663,7 @@
"reportableChange": 0
},
{
"name": "tv channel lineup",
"name": "channel lineup",
"code": 1,
"mfgCode": null,
"side": "server",
Expand All @@ -13694,7 +13678,7 @@
"reportableChange": 0
},
{
"name": "current tv channel",
"name": "current channel",
"code": 2,
"mfgCode": null,
"side": "server",
Expand Down Expand Up @@ -14084,7 +14068,7 @@
"reportableChange": 0
},
{
"name": "position updated at",
"name": "position",
"code": 3,
"mfgCode": null,
"side": "server",
Expand All @@ -14099,7 +14083,7 @@
"reportableChange": 0
},
{
"name": "position",
"name": "playback speed",
"code": 4,
"mfgCode": null,
"side": "server",
Expand All @@ -14114,7 +14098,7 @@
"reportableChange": 0
},
{
"name": "playback speed",
"name": "seek range end",
"code": 5,
"mfgCode": null,
"side": "server",
Expand All @@ -14129,7 +14113,7 @@
"reportableChange": 0
},
{
"name": "seek range end",
"name": "seek range start",
"code": 6,
"mfgCode": null,
"side": "server",
Expand Down Expand Up @@ -14491,7 +14475,7 @@
"reportableChange": 0
},
{
"name": "supported streaming types",
"name": "supported streaming protocols",
"code": 1,
"mfgCode": null,
"side": "server",
Expand Down Expand Up @@ -14690,7 +14674,7 @@
"reportableChange": 0
},
{
"name": "catalog vendor id",
"name": "application launcher app",
"code": 1,
"mfgCode": null,
"side": "server",
Expand Down Expand Up @@ -14817,7 +14801,7 @@
"reportableChange": 0
},
{
"name": "application id",
"name": "application status",
"code": 5,
"mfgCode": null,
"side": "server",
Expand All @@ -14832,7 +14816,7 @@
"reportableChange": 0
},
{
"name": "catalog vendor id",
"name": "application version",
"code": 6,
"mfgCode": null,
"side": "server",
Expand Down Expand Up @@ -15726,7 +15710,7 @@
"reportableChange": 0
},
{
"name": "struct",
"name": "struct_attr",
"code": 37,
"mfgCode": null,
"side": "server",
Expand Down
13 changes: 7 additions & 6 deletions examples/lighting-app/lighting-common/lighting-app.zap
Original file line number Diff line number Diff line change
Expand Up @@ -1284,15 +1284,15 @@
},
{
"name": "ApplyUpdateRequest",
"code": 1,
"code": 2,
"mfgCode": null,
"source": "client",
"incoming": 0,
"outgoing": 1
},
{
"name": "NotifyUpdateApplied",
"code": 2,
"code": 4,
"mfgCode": null,
"source": "client",
"incoming": 0,
Expand Down Expand Up @@ -1327,15 +1327,15 @@
"commands": [
{
"name": "QueryImageResponse",
"code": 3,
"code": 1,
"mfgCode": null,
"source": "server",
"incoming": 1,
"outgoing": 0
},
{
"name": "ApplyUpdateResponse",
"code": 4,
"code": 3,
"mfgCode": null,
"source": "server",
"incoming": 1,
Expand Down Expand Up @@ -1691,7 +1691,7 @@
"reportableChange": 0
},
{
"name": "NetworkDisabled",
"name": "InterfaceEnabled",
"code": 4,
"mfgCode": null,
"side": "server",
Expand Down Expand Up @@ -6666,5 +6666,6 @@
"endpointVersion": 1,
"deviceIdentifier": 259
}
]
],
"log": []
}
Original file line number Diff line number Diff line change
Expand Up @@ -979,19 +979,19 @@
},
{
"name": "ApplyUpdateRequest",
"code": 1,
"code": 2,
"mfgCode": null,
"source": "client",
"incoming": 1,
"outgoing": 1
},
{
"name": "NotifyUpdateApplied",
"code": 2,
"code": 4,
"mfgCode": null,
"source": "client",
"incoming": 1,
"outgoing": 1
"outgoing": 0
}
],
"attributes": [
Expand Down Expand Up @@ -1022,15 +1022,15 @@
"commands": [
{
"name": "QueryImageResponse",
"code": 3,
"code": 1,
"mfgCode": null,
"source": "server",
"incoming": 1,
"incoming": 0,
"outgoing": 1
},
{
"name": "ApplyUpdateResponse",
"code": 4,
"code": 3,
"mfgCode": null,
"source": "server",
"incoming": 1,
Expand Down Expand Up @@ -1454,7 +1454,7 @@
"reportableChange": 0
},
{
"name": "NetworkDisabled",
"name": "InterfaceEnabled",
"code": 4,
"mfgCode": null,
"side": "server",
Expand Down Expand Up @@ -3813,5 +3813,6 @@
"endpointVersion": 1,
"deviceIdentifier": 22
}
]
],
"log": []
}
Original file line number Diff line number Diff line change
Expand Up @@ -979,15 +979,15 @@
},
{
"name": "ApplyUpdateRequest",
"code": 1,
"code": 2,
"mfgCode": null,
"source": "client",
"incoming": 0,
"outgoing": 1
},
{
"name": "NotifyUpdateApplied",
"code": 2,
"code": 4,
"mfgCode": null,
"source": "client",
"incoming": 0,
Expand Down Expand Up @@ -1022,15 +1022,15 @@
"commands": [
{
"name": "QueryImageResponse",
"code": 3,
"code": 1,
"mfgCode": null,
"source": "server",
"incoming": 1,
"outgoing": 0
},
{
"name": "ApplyUpdateResponse",
"code": 4,
"code": 3,
"mfgCode": null,
"source": "server",
"incoming": 1,
Expand Down Expand Up @@ -1477,7 +1477,7 @@
"reportableChange": 0
},
{
"name": "NetworkDisabled",
"name": "InterfaceEnabled",
"code": 4,
"mfgCode": null,
"side": "server",
Expand Down
Loading

0 comments on commit 4a17ccc

Please sign in to comment.