Skip to content

Commit

Permalink
Update Darwin availability annotations. (#30460)
Browse files Browse the repository at this point in the history
* Some enums got renamed, but in ways that don't change our generated API.
* LinkLocalAddress got added to WakeOnLAN cluster, targeting spring 2024.
  • Loading branch information
bzbarsky-apple authored and pull[bot] committed Mar 11, 2024
1 parent 5faa29e commit 1559746
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 12 deletions.
23 changes: 19 additions & 4 deletions src/darwin/Framework/CHIP/templates/availability.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3245,7 +3245,10 @@
- StatusEnum
- LineupInfoTypeEnum
TargetNavigator:
- TargetNavigatorStatusEnum
# StatusEnum was originally named TargetNavigatorStatusEnum, but
# we generate the same API for the names with/without the cluster
# name at the beginning, so the name can just change here.
- StatusEnum
MediaPlayback:
# StatusEnum was originally named MediaPlaybackStatusEnum, but we
# generate the same API for the names with/without the cluster
Expand All @@ -3256,7 +3259,10 @@
- InputTypeEnum
KeypadInput:
- CecKeyCode
- KeypadInputStatusEnum
# StatusEnum was originally named KeypadInputStatusEnum, but we
# generate the same API for the names with/without the cluster
# name at the beginning, so the name can just change here.
- StatusEnum
ContentLauncher:
- ContentLaunchStatusEnum
- MetricTypeEnum
Expand Down Expand Up @@ -3995,7 +4001,10 @@
LineupInfoTypeEnum:
- Mso
TargetNavigator:
TargetNavigatorStatusEnum:
# StatusEnum was originally named TargetNavigatorStatusEnum, but
# we generate the same API for the names with/without the cluster
# name at the beginning, so the name can just change here.
StatusEnum:
- Success
- TargetNotFound
- NotAllowed
Expand Down Expand Up @@ -4117,7 +4126,10 @@
- F4Yellow
- F5
- Data
KeypadInputStatusEnum:
# StatusEnum was originally named KeypadInputStatusEnum, but we
# generate the same API for the names with/without the cluster
# name at the beginning, so the name can just change here.
StatusEnum:
- Success
- UnsupportedKey
- InvalidKeyInCurrentState
Expand Down Expand Up @@ -7827,6 +7839,9 @@
- SupportedWiFiBands
- SupportedThreadFeatures
- ThreadVersion
WakeOnLAN:
# Targeting Spring 2024 Matter release
- LinkLocalAddress
commands:
GeneralDiagnostics:
# Targeting Spring 2024 Matter release
Expand Down
16 changes: 8 additions & 8 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.

0 comments on commit 1559746

Please sign in to comment.