Skip to content

Commit

Permalink
regen matter
Browse files Browse the repository at this point in the history
  • Loading branch information
jepenven-silabs committed May 24, 2023
1 parent 888d3ae commit cac18c3
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 35 deletions.
36 changes: 18 additions & 18 deletions examples/lighting-app/silabs/data_model/lighting-thread-app.matter
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ server cluster Identify = 3 {

/** Attributes and commands for group configuration and manipulation. */
server cluster Groups = 4 {
bitmap GroupsFeature : BITMAP32 {
bitmap Feature : BITMAP32 {
kGroupNames = 0x1;
}

Expand Down Expand Up @@ -145,12 +145,12 @@ server cluster OnOff = 6 {
kTogglePreviousOnOff = 2;
}

bitmap OnOffControl : BITMAP8 {
kAcceptOnlyWhenOn = 0x1;
bitmap Feature : BITMAP32 {
kLighting = 0x1;
}

bitmap OnOffFeature : BITMAP32 {
kLighting = 0x1;
bitmap OnOffControl : BITMAP8 {
kAcceptOnlyWhenOn = 0x1;
}

readonly attribute boolean onOff = 0;
Expand Down Expand Up @@ -196,7 +196,7 @@ server cluster LevelControl = 8 {
kDown = 1;
}

bitmap LevelControlFeature : BITMAP32 {
bitmap Feature : BITMAP32 {
kOnOff = 0x1;
kLighting = 0x2;
kFrequency = 0x4;
Expand Down Expand Up @@ -763,7 +763,7 @@ server cluster NetworkCommissioning = 49 {
k60g = 4;
}

bitmap NetworkCommissioningFeature : BITMAP32 {
bitmap Feature : BITMAP32 {
kWiFiNetworkInterface = 0x1;
kThreadNetworkInterface = 0x2;
kEthernetNetworkInterface = 0x4;
Expand Down Expand Up @@ -1020,7 +1020,7 @@ server cluster GeneralDiagnostics = 51 {

/** The Software Diagnostics Cluster provides a means to acquire standardized diagnostics metrics that MAY be used by a Node to assist a user or Administrative Node in diagnosing potential problems. */
server cluster SoftwareDiagnostics = 52 {
bitmap SoftwareDiagnosticsFeature : BITMAP32 {
bitmap Feature : BITMAP32 {
kWaterMarks = 0x1;
}

Expand Down Expand Up @@ -1076,7 +1076,7 @@ server cluster ThreadNetworkDiagnostics = 53 {
kLeader = 6;
}

bitmap ThreadNetworkDiagnosticsFeature : BITMAP32 {
bitmap Feature : BITMAP32 {
kPacketCounts = 0x1;
kErrorCounts = 0x2;
kMLECounts = 0x4;
Expand Down Expand Up @@ -1479,7 +1479,7 @@ server cluster UserLabel = 65 {

/** Allows servers to ensure that listed clients are notified when a server is available for communication. */
server cluster IcdManagement = 70 {
bitmap ICDManagementFeature : BITMAP32 {
bitmap Feature : BITMAP32 {
kCheckInProtocolSupport = 0x1;
}

Expand Down Expand Up @@ -1580,21 +1580,21 @@ server cluster ColorControl = 768 {
kColorTemperatureSupported = 0x10;
}

bitmap ColorControlFeature : BITMAP32 {
kHueAndSaturation = 0x1;
kEnhancedHue = 0x2;
kColorLoop = 0x4;
kXy = 0x8;
kColorTemperature = 0x10;
}

bitmap ColorLoopUpdateFlags : BITMAP8 {
kUpdateAction = 0x1;
kUpdateDirection = 0x2;
kUpdateTime = 0x4;
kUpdateStartHue = 0x8;
}

bitmap Feature : BITMAP32 {
kHueAndSaturation = 0x1;
kEnhancedHue = 0x2;
kColorLoop = 0x4;
kXy = 0x8;
kColorTemperature = 0x10;
}

readonly attribute int8u currentHue = 0;
readonly attribute int8u currentSaturation = 1;
readonly attribute int16u remainingTime = 2;
Expand Down
34 changes: 17 additions & 17 deletions examples/lighting-app/silabs/data_model/lighting-wifi-app.matter
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ server cluster Identify = 3 {

/** Attributes and commands for group configuration and manipulation. */
server cluster Groups = 4 {
bitmap GroupsFeature : BITMAP32 {
bitmap Feature : BITMAP32 {
kGroupNames = 0x1;
}

Expand Down Expand Up @@ -145,12 +145,12 @@ server cluster OnOff = 6 {
kTogglePreviousOnOff = 2;
}

bitmap OnOffControl : BITMAP8 {
kAcceptOnlyWhenOn = 0x1;
bitmap Feature : BITMAP32 {
kLighting = 0x1;
}

bitmap OnOffFeature : BITMAP32 {
kLighting = 0x1;
bitmap OnOffControl : BITMAP8 {
kAcceptOnlyWhenOn = 0x1;
}

readonly attribute boolean onOff = 0;
Expand Down Expand Up @@ -196,7 +196,7 @@ server cluster LevelControl = 8 {
kDown = 1;
}

bitmap LevelControlFeature : BITMAP32 {
bitmap Feature : BITMAP32 {
kOnOff = 0x1;
kLighting = 0x2;
kFrequency = 0x4;
Expand Down Expand Up @@ -763,7 +763,7 @@ server cluster NetworkCommissioning = 49 {
k60g = 4;
}

bitmap NetworkCommissioningFeature : BITMAP32 {
bitmap Feature : BITMAP32 {
kWiFiNetworkInterface = 0x1;
kThreadNetworkInterface = 0x2;
kEthernetNetworkInterface = 0x4;
Expand Down Expand Up @@ -1020,7 +1020,7 @@ server cluster GeneralDiagnostics = 51 {

/** The Software Diagnostics Cluster provides a means to acquire standardized diagnostics metrics that MAY be used by a Node to assist a user or Administrative Node in diagnosing potential problems. */
server cluster SoftwareDiagnostics = 52 {
bitmap SoftwareDiagnosticsFeature : BITMAP32 {
bitmap Feature : BITMAP32 {
kWaterMarks = 0x1;
}

Expand Down Expand Up @@ -1084,7 +1084,7 @@ server cluster WiFiNetworkDiagnostics = 54 {
kAx = 5;
}

bitmap WiFiNetworkDiagnosticsFeature : BITMAP32 {
bitmap Feature : BITMAP32 {
kPacketCounts = 0x1;
kErrorCounts = 0x2;
}
Expand Down Expand Up @@ -1443,21 +1443,21 @@ server cluster ColorControl = 768 {
kColorTemperatureSupported = 0x10;
}

bitmap ColorControlFeature : BITMAP32 {
kHueAndSaturation = 0x1;
kEnhancedHue = 0x2;
kColorLoop = 0x4;
kXy = 0x8;
kColorTemperature = 0x10;
}

bitmap ColorLoopUpdateFlags : BITMAP8 {
kUpdateAction = 0x1;
kUpdateDirection = 0x2;
kUpdateTime = 0x4;
kUpdateStartHue = 0x8;
}

bitmap Feature : BITMAP32 {
kHueAndSaturation = 0x1;
kEnhancedHue = 0x2;
kColorLoop = 0x4;
kXy = 0x8;
kColorTemperature = 0x10;
}

readonly attribute int8u currentHue = 0;
readonly attribute int8u currentSaturation = 1;
readonly attribute int16u remainingTime = 2;
Expand Down

0 comments on commit cac18c3

Please sign in to comment.