Skip to content

Commit

Permalink
Update availability annotations for Identify cluster changes. (#26903)
Browse files Browse the repository at this point in the history
Changes happened in #26738.
  • Loading branch information
bzbarsky-apple authored May 29, 2023
1 parent 7650e78 commit 3fdc99c
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 20 deletions.
37 changes: 31 additions & 6 deletions src/darwin/Framework/CHIP/templates/availability.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3045,9 +3045,15 @@
- fabricIndex
enums:
Identify:
- IdentifyEffectIdentifier
- IdentifyEffectVariant
- IdentifyIdentifyType
# EffectIdentifierEnum, EffectVariantEnum, and IdentifyTypeEnum
# were originally named IdentifyEffectIdentifier,
# IdentifyEffectVariant, and IdentifyIdentifyType, but we generate
# the same API for the names with/without "Enum" at the end, and
# with/without the cluster name at the beginning, so the name can
# just change here.
- EffectIdentifierEnum
- EffectVariantEnum
- IdentifyTypeEnum
OnOff:
- OnOffDelayedAllOffEffectVariant
- OnOffDyingLightEffectVariant
Expand Down Expand Up @@ -3237,16 +3243,22 @@
- FaultType
enum values:
Identify:
IdentifyEffectIdentifier:
# EffectIdentifierEnum, EffectVariantEnum, and IdentifyTypeEnum
# were originally named IdentifyEffectIdentifier,
# IdentifyEffectVariant, and IdentifyIdentifyType, but we generate
# the same API for the names with/without "Enum" at the end, and
# with/without the cluster name at the beginning, so the name can
# just change here.
EffectIdentifierEnum:
- Blink
- Breathe
- Okay
- ChannelChange
- FinishEffect
- StopEffect
IdentifyEffectVariant:
EffectVariantEnum:
- Default
IdentifyIdentifyType:
IdentifyTypeEnum:
- None
- VisibleLight
- VisibleLED
Expand Down Expand Up @@ -7721,6 +7733,10 @@
WiFiNetworkDiagnostics:
WiFiVersionEnum:
- Ah
Identify:
IdentifyTypeEnum:
- LightOutput
- VisibleIndicator
bitmaps:
AirQuality:
- Feature
Expand Down Expand Up @@ -7871,6 +7887,11 @@
# We apparently forgot to deprecate BridgedDeviceBasic when we
# introduced BridgedDeviceBasicInformation.
- BridgedDeviceBasic
enum values:
Identify:
IdentifyTypeEnum:
- VisibleLight
- VisibleLED
structs:
AccessControl:
- Target
Expand Down Expand Up @@ -7908,6 +7929,10 @@
MixedNTPNTS: MixedNtpNts
PTP: Ptp
GNSS: Gnss
Identify:
IdentifyTypeEnum:
LightOutput: VisibleLight
VisibleIndicator: VisibleLED
bitmaps:
Groups:
Feature: GroupClusterFeature
Expand Down
34 changes: 20 additions & 14 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 3fdc99c

Please sign in to comment.