Skip to content

Commit

Permalink
Update Darwin availability annotations. (project-chip#34563)
Browse files Browse the repository at this point in the history
Marks a few things explicitly as provisional, and enables (as provisional)
the global struct and enum we have for tests.
  • Loading branch information
bzbarsky-apple authored and j-ororke committed Jul 31, 2024
1 parent 7365b4a commit bbd6bb0
Show file tree
Hide file tree
Showing 4 changed files with 64 additions and 9 deletions.
27 changes: 18 additions & 9 deletions src/darwin/Framework/CHIP/templates/availability.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9687,6 +9687,7 @@
clusters:
# Targeting 1.4
- CommissionerControl
- EcosystemInformation
- ServiceArea
- ThreadBorderRouterManagement
- ThreadNetworkDirectory
Expand All @@ -9699,16 +9700,33 @@
- HoldTime
- HoldTimeLimits
commands:
BridgedDeviceBasicInformation:
# Targeting 1.4
- KeepActive
UnitTesting:
# Ideally none of UnitTesting would be exposed as public API, but
# for now just start doing that for new additions to it.
- StringEchoRequest
- StringEchoResponse
structs:
Globals:
# Test-only value
- TestGlobalStruct
OccupancySensing:
# Targeting 1.4
- HoldTimeLimitsStruct
events:
BridgedDeviceBasicInformation:
# Targeting 1.4
- ActiveChanged
enums:
Globals:
# Test-only value
- TestGlobalEnum
bitmaps:
BridgedDeviceBasicInformation:
# Targeting 1.4
- Feature
OccupancySensing:
# Targeting 1.4
- Feature
Expand All @@ -9717,12 +9735,3 @@
Feature:
# Targeting 1.4
- ActionSwitch
removed:
structs:
Globals:
# Don't enable TestGlobalStruct until the ZAP side is fixed to handle it properly
- TestGlobalStruct
enums:
Globals:
# Don't enable TestGlobalEnum until the ZAP side is fixed to handle it properly
- TestGlobalEnum
6 changes: 6 additions & 0 deletions src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.h

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

7 changes: 7 additions & 0 deletions src/darwin/Framework/CHIP/zap-generated/MTRStructsObjc.h

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

33 changes: 33 additions & 0 deletions src/darwin/Framework/CHIP/zap-generated/MTRStructsObjc.mm

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

0 comments on commit bbd6bb0

Please sign in to comment.