Skip to content

Commit

Permalink
Generated code.
Browse files Browse the repository at this point in the history
  • Loading branch information
krypton36 committed Mar 18, 2022
1 parent 458273c commit 810b774
Show file tree
Hide file tree
Showing 9 changed files with 1,233 additions and 70 deletions.
184 changes: 184 additions & 0 deletions examples/placeholder/linux/apps/app1/config.matter
Original file line number Diff line number Diff line change
Expand Up @@ -1009,6 +1009,56 @@ server cluster LevelControl = 8 {
command StopWithOnOff(): DefaultSuccess = 7;
}

client cluster ModeSelect = 80 {
struct ModeOptionStruct {
CHAR_STRING<32> label = 0;
INT8U mode = 1;
INT32U semanticTag = 2;
}

readonly attribute int8u currentMode = 0;
readonly attribute ModeOptionStruct supportedModes[] = 1;
attribute int8u onMode = 2;
readonly attribute int8u startUpMode = 3;
readonly attribute char_string<32> description = 4;
readonly global attribute command_id serverGeneratedCommandList[] = 65528;
readonly global attribute command_id clientGeneratedCommandList[] = 65529;
readonly global attribute attrib_id attributeList[] = 65531;
readonly global attribute bitmap32 featureMap = 65532;
readonly global attribute int16u clusterRevision = 65533;

request struct ChangeToModeRequest {
INT8U newMode = 0;
}

command ChangeToMode(ChangeToModeRequest): DefaultSuccess = 0;
}

server cluster ModeSelect = 80 {
struct ModeOptionStruct {
CHAR_STRING<32> label = 0;
INT8U mode = 1;
INT32U semanticTag = 2;
}

readonly attribute int8u currentMode = 0;
readonly attribute ModeOptionStruct supportedModes[] = 1;
attribute int8u onMode = 2;
readonly attribute int8u startUpMode = 3;
readonly attribute char_string<32> description = 4;
readonly global attribute command_id serverGeneratedCommandList[] = 65528;
readonly global attribute command_id clientGeneratedCommandList[] = 65529;
readonly global attribute attrib_id attributeList[] = 65531;
readonly global attribute bitmap32 featureMap = 65532;
readonly global attribute int16u clusterRevision = 65533;

request struct ChangeToModeRequest {
INT8U newMode = 0;
}

command ChangeToMode(ChangeToModeRequest): DefaultSuccess = 0;
}

server cluster NetworkCommissioning = 49 {
enum NetworkCommissioningStatus : ENUM8 {
kSuccess = 0;
Expand Down Expand Up @@ -1528,6 +1578,28 @@ server cluster PumpConfigurationAndControl = 512 {
readonly global attribute int16u clusterRevision = 65533;
}

client cluster RelativeHumidityMeasurement = 1029 {
readonly attribute int16u measuredValue = 0;
readonly attribute int16u minMeasuredValue = 1;
readonly attribute int16u maxMeasuredValue = 2;
readonly attribute int16u tolerance = 3;
readonly global attribute command_id serverGeneratedCommandList[] = 65528;
readonly global attribute command_id clientGeneratedCommandList[] = 65529;
readonly global attribute attrib_id attributeList[] = 65531;
readonly global attribute bitmap32 featureMap = 65532;
}

server cluster RelativeHumidityMeasurement = 1029 {
readonly attribute int16u measuredValue = 0;
readonly attribute int16u minMeasuredValue = 1;
readonly attribute int16u maxMeasuredValue = 2;
readonly attribute int16u tolerance = 3;
readonly global attribute command_id serverGeneratedCommandList[] = 65528;
readonly global attribute command_id clientGeneratedCommandList[] = 65529;
readonly global attribute attrib_id attributeList[] = 65531;
readonly global attribute bitmap32 featureMap = 65532;
}

server cluster Scenes = 5 {
bitmap ScenesCopyMode : BITMAP8 {
kCopyAllScenes = 0x1;
Expand Down Expand Up @@ -1632,6 +1704,88 @@ server cluster Scenes = 5 {
command ViewScene(ViewSceneRequest): ViewSceneResponse = 1;
}

client cluster Switch = 59 {
info event SwitchLatched = 0 {
INT8U newPosition = 0;
}

info event InitialPress = 1 {
INT8U newPosition = 0;
}

info event LongPress = 2 {
INT8U newPosition = 0;
}

info event ShortRelease = 3 {
INT8U previousPosition = 0;
}

info event LongRelease = 4 {
INT8U previousPosition = 0;
}

info event MultiPressOngoing = 5 {
INT8U newPosition = 0;
INT8U currentNumberOfPressesCounted = 1;
}

info event MultiPressComplete = 6 {
INT8U newPosition = 0;
INT8U totalNumberOfPressesCounted = 1;
}

readonly attribute int8u numberOfPositions = 0;
readonly attribute int8u currentPosition = 1;
readonly attribute int8u multiPressMax = 2;
readonly global attribute command_id serverGeneratedCommandList[] = 65528;
readonly global attribute command_id clientGeneratedCommandList[] = 65529;
readonly global attribute attrib_id attributeList[] = 65531;
readonly global attribute bitmap32 featureMap = 65532;
readonly global attribute int16u clusterRevision = 65533;
}

server cluster Switch = 59 {
info event SwitchLatched = 0 {
INT8U newPosition = 0;
}

info event InitialPress = 1 {
INT8U newPosition = 0;
}

info event LongPress = 2 {
INT8U newPosition = 0;
}

info event ShortRelease = 3 {
INT8U previousPosition = 0;
}

info event LongRelease = 4 {
INT8U previousPosition = 0;
}

info event MultiPressOngoing = 5 {
INT8U newPosition = 0;
INT8U currentNumberOfPressesCounted = 1;
}

info event MultiPressComplete = 6 {
INT8U newPosition = 0;
INT8U totalNumberOfPressesCounted = 1;
}

readonly attribute int8u numberOfPositions = 0;
readonly attribute int8u currentPosition = 1;
readonly attribute int8u multiPressMax = 2;
readonly global attribute command_id serverGeneratedCommandList[] = 65528;
readonly global attribute command_id clientGeneratedCommandList[] = 65529;
readonly global attribute attrib_id attributeList[] = 65531;
readonly global attribute bitmap32 featureMap = 65532;
readonly global attribute int16u clusterRevision = 65533;
}

client cluster TargetNavigator = 1285 {
enum StatusEnum : ENUM8 {
kSuccess = 0;
Expand Down Expand Up @@ -1787,6 +1941,28 @@ server cluster Thermostat = 513 {
readonly global attribute int16u clusterRevision = 65533;
}

client cluster ThermostatUserInterfaceConfiguration = 516 {
attribute enum8 temperatureDisplayMode = 0;
attribute enum8 keypadLockout = 1;
attribute enum8 scheduleProgrammingVisibility = 2;
readonly global attribute command_id serverGeneratedCommandList[] = 65528;
readonly global attribute command_id clientGeneratedCommandList[] = 65529;
readonly global attribute attrib_id attributeList[] = 65531;
readonly global attribute bitmap32 featureMap = 65532;
readonly global attribute int16u clusterRevision = 65533;
}

server cluster ThermostatUserInterfaceConfiguration = 516 {
attribute enum8 temperatureDisplayMode = 0;
attribute enum8 keypadLockout = 1;
attribute enum8 scheduleProgrammingVisibility = 2;
readonly global attribute command_id serverGeneratedCommandList[] = 65528;
readonly global attribute command_id clientGeneratedCommandList[] = 65529;
readonly global attribute attrib_id attributeList[] = 65531;
readonly global attribute bitmap32 featureMap = 65532;
readonly global attribute int16u clusterRevision = 65533;
}

server cluster WindowCovering = 258 {
bitmap WcConfigStatus : BITMAP8 {
kOperational = 0x1;
Expand Down Expand Up @@ -1895,17 +2071,25 @@ endpoint 0 {
server cluster GeneralDiagnostics;
binding cluster KeypadInput;
server cluster KeypadInput;
binding cluster ModeSelect;
server cluster ModeSelect;
server cluster NetworkCommissioning;
binding cluster OnOff;
server cluster OnOff;
binding cluster OperationalCredentials;
server cluster OperationalCredentials;
server cluster PumpConfigurationAndControl;
binding cluster RelativeHumidityMeasurement;
server cluster RelativeHumidityMeasurement;
binding cluster Switch;
server cluster Switch;
binding cluster TargetNavigator;
server cluster TargetNavigator;
binding cluster TemperatureMeasurement;
server cluster TemperatureMeasurement;
server cluster Thermostat;
binding cluster ThermostatUserInterfaceConfiguration;
server cluster ThermostatUserInterfaceConfiguration;
server cluster WindowCovering;
}

Expand Down
59 changes: 59 additions & 0 deletions zzz_generated/placeholder/app1/zap-generated/CHIPClientCallbacks.h

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

28 changes: 28 additions & 0 deletions zzz_generated/placeholder/app1/zap-generated/CHIPClusters.h

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

Loading

0 comments on commit 810b774

Please sign in to comment.