Skip to content

Commit

Permalink
Start annotating things that we always implement via AttributeAccessI…
Browse files Browse the repository at this point in the history
…nterface. (#17616)

Those things are then forced to use external storage in ZAP, since
we're not touching the attribute store for them anyway.

Also updates ZAP to a version that will fail out of the annotations
have incorrect cluster/attribute names.
  • Loading branch information
bzbarsky-apple authored and pull[bot] committed Nov 4, 2023
1 parent 7914cbf commit 46f9fbd
Show file tree
Hide file tree
Showing 18 changed files with 747 additions and 1,080 deletions.
45 changes: 44 additions & 1 deletion src/app/zap-templates/zcl/zcl.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,49 @@
}
},
"listsUseAttributeAccessInterface": true,
"attributeAccessInterfaceAttributes": {},
"attributeAccessInterfaceAttributes": {
"Access Control": [
"ClusterRevision",
"SubjectsPerAccessControlEntry",
"TargetsPerAccessControlEntry",
"AccessControlEntriesPerFabric"
],
"AdministratorCommissioning": [
"WindowStatus",
"AdminFabricIndex",
"AdminVendorId"
],
"Basic": [
"DataModelRevision",
"VendorName",
"VendorID",
"ProductName",
"ProductID",
"Location",
"HardwareVersion",
"HardwareVersionString",
"SoftwareVersion",
"SoftwareVersionString",
"ManufacturingDate",
"PartNumber",
"ProductURL",
"ProductLabel",
"SerialNumber",
"UniqueID",
"CapabilityMinima"
],
"Descriptor": ["ClusterRevision"],
"Ethernet Network Diagnostics": [
"PHYRate",
"FullDuplex",
"CarrierDetect",
"TimeSinceReset",
"PacketRxCount",
"PacketTxCount",
"TxErrCount",
"CollisionCount",
"OverrunCount"
]
},
"defaultReportingPolicy": "mandatory"
}
470 changes: 219 additions & 251 deletions zzz_generated/all-clusters-app/zap-generated/endpoint_config.h

Large diffs are not rendered by default.

92 changes: 30 additions & 62 deletions zzz_generated/bridge-app/zap-generated/endpoint_config.h

Large diffs are not rendered by default.

80 changes: 24 additions & 56 deletions zzz_generated/light-switch-app/zap-generated/endpoint_config.h

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

Loading

0 comments on commit 46f9fbd

Please sign in to comment.