Skip to content

Commit

Permalink
Disable struct attributes, they cause Cirque to fail
Browse files Browse the repository at this point in the history
  • Loading branch information
lazarkov committed Dec 10, 2021
1 parent 44290be commit d480b91
Show file tree
Hide file tree
Showing 10 changed files with 67 additions and 258 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13515,7 +13515,7 @@
"code": 1,
"mfgCode": null,
"side": "server",
"included": 1,
"included": 0,
"storageOption": "External",
"singleton": 0,
"bounded": 0,
Expand All @@ -13530,7 +13530,7 @@
"code": 2,
"mfgCode": null,
"side": "server",
"included": 1,
"included": 0,
"storageOption": "External",
"singleton": 0,
"bounded": 0,
Expand Down Expand Up @@ -13920,7 +13920,7 @@
"code": 3,
"mfgCode": null,
"side": "server",
"included": 1,
"included": 0,
"storageOption": "External",
"singleton": 0,
"bounded": 0,
Expand Down Expand Up @@ -14526,7 +14526,7 @@
"code": 1,
"mfgCode": null,
"side": "server",
"included": 1,
"included": 0,
"storageOption": "External",
"singleton": 0,
"bounded": 0,
Expand Down Expand Up @@ -19430,4 +19430,4 @@
}
],
"log": []
}
}
12 changes: 6 additions & 6 deletions src/app/tests/suites/TV_ApplicationLauncherCluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ tests:
value: [123, 456]

# TODO: Enable once attribute struct is supported
- label: "Read attribute application launcher app"
disabled: true
command: "readAttribute"
attribute: "application launcher app"
response:
value: { catalogVendorId: 123, applicationId: "applicationId" }
# - label: "Read attribute application launcher app"
# disabled: true
# command: "readAttribute"
# attribute: "application launcher app"
# response:
# value: { catalogVendorId: 123, applicationId: "applicationId" }

- label: "Launch App Command"
command: "LaunchApp"
Expand Down
12 changes: 6 additions & 6 deletions src/app/tests/suites/TV_MediaPlaybackCluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@ tests:
value: 0

# TODO: Enable once attribute struct is supported
- label: "Read attribute position"
disabled: true
command: "readAttribute"
attribute: "position"
response:
value: { updatedAt: 0, position: 0 }
# - label: "Read attribute position"
# disabled: true
# command: "readAttribute"
# attribute: "position"
# response:
# value: { updatedAt: 0, position: 0 }

- label: "Read attribute playback speed"
command: "readAttribute"
Expand Down
50 changes: 25 additions & 25 deletions src/app/tests/suites/TV_TvChannelCluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,33 +45,33 @@ tests:
},
]
# TODO: Enable once attribute struct is supported
- label: "Read attribute channel lineup"
disabled: true
command: "readAttribute"
attribute: "channel lineup"
response:
value:
{
operatorName: "operatorName",
lineupName: "lineupName",
postalCode: "postalCode",
lineupInfoType: 0,
}
# - label: "Read attribute channel lineup"
# disabled: true
# command: "readAttribute"
# attribute: "channel lineup"
# response:
# value:
# {
# operatorName: "operatorName",
# lineupName: "lineupName",
# postalCode: "postalCode",
# lineupInfoType: 0,
# }

# TODO: Enable once attribute struct is supported
- label: "Read attribute current channel"
disabled: true
command: "readAttribute"
attribute: "current channel"
response:
value:
{
majorNumber: 1,
minorNumber: 0,
name: "name",
callSign: "callSign",
affiliateCallSign: "affiliateCallSign",
}
# - label: "Read attribute current channel"
# disabled: true
# command: "readAttribute"
# attribute: "current channel"
# response:
# value:
# {
# majorNumber: 1,
# minorNumber: 0,
# name: "name",
# callSign: "callSign",
# affiliateCallSign: "affiliateCallSign",
# }

- label: "Change Channel Command"
command: "ChangeChannel"
Expand Down
80 changes: 5 additions & 75 deletions src/controller/data_model/controller-clusters.zap
Original file line number Diff line number Diff line change
Expand Up @@ -1895,32 +1895,7 @@
"define": "BASIC_CLUSTER",
"side": "server",
"enabled": 0,
"commands": [
{
"name": "StartUp",
"code": 0,
"mfgCode": null,
"source": "server",
"incoming": 0,
"outgoing": 0
},
{
"name": "ShutDown",
"code": 1,
"mfgCode": null,
"source": "server",
"incoming": 0,
"outgoing": 0
},
{
"name": "Leave",
"code": 2,
"mfgCode": null,
"source": "server",
"incoming": 0,
"outgoing": 0
}
],
"commands": [],
"attributes": [
{
"name": "InteractionModelVersion",
Expand Down Expand Up @@ -10632,7 +10607,7 @@
"code": 1,
"mfgCode": null,
"side": "server",
"included": 1,
"included": 0,
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
Expand All @@ -10647,7 +10622,7 @@
"code": 2,
"mfgCode": null,
"side": "server",
"included": 1,
"included": 0,
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
Expand Down Expand Up @@ -11067,7 +11042,7 @@
"code": 3,
"mfgCode": null,
"side": "server",
"included": 1,
"included": 0,
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
Expand Down Expand Up @@ -11122,21 +11097,6 @@
"maxInterval": 65344,
"reportableChange": 0
},
{
"name": "seek range start",
"code": 7,
"mfgCode": null,
"side": "server",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "",
"reportable": 1,
"minInterval": 0,
"maxInterval": 65344,
"reportableChange": 0
},
{
"name": "AttributeList",
"code": 65531,
Expand Down Expand Up @@ -11810,7 +11770,7 @@
"code": 1,
"mfgCode": null,
"side": "server",
"included": 1,
"included": 0,
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
Expand All @@ -11820,21 +11780,6 @@
"maxInterval": 65534,
"reportableChange": 0
},
{
"name": "application id",
"code": 2,
"mfgCode": null,
"side": "server",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "0x00",
"reportable": 1,
"minInterval": 0,
"maxInterval": 65344,
"reportableChange": 0
},
{
"name": "AttributeList",
"code": 65531,
Expand Down Expand Up @@ -12016,21 +11961,6 @@
"maxInterval": 65344,
"reportableChange": 0
},
{
"name": "allowed vendor list",
"code": 7,
"mfgCode": null,
"side": "server",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "0x01",
"reportable": 1,
"minInterval": 0,
"maxInterval": 65344,
"reportableChange": 0
},
{
"name": "AttributeList",
"code": 65531,
Expand Down
8 changes: 0 additions & 8 deletions src/controller/java/zap-generated/CHIPCallbackTypes.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 0 additions & 26 deletions src/controller/python/chip/clusters/CHIPClusters.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit d480b91

Please sign in to comment.