Skip to content

Commit

Permalink
Regenerate generated code.
Browse files Browse the repository at this point in the history
  • Loading branch information
bzbarsky-apple committed Sep 22, 2023
1 parent 790fc85 commit bf2045b
Show file tree
Hide file tree
Showing 55 changed files with 766 additions and 741 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -273,41 +273,41 @@ server cluster Scenes = 5 {

/** Attributes and commands for switching devices between 'On' and 'Off' states. */
client cluster OnOff = 6 {
enum OnOffDelayedAllOffEffectVariant : ENUM8 {
kFadeToOffIn0p8Seconds = 0;
enum DelayedAllOffEffectVariantEnum : ENUM8 {
kDelayedOffFastFade = 0;
kNoFade = 1;
k50PercentDimDownIn0p8SecondsThenFadeToOffIn12Seconds = 2;
kDelayedOffSlowFade = 2;
}

enum OnOffDyingLightEffectVariant : ENUM8 {
k20PercenterDimUpIn0p5SecondsThenFadeToOffIn1Second = 0;
enum DyingLightEffectVariantEnum : ENUM8 {
kDyingLightFadeOff = 0;
}

enum OnOffEffectIdentifier : ENUM8 {
enum EffectIdentifierEnum : ENUM8 {
kDelayedAllOff = 0;
kDyingLight = 1;
}

enum OnOffStartUpOnOff : ENUM8 {
enum StartUpOnOffEnum : ENUM8 {
kOff = 0;
kOn = 1;
kTogglePreviousOnOff = 2;
kToggle = 2;
}

bitmap Feature : BITMAP32 {
kLighting = 0x1;
kDeadFront = 0x2;
kDeadFrontBehavior = 0x2;
}

bitmap OnOffControl : BITMAP8 {
bitmap OnOffControlBitmap : BITMAP8 {
kAcceptOnlyWhenOn = 0x1;
}

readonly attribute boolean onOff = 0;
readonly attribute optional boolean globalSceneControl = 16384;
attribute optional int16u onTime = 16385;
attribute optional int16u offWaitTime = 16386;
attribute access(write: manage) optional nullable OnOffStartUpOnOff startUpOnOff = 16387;
attribute access(write: manage) optional nullable StartUpOnOffEnum startUpOnOff = 16387;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
Expand All @@ -316,12 +316,12 @@ client cluster OnOff = 6 {
readonly attribute int16u clusterRevision = 65533;

request struct OffWithEffectRequest {
OnOffEffectIdentifier effectIdentifier = 0;
EffectIdentifierEnum effectIdentifier = 0;
int8u effectVariant = 1;
}

request struct OnWithTimedOffRequest {
OnOffControl onOffControl = 0;
OnOffControlBitmap onOffControl = 0;
int16u onTime = 1;
int16u offWaitTime = 2;
}
Expand All @@ -342,41 +342,41 @@ client cluster OnOff = 6 {

/** Attributes and commands for switching devices between 'On' and 'Off' states. */
server cluster OnOff = 6 {
enum OnOffDelayedAllOffEffectVariant : ENUM8 {
kFadeToOffIn0p8Seconds = 0;
enum DelayedAllOffEffectVariantEnum : ENUM8 {
kDelayedOffFastFade = 0;
kNoFade = 1;
k50PercentDimDownIn0p8SecondsThenFadeToOffIn12Seconds = 2;
kDelayedOffSlowFade = 2;
}

enum OnOffDyingLightEffectVariant : ENUM8 {
k20PercenterDimUpIn0p5SecondsThenFadeToOffIn1Second = 0;
enum DyingLightEffectVariantEnum : ENUM8 {
kDyingLightFadeOff = 0;
}

enum OnOffEffectIdentifier : ENUM8 {
enum EffectIdentifierEnum : ENUM8 {
kDelayedAllOff = 0;
kDyingLight = 1;
}

enum OnOffStartUpOnOff : ENUM8 {
enum StartUpOnOffEnum : ENUM8 {
kOff = 0;
kOn = 1;
kTogglePreviousOnOff = 2;
kToggle = 2;
}

bitmap Feature : BITMAP32 {
kLighting = 0x1;
kDeadFront = 0x2;
kDeadFrontBehavior = 0x2;
}

bitmap OnOffControl : BITMAP8 {
bitmap OnOffControlBitmap : BITMAP8 {
kAcceptOnlyWhenOn = 0x1;
}

readonly attribute boolean onOff = 0;
readonly attribute boolean globalSceneControl = 16384;
attribute int16u onTime = 16385;
attribute int16u offWaitTime = 16386;
attribute access(write: manage) nullable OnOffStartUpOnOff startUpOnOff = 16387;
attribute access(write: manage) nullable StartUpOnOffEnum startUpOnOff = 16387;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
Expand All @@ -385,12 +385,12 @@ server cluster OnOff = 6 {
readonly attribute int16u clusterRevision = 65533;

request struct OffWithEffectRequest {
OnOffEffectIdentifier effectIdentifier = 0;
EffectIdentifierEnum effectIdentifier = 0;
int8u effectVariant = 1;
}

request struct OnWithTimedOffRequest {
OnOffControl onOffControl = 0;
OnOffControlBitmap onOffControl = 0;
int16u onTime = 1;
int16u offWaitTime = 2;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -273,41 +273,41 @@ server cluster Scenes = 5 {

/** Attributes and commands for switching devices between 'On' and 'Off' states. */
server cluster OnOff = 6 {
enum OnOffDelayedAllOffEffectVariant : ENUM8 {
kFadeToOffIn0p8Seconds = 0;
enum DelayedAllOffEffectVariantEnum : ENUM8 {
kDelayedOffFastFade = 0;
kNoFade = 1;
k50PercentDimDownIn0p8SecondsThenFadeToOffIn12Seconds = 2;
kDelayedOffSlowFade = 2;
}

enum OnOffDyingLightEffectVariant : ENUM8 {
k20PercenterDimUpIn0p5SecondsThenFadeToOffIn1Second = 0;
enum DyingLightEffectVariantEnum : ENUM8 {
kDyingLightFadeOff = 0;
}

enum OnOffEffectIdentifier : ENUM8 {
enum EffectIdentifierEnum : ENUM8 {
kDelayedAllOff = 0;
kDyingLight = 1;
}

enum OnOffStartUpOnOff : ENUM8 {
enum StartUpOnOffEnum : ENUM8 {
kOff = 0;
kOn = 1;
kTogglePreviousOnOff = 2;
kToggle = 2;
}

bitmap Feature : BITMAP32 {
kLighting = 0x1;
kDeadFront = 0x2;
kDeadFrontBehavior = 0x2;
}

bitmap OnOffControl : BITMAP8 {
bitmap OnOffControlBitmap : BITMAP8 {
kAcceptOnlyWhenOn = 0x1;
}

readonly attribute boolean onOff = 0;
readonly attribute boolean globalSceneControl = 16384;
attribute int16u onTime = 16385;
attribute int16u offWaitTime = 16386;
attribute access(write: manage) nullable OnOffStartUpOnOff startUpOnOff = 16387;
attribute access(write: manage) nullable StartUpOnOffEnum startUpOnOff = 16387;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
Expand All @@ -316,12 +316,12 @@ server cluster OnOff = 6 {
readonly attribute int16u clusterRevision = 65533;

request struct OffWithEffectRequest {
OnOffEffectIdentifier effectIdentifier = 0;
EffectIdentifierEnum effectIdentifier = 0;
int8u effectVariant = 1;
}

request struct OnWithTimedOffRequest {
OnOffControl onOffControl = 0;
OnOffControlBitmap onOffControl = 0;
int16u onTime = 1;
int16u offWaitTime = 2;
}
Expand Down
20 changes: 10 additions & 10 deletions examples/bridge-app/bridge-common/bridge-app.matter
Original file line number Diff line number Diff line change
Expand Up @@ -81,33 +81,33 @@ server cluster Identify = 3 {

/** Attributes and commands for switching devices between 'On' and 'Off' states. */
server cluster OnOff = 6 {
enum OnOffDelayedAllOffEffectVariant : ENUM8 {
kFadeToOffIn0p8Seconds = 0;
enum DelayedAllOffEffectVariantEnum : ENUM8 {
kDelayedOffFastFade = 0;
kNoFade = 1;
k50PercentDimDownIn0p8SecondsThenFadeToOffIn12Seconds = 2;
kDelayedOffSlowFade = 2;
}

enum OnOffDyingLightEffectVariant : ENUM8 {
k20PercenterDimUpIn0p5SecondsThenFadeToOffIn1Second = 0;
enum DyingLightEffectVariantEnum : ENUM8 {
kDyingLightFadeOff = 0;
}

enum OnOffEffectIdentifier : ENUM8 {
enum EffectIdentifierEnum : ENUM8 {
kDelayedAllOff = 0;
kDyingLight = 1;
}

enum OnOffStartUpOnOff : ENUM8 {
enum StartUpOnOffEnum : ENUM8 {
kOff = 0;
kOn = 1;
kTogglePreviousOnOff = 2;
kToggle = 2;
}

bitmap Feature : BITMAP32 {
kLighting = 0x1;
kDeadFront = 0x2;
kDeadFrontBehavior = 0x2;
}

bitmap OnOffControl : BITMAP8 {
bitmap OnOffControlBitmap : BITMAP8 {
kAcceptOnlyWhenOn = 0x1;
}

Expand Down
22 changes: 11 additions & 11 deletions examples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.matter
Original file line number Diff line number Diff line change
Expand Up @@ -144,41 +144,41 @@ server cluster Groups = 4 {

/** Attributes and commands for switching devices between 'On' and 'Off' states. */
server cluster OnOff = 6 {
enum OnOffDelayedAllOffEffectVariant : ENUM8 {
kFadeToOffIn0p8Seconds = 0;
enum DelayedAllOffEffectVariantEnum : ENUM8 {
kDelayedOffFastFade = 0;
kNoFade = 1;
k50PercentDimDownIn0p8SecondsThenFadeToOffIn12Seconds = 2;
kDelayedOffSlowFade = 2;
}

enum OnOffDyingLightEffectVariant : ENUM8 {
k20PercenterDimUpIn0p5SecondsThenFadeToOffIn1Second = 0;
enum DyingLightEffectVariantEnum : ENUM8 {
kDyingLightFadeOff = 0;
}

enum OnOffEffectIdentifier : ENUM8 {
enum EffectIdentifierEnum : ENUM8 {
kDelayedAllOff = 0;
kDyingLight = 1;
}

enum OnOffStartUpOnOff : ENUM8 {
enum StartUpOnOffEnum : ENUM8 {
kOff = 0;
kOn = 1;
kTogglePreviousOnOff = 2;
kToggle = 2;
}

bitmap Feature : BITMAP32 {
kLighting = 0x1;
kDeadFront = 0x2;
kDeadFrontBehavior = 0x2;
}

bitmap OnOffControl : BITMAP8 {
bitmap OnOffControlBitmap : BITMAP8 {
kAcceptOnlyWhenOn = 0x1;
}

readonly attribute boolean onOff = 0;
readonly attribute boolean globalSceneControl = 16384;
attribute int16u onTime = 16385;
attribute int16u offWaitTime = 16386;
attribute access(write: manage) nullable OnOffStartUpOnOff startUpOnOff = 16387;
attribute access(write: manage) nullable StartUpOnOffEnum startUpOnOff = 16387;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
Expand Down
20 changes: 10 additions & 10 deletions examples/chef/devices/rootnode_basicvideoplayer_0ff86e943b.matter
Original file line number Diff line number Diff line change
Expand Up @@ -35,33 +35,33 @@ struct OperationalStateStruct {

/** Attributes and commands for switching devices between 'On' and 'Off' states. */
server cluster OnOff = 6 {
enum OnOffDelayedAllOffEffectVariant : ENUM8 {
kFadeToOffIn0p8Seconds = 0;
enum DelayedAllOffEffectVariantEnum : ENUM8 {
kDelayedOffFastFade = 0;
kNoFade = 1;
k50PercentDimDownIn0p8SecondsThenFadeToOffIn12Seconds = 2;
kDelayedOffSlowFade = 2;
}

enum OnOffDyingLightEffectVariant : ENUM8 {
k20PercenterDimUpIn0p5SecondsThenFadeToOffIn1Second = 0;
enum DyingLightEffectVariantEnum : ENUM8 {
kDyingLightFadeOff = 0;
}

enum OnOffEffectIdentifier : ENUM8 {
enum EffectIdentifierEnum : ENUM8 {
kDelayedAllOff = 0;
kDyingLight = 1;
}

enum OnOffStartUpOnOff : ENUM8 {
enum StartUpOnOffEnum : ENUM8 {
kOff = 0;
kOn = 1;
kTogglePreviousOnOff = 2;
kToggle = 2;
}

bitmap Feature : BITMAP32 {
kLighting = 0x1;
kDeadFront = 0x2;
kDeadFrontBehavior = 0x2;
}

bitmap OnOffControl : BITMAP8 {
bitmap OnOffControlBitmap : BITMAP8 {
kAcceptOnlyWhenOn = 0x1;
}

Expand Down
Loading

0 comments on commit bf2045b

Please sign in to comment.