From 478704217f6c61465ffcd61c2001881bbbc63578 Mon Sep 17 00:00:00 2001 From: C Freeman Date: Tue, 17 Oct 2023 09:26:30 -0400 Subject: [PATCH] Remove media clusters from all-clusters-app (#29801) * Remove media clusters from all-clusters-app Both QA and the CI are using the TV app for all testing of the media clusters. The all-clusters versions are not well tested and have conformance issues. Removing these in all-clusters in favour of the TV app. * Remove media servers from esp32 --- .../all-clusters-app.matter | 562 ------------ .../all-clusters-common/all-clusters-app.zap | 868 +----------------- .../esp32/main/CMakeLists.txt | 10 - 3 files changed, 5 insertions(+), 1435 deletions(-) diff --git a/examples/all-clusters-app/all-clusters-common/all-clusters-app.matter b/examples/all-clusters-app/all-clusters-common/all-clusters-app.matter index 928c49a98a9056..efd0d098cb872d 100644 --- a/examples/all-clusters-app/all-clusters-common/all-clusters-app.matter +++ b/examples/all-clusters-app/all-clusters-common/all-clusters-app.matter @@ -5276,176 +5276,6 @@ server cluster WakeOnLan = 1283 { readonly attribute int16u clusterRevision = 65533; } -/** This cluster provides an interface for controlling the current Channel on a device. */ -server cluster Channel = 1284 { - enum ChannelStatusEnum : ENUM8 { - kSuccess = 0; - kMultipleMatches = 1; - kNoMatches = 2; - } - - enum LineupInfoTypeEnum : ENUM8 { - kMSO = 0; - } - - bitmap Feature : BITMAP32 { - kChannelList = 0x1; - kLineupInfo = 0x2; - } - - struct ChannelInfoStruct { - int16u majorNumber = 0; - int16u minorNumber = 1; - optional char_string name = 2; - optional char_string callSign = 3; - optional char_string affiliateCallSign = 4; - } - - struct LineupInfoStruct { - char_string operatorName = 0; - optional char_string lineupName = 1; - optional char_string postalCode = 2; - LineupInfoTypeEnum lineupInfoType = 3; - } - - readonly attribute ChannelInfoStruct channelList[] = 0; - readonly attribute command_id generatedCommandList[] = 65528; - readonly attribute command_id acceptedCommandList[] = 65529; - readonly attribute event_id eventList[] = 65530; - readonly attribute attrib_id attributeList[] = 65531; - readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; -} - -/** This cluster provides an interface for UX navigation within a set of targets on a device or endpoint. */ -server cluster TargetNavigator = 1285 { - enum TargetNavigatorStatusEnum : ENUM8 { - kSuccess = 0; - kTargetNotFound = 1; - kNotAllowed = 2; - } - - struct TargetInfoStruct { - int8u identifier = 0; - char_string<32> name = 1; - } - - readonly attribute TargetInfoStruct targetList[] = 0; - readonly attribute int8u currentTarget = 1; - readonly attribute command_id generatedCommandList[] = 65528; - readonly attribute command_id acceptedCommandList[] = 65529; - readonly attribute event_id eventList[] = 65530; - readonly attribute attrib_id attributeList[] = 65531; - readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; - - request struct NavigateTargetRequest { - int8u target = 0; - optional char_string data = 1; - } - - response struct NavigateTargetResponse = 1 { - TargetNavigatorStatusEnum status = 0; - optional char_string data = 1; - } - - command NavigateTarget(NavigateTargetRequest): NavigateTargetResponse = 0; -} - -/** This cluster provides an interface for controlling Media Playback (PLAY, PAUSE, etc) on a media device such as a TV or Speaker. */ -server cluster MediaPlayback = 1286 { - enum MediaPlaybackStatusEnum : ENUM8 { - kSuccess = 0; - kInvalidStateForCommand = 1; - kNotAllowed = 2; - kNotActive = 3; - kSpeedOutOfRange = 4; - kSeekOutOfRange = 5; - } - - enum PlaybackStateEnum : ENUM8 { - kPlaying = 0; - kPaused = 1; - kNotPlaying = 2; - kBuffering = 3; - } - - bitmap Feature : BITMAP32 { - kAdvancedSeek = 0x1; - kVariableSpeed = 0x2; - } - - struct PlaybackPositionStruct { - epoch_us updatedAt = 0; - nullable int64u position = 1; - } - - readonly attribute PlaybackStateEnum currentState = 0; - readonly attribute nullable epoch_us startTime = 1; - readonly attribute nullable int64u duration = 2; - readonly attribute single playbackSpeed = 4; - readonly attribute nullable int64u seekRangeEnd = 5; - readonly attribute nullable int64u seekRangeStart = 6; - readonly attribute command_id generatedCommandList[] = 65528; - readonly attribute command_id acceptedCommandList[] = 65529; - readonly attribute event_id eventList[] = 65530; - readonly attribute attrib_id attributeList[] = 65531; - readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; -} - -/** This cluster provides an interface for controlling the Input Selector on a media device such as a TV. */ -server cluster MediaInput = 1287 { - enum InputTypeEnum : ENUM8 { - kInternal = 0; - kAux = 1; - kCoax = 2; - kComposite = 3; - kHDMI = 4; - kInput = 5; - kLine = 6; - kOptical = 7; - kVideo = 8; - kSCART = 9; - kUSB = 10; - kOther = 11; - } - - bitmap Feature : BITMAP32 { - kNameUpdates = 0x1; - } - - struct InputInfoStruct { - int8u index = 0; - InputTypeEnum inputType = 1; - char_string<32> name = 2; - char_string<32> description = 3; - } - - readonly attribute InputInfoStruct inputList[] = 0; - readonly attribute int8u currentInput = 1; - readonly attribute command_id generatedCommandList[] = 65528; - readonly attribute command_id acceptedCommandList[] = 65529; - readonly attribute event_id eventList[] = 65530; - readonly attribute attrib_id attributeList[] = 65531; - readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; - - request struct SelectInputRequest { - int8u index = 0; - } - - request struct RenameInputRequest { - int8u index = 0; - char_string name = 1; - } - - command SelectInput(SelectInputRequest): DefaultSuccess = 0; - command ShowInputStatus(): DefaultSuccess = 1; - command HideInputStatus(): DefaultSuccess = 2; - command RenameInput(RenameInputRequest): DefaultSuccess = 3; -} - /** This cluster provides an interface for managing low power mode on a device. */ server cluster LowPower = 1288 { readonly attribute command_id generatedCommandList[] = 65528; @@ -5458,314 +5288,6 @@ server cluster LowPower = 1288 { command Sleep(): DefaultSuccess = 0; } -/** This cluster provides an interface for controlling a device like a TV using action commands such as UP, DOWN, and SELECT. */ -server cluster KeypadInput = 1289 { - enum CecKeyCode : ENUM8 { - kSelect = 0; - kUp = 1; - kDown = 2; - kLeft = 3; - kRight = 4; - kRightUp = 5; - kRightDown = 6; - kLeftUp = 7; - kLeftDown = 8; - kRootMenu = 9; - kSetupMenu = 10; - kContentsMenu = 11; - kFavoriteMenu = 12; - kExit = 13; - kMediaTopMenu = 16; - kMediaContextSensitiveMenu = 17; - kNumberEntryMode = 29; - kNumber11 = 30; - kNumber12 = 31; - kNumber0OrNumber10 = 32; - kNumbers1 = 33; - kNumbers2 = 34; - kNumbers3 = 35; - kNumbers4 = 36; - kNumbers5 = 37; - kNumbers6 = 38; - kNumbers7 = 39; - kNumbers8 = 40; - kNumbers9 = 41; - kDot = 42; - kEnter = 43; - kClear = 44; - kNextFavorite = 47; - kChannelUp = 48; - kChannelDown = 49; - kPreviousChannel = 50; - kSoundSelect = 51; - kInputSelect = 52; - kDisplayInformation = 53; - kHelp = 54; - kPageUp = 55; - kPageDown = 56; - kPower = 64; - kVolumeUp = 65; - kVolumeDown = 66; - kMute = 67; - kPlay = 68; - kStop = 69; - kPause = 70; - kRecord = 71; - kRewind = 72; - kFastForward = 73; - kEject = 74; - kForward = 75; - kBackward = 76; - kStopRecord = 77; - kPauseRecord = 78; - kReserved = 79; - kAngle = 80; - kSubPicture = 81; - kVideoOnDemand = 82; - kElectronicProgramGuide = 83; - kTimerProgramming = 84; - kInitialConfiguration = 85; - kSelectBroadcastType = 86; - kSelectSoundPresentation = 87; - kPlayFunction = 96; - kPausePlayFunction = 97; - kRecordFunction = 98; - kPauseRecordFunction = 99; - kStopFunction = 100; - kMuteFunction = 101; - kRestoreVolumeFunction = 102; - kTuneFunction = 103; - kSelectMediaFunction = 104; - kSelectAvInputFunction = 105; - kSelectAudioInputFunction = 106; - kPowerToggleFunction = 107; - kPowerOffFunction = 108; - kPowerOnFunction = 109; - kF1Blue = 113; - kF2Red = 114; - kF3Green = 115; - kF4Yellow = 116; - kF5 = 117; - kData = 118; - } - - enum KeypadInputStatusEnum : ENUM8 { - kSuccess = 0; - kUnsupportedKey = 1; - kInvalidKeyInCurrentState = 2; - } - - bitmap Feature : BITMAP32 { - kNavigationKeyCodes = 0x1; - kLocationKeys = 0x2; - kNumberKeys = 0x4; - } - - readonly attribute command_id generatedCommandList[] = 65528; - readonly attribute command_id acceptedCommandList[] = 65529; - readonly attribute event_id eventList[] = 65530; - readonly attribute attrib_id attributeList[] = 65531; - readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; - - request struct SendKeyRequest { - CecKeyCode keyCode = 0; - } - - response struct SendKeyResponse = 1 { - KeypadInputStatusEnum status = 0; - } - - command SendKey(SendKeyRequest): SendKeyResponse = 0; -} - -/** This cluster provides an interface for launching content on a media player device such as a TV or Speaker. */ -server cluster ContentLauncher = 1290 { - enum ContentLaunchStatusEnum : ENUM8 { - kSuccess = 0; - kUrlNotAvailable = 1; - kAuthFailed = 2; - } - - enum MetricTypeEnum : ENUM8 { - kPixels = 0; - kPercentage = 1; - } - - enum ParameterEnum : ENUM8 { - kActor = 0; - kChannel = 1; - kCharacter = 2; - kDirector = 3; - kEvent = 4; - kFranchise = 5; - kGenre = 6; - kLeague = 7; - kPopularity = 8; - kProvider = 9; - kSport = 10; - kSportsTeam = 11; - kType = 12; - kVideo = 13; - } - - bitmap Feature : BITMAP32 { - kContentSearch = 0x1; - kURLPlayback = 0x2; - } - - bitmap SupportedStreamingProtocol : BITMAP32 { - kDASH = 0x1; - kHLS = 0x2; - } - - struct DimensionStruct { - double width = 0; - double height = 1; - MetricTypeEnum metric = 2; - } - - struct AdditionalInfoStruct { - char_string name = 0; - char_string value = 1; - } - - struct ParameterStruct { - ParameterEnum type = 0; - char_string value = 1; - optional AdditionalInfoStruct externalIDList[] = 2; - } - - struct ContentSearchStruct { - ParameterStruct parameterList[] = 0; - } - - struct StyleInformationStruct { - optional char_string imageURL = 0; - optional char_string color = 1; - optional DimensionStruct size = 2; - } - - struct BrandingInformationStruct { - char_string providerName = 0; - optional StyleInformationStruct background = 1; - optional StyleInformationStruct logo = 2; - optional StyleInformationStruct progressBar = 3; - optional StyleInformationStruct splash = 4; - optional StyleInformationStruct waterMark = 5; - } - - readonly attribute char_string acceptHeader[] = 0; - attribute bitmap32 supportedStreamingProtocols = 1; - readonly attribute command_id generatedCommandList[] = 65528; - readonly attribute command_id acceptedCommandList[] = 65529; - readonly attribute event_id eventList[] = 65530; - readonly attribute attrib_id attributeList[] = 65531; - readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; -} - -/** This cluster provides an interface for controlling the Output on a media device such as a TV. */ -server cluster AudioOutput = 1291 { - enum OutputTypeEnum : ENUM8 { - kHDMI = 0; - kBT = 1; - kOptical = 2; - kHeadphone = 3; - kInternal = 4; - kOther = 5; - } - - bitmap Feature : BITMAP32 { - kNameUpdates = 0x1; - } - - struct OutputInfoStruct { - int8u index = 0; - OutputTypeEnum outputType = 1; - char_string<32> name = 2; - } - - readonly attribute OutputInfoStruct outputList[] = 0; - readonly attribute int8u currentOutput = 1; - readonly attribute command_id generatedCommandList[] = 65528; - readonly attribute command_id acceptedCommandList[] = 65529; - readonly attribute event_id eventList[] = 65530; - readonly attribute attrib_id attributeList[] = 65531; - readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; -} - -/** This cluster provides an interface for launching content on a media player device such as a TV or Speaker. */ -server cluster ApplicationLauncher = 1292 { - enum ApplicationLauncherStatusEnum : ENUM8 { - kSuccess = 0; - kAppNotAvailable = 1; - kSystemBusy = 2; - } - - bitmap Feature : BITMAP32 { - kApplicationPlatform = 0x1; - } - - struct ApplicationStruct { - int16u catalogVendorID = 0; - char_string applicationID = 1; - } - - struct ApplicationEPStruct { - ApplicationStruct application = 0; - optional endpoint_no endpoint = 1; - } - - readonly attribute int16u catalogList[] = 0; - readonly attribute command_id generatedCommandList[] = 65528; - readonly attribute command_id acceptedCommandList[] = 65529; - readonly attribute event_id eventList[] = 65530; - readonly attribute attrib_id attributeList[] = 65531; - readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; -} - -/** This cluster provides information about an application running on a TV or media player device which is represented as an endpoint. */ -server cluster ApplicationBasic = 1293 { - enum ApplicationStatusEnum : ENUM8 { - kStopped = 0; - kActiveVisibleFocus = 1; - kActiveHidden = 2; - kActiveVisibleNotFocus = 3; - } - - struct ApplicationStruct { - int16u catalogVendorID = 0; - char_string applicationID = 1; - } - - readonly attribute char_string<32> vendorName = 0; - readonly attribute vendor_id vendorID = 1; - readonly attribute char_string<32> applicationName = 2; - readonly attribute int16u productID = 3; - readonly attribute ApplicationStatusEnum status = 5; - readonly attribute char_string<32> applicationVersion = 6; - readonly attribute vendor_id allowedVendorList[] = 7; - readonly attribute command_id generatedCommandList[] = 65528; - readonly attribute command_id acceptedCommandList[] = 65529; - readonly attribute event_id eventList[] = 65530; - readonly attribute attrib_id attributeList[] = 65531; - readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; -} - -/** This cluster provides commands that facilitate user account login on a Content App or a node. For example, a Content App running on a Video Player device, which is represented as an endpoint (see [TV Architecture]), can use this cluster to help make the user account on the Content App match the user account on the Client. */ -server cluster AccountLogin = 1294 { - readonly attribute command_id generatedCommandList[] = 65528; - readonly attribute command_id acceptedCommandList[] = 65529; - readonly attribute event_id eventList[] = 65530; - readonly attribute attrib_id attributeList[] = 65531; - readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; -} - /** Attributes related to the electrical properties of a device. This cluster is used by power outlets and other devices that need to provide instantaneous data as opposed to metrology data which should be retrieved from the metering cluster.. */ server cluster ElectricalMeasurement = 2820 { readonly attribute bitmap32 measurementType = 0; @@ -7666,45 +7188,6 @@ endpoint 1 { ram attribute clusterRevision default = 1; } - server cluster Channel { - callback attribute channelList; - ram attribute featureMap default = 0; - ram attribute clusterRevision default = 1; - } - - server cluster TargetNavigator { - callback attribute targetList; - ram attribute currentTarget default = 0x00; - ram attribute featureMap default = 0; - ram attribute clusterRevision default = 1; - - handle command NavigateTarget; - handle command NavigateTargetResponse; - } - - server cluster MediaPlayback { - ram attribute currentState default = 0x00; - ram attribute startTime default = 0xFF; - ram attribute duration; - ram attribute playbackSpeed; - ram attribute seekRangeEnd; - ram attribute seekRangeStart; - ram attribute featureMap default = 0; - ram attribute clusterRevision default = 1; - } - - server cluster MediaInput { - callback attribute inputList; - ram attribute currentInput default = 0x00; - ram attribute featureMap default = 0; - ram attribute clusterRevision default = 1; - - handle command SelectInput; - handle command ShowInputStatus; - handle command HideInputStatus; - handle command RenameInput; - } - server cluster LowPower { ram attribute featureMap default = 0; ram attribute clusterRevision default = 1; @@ -7712,51 +7195,6 @@ endpoint 1 { handle command Sleep; } - server cluster KeypadInput { - ram attribute featureMap default = 0; - ram attribute clusterRevision default = 1; - - handle command SendKey; - handle command SendKeyResponse; - } - - server cluster ContentLauncher { - callback attribute acceptHeader; - ram attribute supportedStreamingProtocols; - ram attribute featureMap default = 0; - ram attribute clusterRevision default = 1; - } - - server cluster AudioOutput { - callback attribute outputList; - ram attribute currentOutput default = 0x00; - ram attribute featureMap default = 0; - ram attribute clusterRevision default = 1; - } - - server cluster ApplicationLauncher { - callback attribute catalogList; - ram attribute featureMap default = 0; - ram attribute clusterRevision default = 1; - } - - server cluster ApplicationBasic { - ram attribute vendorName; - ram attribute vendorID; - ram attribute applicationName; - ram attribute productID; - ram attribute status; - ram attribute applicationVersion; - callback attribute allowedVendorList; - ram attribute featureMap default = 0; - ram attribute clusterRevision default = 1; - } - - server cluster AccountLogin { - ram attribute featureMap default = 0; - ram attribute clusterRevision default = 1; - } - server cluster ElectricalMeasurement { ram attribute measurementType default = 0x000000; ram attribute totalActivePower default = 0x000000; diff --git a/examples/all-clusters-app/all-clusters-common/all-clusters-app.zap b/examples/all-clusters-app/all-clusters-common/all-clusters-app.zap index cb23f5ed0a34f7..b05a00644b10fc 100644 --- a/examples/all-clusters-app/all-clusters-common/all-clusters-app.zap +++ b/examples/all-clusters-app/all-clusters-common/all-clusters-app.zap @@ -18706,880 +18706,22 @@ ] }, { - "name": "Channel", - "code": 1284, - "mfgCode": null, - "define": "CHANNEL_CLUSTER", - "side": "server", - "enabled": 1, - "attributes": [ - { - "name": "ChannelList", - "code": 0, - "mfgCode": null, - "side": "server", - "type": "array", - "included": 1, - "storageOption": "External", - "singleton": 0, - "bounded": 0, - "defaultValue": "", - "reportable": 1, - "minInterval": 0, - "maxInterval": 65344, - "reportableChange": 0 - }, - { - "name": "FeatureMap", - "code": 65532, - "mfgCode": null, - "side": "server", - "type": "bitmap32", - "included": 1, - "storageOption": "RAM", - "singleton": 0, - "bounded": 0, - "defaultValue": "0", - "reportable": 1, - "minInterval": 1, - "maxInterval": 65534, - "reportableChange": 0 - }, - { - "name": "ClusterRevision", - "code": 65533, - "mfgCode": null, - "side": "server", - "type": "int16u", - "included": 1, - "storageOption": "RAM", - "singleton": 0, - "bounded": 0, - "defaultValue": "1", - "reportable": 1, - "minInterval": 0, - "maxInterval": 65344, - "reportableChange": 0 - } - ] - }, - { - "name": "Target Navigator", - "code": 1285, + "name": "Low Power", + "code": 1288, "mfgCode": null, - "define": "TARGET_NAVIGATOR_CLUSTER", + "define": "LOW_POWER_CLUSTER", "side": "server", "enabled": 1, "commands": [ { - "name": "NavigateTarget", + "name": "Sleep", "code": 0, "mfgCode": null, "source": "client", "isIncoming": 1, "isEnabled": 1 - }, - { - "name": "NavigateTargetResponse", - "code": 1, - "mfgCode": null, - "source": "server", - "isIncoming": 0, - "isEnabled": 1 } ], - "attributes": [ - { - "name": "TargetList", - "code": 0, - "mfgCode": null, - "side": "server", - "type": "array", - "included": 1, - "storageOption": "External", - "singleton": 0, - "bounded": 0, - "defaultValue": "", - "reportable": 1, - "minInterval": 0, - "maxInterval": 65344, - "reportableChange": 0 - }, - { - "name": "CurrentTarget", - "code": 1, - "mfgCode": null, - "side": "server", - "type": "int8u", - "included": 1, - "storageOption": "RAM", - "singleton": 0, - "bounded": 0, - "defaultValue": "0x00", - "reportable": 1, - "minInterval": 1, - "maxInterval": 65534, - "reportableChange": 0 - }, - { - "name": "FeatureMap", - "code": 65532, - "mfgCode": null, - "side": "server", - "type": "bitmap32", - "included": 1, - "storageOption": "RAM", - "singleton": 0, - "bounded": 0, - "defaultValue": "0", - "reportable": 1, - "minInterval": 1, - "maxInterval": 65534, - "reportableChange": 0 - }, - { - "name": "ClusterRevision", - "code": 65533, - "mfgCode": null, - "side": "server", - "type": "int16u", - "included": 1, - "storageOption": "RAM", - "singleton": 0, - "bounded": 0, - "defaultValue": "1", - "reportable": 1, - "minInterval": 0, - "maxInterval": 65344, - "reportableChange": 0 - } - ] - }, - { - "name": "Media Playback", - "code": 1286, - "mfgCode": null, - "define": "MEDIA_PLAYBACK_CLUSTER", - "side": "server", - "enabled": 1, - "attributes": [ - { - "name": "CurrentState", - "code": 0, - "mfgCode": null, - "side": "server", - "type": "PlaybackStateEnum", - "included": 1, - "storageOption": "RAM", - "singleton": 0, - "bounded": 0, - "defaultValue": "0x00", - "reportable": 1, - "minInterval": 1, - "maxInterval": 65534, - "reportableChange": 0 - }, - { - "name": "StartTime", - "code": 1, - "mfgCode": null, - "side": "server", - "type": "epoch_us", - "included": 1, - "storageOption": "RAM", - "singleton": 0, - "bounded": 0, - "defaultValue": "0xFF", - "reportable": 1, - "minInterval": 1, - "maxInterval": 65534, - "reportableChange": 0 - }, - { - "name": "Duration", - "code": 2, - "mfgCode": null, - "side": "server", - "type": "int64u", - "included": 1, - "storageOption": "RAM", - "singleton": 0, - "bounded": 0, - "defaultValue": "", - "reportable": 1, - "minInterval": 1, - "maxInterval": 65534, - "reportableChange": 0 - }, - { - "name": "PlaybackSpeed", - "code": 4, - "mfgCode": null, - "side": "server", - "type": "single", - "included": 1, - "storageOption": "RAM", - "singleton": 0, - "bounded": 0, - "defaultValue": "", - "reportable": 1, - "minInterval": 1, - "maxInterval": 65534, - "reportableChange": 0 - }, - { - "name": "SeekRangeEnd", - "code": 5, - "mfgCode": null, - "side": "server", - "type": "int64u", - "included": 1, - "storageOption": "RAM", - "singleton": 0, - "bounded": 0, - "defaultValue": "", - "reportable": 1, - "minInterval": 1, - "maxInterval": 65534, - "reportableChange": 0 - }, - { - "name": "SeekRangeStart", - "code": 6, - "mfgCode": null, - "side": "server", - "type": "int64u", - "included": 1, - "storageOption": "RAM", - "singleton": 0, - "bounded": 0, - "defaultValue": "", - "reportable": 1, - "minInterval": 1, - "maxInterval": 65534, - "reportableChange": 0 - }, - { - "name": "FeatureMap", - "code": 65532, - "mfgCode": null, - "side": "server", - "type": "bitmap32", - "included": 1, - "storageOption": "RAM", - "singleton": 0, - "bounded": 0, - "defaultValue": "0", - "reportable": 1, - "minInterval": 1, - "maxInterval": 65534, - "reportableChange": 0 - }, - { - "name": "ClusterRevision", - "code": 65533, - "mfgCode": null, - "side": "server", - "type": "int16u", - "included": 1, - "storageOption": "RAM", - "singleton": 0, - "bounded": 0, - "defaultValue": "1", - "reportable": 1, - "minInterval": 0, - "maxInterval": 65344, - "reportableChange": 0 - } - ] - }, - { - "name": "Media Input", - "code": 1287, - "mfgCode": null, - "define": "MEDIA_INPUT_CLUSTER", - "side": "server", - "enabled": 1, - "commands": [ - { - "name": "SelectInput", - "code": 0, - "mfgCode": null, - "source": "client", - "isIncoming": 1, - "isEnabled": 1 - }, - { - "name": "ShowInputStatus", - "code": 1, - "mfgCode": null, - "source": "client", - "isIncoming": 1, - "isEnabled": 1 - }, - { - "name": "HideInputStatus", - "code": 2, - "mfgCode": null, - "source": "client", - "isIncoming": 1, - "isEnabled": 1 - }, - { - "name": "RenameInput", - "code": 3, - "mfgCode": null, - "source": "client", - "isIncoming": 1, - "isEnabled": 1 - } - ], - "attributes": [ - { - "name": "InputList", - "code": 0, - "mfgCode": null, - "side": "server", - "type": "array", - "included": 1, - "storageOption": "External", - "singleton": 0, - "bounded": 0, - "defaultValue": "", - "reportable": 1, - "minInterval": 0, - "maxInterval": 65344, - "reportableChange": 0 - }, - { - "name": "CurrentInput", - "code": 1, - "mfgCode": null, - "side": "server", - "type": "int8u", - "included": 1, - "storageOption": "RAM", - "singleton": 0, - "bounded": 0, - "defaultValue": "0x00", - "reportable": 1, - "minInterval": 0, - "maxInterval": 65344, - "reportableChange": 0 - }, - { - "name": "FeatureMap", - "code": 65532, - "mfgCode": null, - "side": "server", - "type": "bitmap32", - "included": 1, - "storageOption": "RAM", - "singleton": 0, - "bounded": 0, - "defaultValue": "0", - "reportable": 1, - "minInterval": 1, - "maxInterval": 65534, - "reportableChange": 0 - }, - { - "name": "ClusterRevision", - "code": 65533, - "mfgCode": null, - "side": "server", - "type": "int16u", - "included": 1, - "storageOption": "RAM", - "singleton": 0, - "bounded": 0, - "defaultValue": "1", - "reportable": 1, - "minInterval": 0, - "maxInterval": 65344, - "reportableChange": 0 - } - ] - }, - { - "name": "Low Power", - "code": 1288, - "mfgCode": null, - "define": "LOW_POWER_CLUSTER", - "side": "server", - "enabled": 1, - "commands": [ - { - "name": "Sleep", - "code": 0, - "mfgCode": null, - "source": "client", - "isIncoming": 1, - "isEnabled": 1 - } - ], - "attributes": [ - { - "name": "FeatureMap", - "code": 65532, - "mfgCode": null, - "side": "server", - "type": "bitmap32", - "included": 1, - "storageOption": "RAM", - "singleton": 0, - "bounded": 0, - "defaultValue": "0", - "reportable": 1, - "minInterval": 1, - "maxInterval": 65534, - "reportableChange": 0 - }, - { - "name": "ClusterRevision", - "code": 65533, - "mfgCode": null, - "side": "server", - "type": "int16u", - "included": 1, - "storageOption": "RAM", - "singleton": 0, - "bounded": 0, - "defaultValue": "1", - "reportable": 1, - "minInterval": 0, - "maxInterval": 65344, - "reportableChange": 0 - } - ] - }, - { - "name": "Keypad Input", - "code": 1289, - "mfgCode": null, - "define": "KEYPAD_INPUT_CLUSTER", - "side": "server", - "enabled": 1, - "commands": [ - { - "name": "SendKey", - "code": 0, - "mfgCode": null, - "source": "client", - "isIncoming": 1, - "isEnabled": 1 - }, - { - "name": "SendKeyResponse", - "code": 1, - "mfgCode": null, - "source": "server", - "isIncoming": 0, - "isEnabled": 1 - } - ], - "attributes": [ - { - "name": "FeatureMap", - "code": 65532, - "mfgCode": null, - "side": "server", - "type": "bitmap32", - "included": 1, - "storageOption": "RAM", - "singleton": 0, - "bounded": 0, - "defaultValue": "0", - "reportable": 1, - "minInterval": 1, - "maxInterval": 65534, - "reportableChange": 0 - }, - { - "name": "ClusterRevision", - "code": 65533, - "mfgCode": null, - "side": "server", - "type": "int16u", - "included": 1, - "storageOption": "RAM", - "singleton": 0, - "bounded": 0, - "defaultValue": "1", - "reportable": 1, - "minInterval": 0, - "maxInterval": 65344, - "reportableChange": 0 - } - ] - }, - { - "name": "Content Launcher", - "code": 1290, - "mfgCode": null, - "define": "CONTENT_LAUNCHER_CLUSTER", - "side": "server", - "enabled": 1, - "attributes": [ - { - "name": "AcceptHeader", - "code": 0, - "mfgCode": null, - "side": "server", - "type": "array", - "included": 1, - "storageOption": "External", - "singleton": 0, - "bounded": 0, - "defaultValue": "", - "reportable": 1, - "minInterval": 0, - "maxInterval": 65344, - "reportableChange": 0 - }, - { - "name": "SupportedStreamingProtocols", - "code": 1, - "mfgCode": null, - "side": "server", - "type": "bitmap32", - "included": 1, - "storageOption": "RAM", - "singleton": 0, - "bounded": 0, - "defaultValue": "", - "reportable": 1, - "minInterval": 0, - "maxInterval": 65344, - "reportableChange": 0 - }, - { - "name": "FeatureMap", - "code": 65532, - "mfgCode": null, - "side": "server", - "type": "bitmap32", - "included": 1, - "storageOption": "RAM", - "singleton": 0, - "bounded": 0, - "defaultValue": "0", - "reportable": 1, - "minInterval": 1, - "maxInterval": 65534, - "reportableChange": 0 - }, - { - "name": "ClusterRevision", - "code": 65533, - "mfgCode": null, - "side": "server", - "type": "int16u", - "included": 1, - "storageOption": "RAM", - "singleton": 0, - "bounded": 0, - "defaultValue": "1", - "reportable": 1, - "minInterval": 0, - "maxInterval": 65344, - "reportableChange": 0 - } - ] - }, - { - "name": "Audio Output", - "code": 1291, - "mfgCode": null, - "define": "AUDIO_OUTPUT_CLUSTER", - "side": "server", - "enabled": 1, - "attributes": [ - { - "name": "OutputList", - "code": 0, - "mfgCode": null, - "side": "server", - "type": "array", - "included": 1, - "storageOption": "External", - "singleton": 0, - "bounded": 0, - "defaultValue": "", - "reportable": 1, - "minInterval": 0, - "maxInterval": 65344, - "reportableChange": 0 - }, - { - "name": "CurrentOutput", - "code": 1, - "mfgCode": null, - "side": "server", - "type": "int8u", - "included": 1, - "storageOption": "RAM", - "singleton": 0, - "bounded": 0, - "defaultValue": "0x00", - "reportable": 1, - "minInterval": 0, - "maxInterval": 65344, - "reportableChange": 0 - }, - { - "name": "FeatureMap", - "code": 65532, - "mfgCode": null, - "side": "server", - "type": "bitmap32", - "included": 1, - "storageOption": "RAM", - "singleton": 0, - "bounded": 0, - "defaultValue": "0", - "reportable": 1, - "minInterval": 1, - "maxInterval": 65534, - "reportableChange": 0 - }, - { - "name": "ClusterRevision", - "code": 65533, - "mfgCode": null, - "side": "server", - "type": "int16u", - "included": 1, - "storageOption": "RAM", - "singleton": 0, - "bounded": 0, - "defaultValue": "1", - "reportable": 1, - "minInterval": 0, - "maxInterval": 65344, - "reportableChange": 0 - } - ] - }, - { - "name": "Application Launcher", - "code": 1292, - "mfgCode": null, - "define": "APPLICATION_LAUNCHER_CLUSTER", - "side": "server", - "enabled": 1, - "attributes": [ - { - "name": "CatalogList", - "code": 0, - "mfgCode": null, - "side": "server", - "type": "array", - "included": 1, - "storageOption": "External", - "singleton": 0, - "bounded": 0, - "defaultValue": "", - "reportable": 1, - "minInterval": 0, - "maxInterval": 65344, - "reportableChange": 0 - }, - { - "name": "FeatureMap", - "code": 65532, - "mfgCode": null, - "side": "server", - "type": "bitmap32", - "included": 1, - "storageOption": "RAM", - "singleton": 0, - "bounded": 0, - "defaultValue": "0", - "reportable": 1, - "minInterval": 1, - "maxInterval": 65534, - "reportableChange": 0 - }, - { - "name": "ClusterRevision", - "code": 65533, - "mfgCode": null, - "side": "server", - "type": "int16u", - "included": 1, - "storageOption": "RAM", - "singleton": 0, - "bounded": 0, - "defaultValue": "1", - "reportable": 1, - "minInterval": 0, - "maxInterval": 65344, - "reportableChange": 0 - } - ] - }, - { - "name": "Application Basic", - "code": 1293, - "mfgCode": null, - "define": "APPLICATION_BASIC_CLUSTER", - "side": "server", - "enabled": 1, - "attributes": [ - { - "name": "VendorName", - "code": 0, - "mfgCode": null, - "side": "server", - "type": "char_string", - "included": 1, - "storageOption": "RAM", - "singleton": 0, - "bounded": 0, - "defaultValue": "", - "reportable": 1, - "minInterval": 0, - "maxInterval": 65344, - "reportableChange": 0 - }, - { - "name": "VendorID", - "code": 1, - "mfgCode": null, - "side": "server", - "type": "vendor_id", - "included": 1, - "storageOption": "RAM", - "singleton": 0, - "bounded": 0, - "defaultValue": "", - "reportable": 1, - "minInterval": 0, - "maxInterval": 65344, - "reportableChange": 0 - }, - { - "name": "ApplicationName", - "code": 2, - "mfgCode": null, - "side": "server", - "type": "char_string", - "included": 1, - "storageOption": "RAM", - "singleton": 0, - "bounded": 0, - "defaultValue": "", - "reportable": 1, - "minInterval": 0, - "maxInterval": 65344, - "reportableChange": 0 - }, - { - "name": "ProductID", - "code": 3, - "mfgCode": null, - "side": "server", - "type": "int16u", - "included": 1, - "storageOption": "RAM", - "singleton": 0, - "bounded": 0, - "defaultValue": "", - "reportable": 1, - "minInterval": 0, - "maxInterval": 65344, - "reportableChange": 0 - }, - { - "name": "Status", - "code": 5, - "mfgCode": null, - "side": "server", - "type": "ApplicationStatusEnum", - "included": 1, - "storageOption": "RAM", - "singleton": 0, - "bounded": 0, - "defaultValue": "", - "reportable": 1, - "minInterval": 0, - "maxInterval": 65344, - "reportableChange": 0 - }, - { - "name": "ApplicationVersion", - "code": 6, - "mfgCode": null, - "side": "server", - "type": "char_string", - "included": 1, - "storageOption": "RAM", - "singleton": 0, - "bounded": 0, - "defaultValue": "", - "reportable": 1, - "minInterval": 0, - "maxInterval": 65344, - "reportableChange": 0 - }, - { - "name": "AllowedVendorList", - "code": 7, - "mfgCode": null, - "side": "server", - "type": "array", - "included": 1, - "storageOption": "External", - "singleton": 0, - "bounded": 0, - "defaultValue": "", - "reportable": 1, - "minInterval": 1, - "maxInterval": 65534, - "reportableChange": 0 - }, - { - "name": "FeatureMap", - "code": 65532, - "mfgCode": null, - "side": "server", - "type": "bitmap32", - "included": 1, - "storageOption": "RAM", - "singleton": 0, - "bounded": 0, - "defaultValue": "0", - "reportable": 1, - "minInterval": 1, - "maxInterval": 65534, - "reportableChange": 0 - }, - { - "name": "ClusterRevision", - "code": 65533, - "mfgCode": null, - "side": "server", - "type": "int16u", - "included": 1, - "storageOption": "RAM", - "singleton": 0, - "bounded": 0, - "defaultValue": "1", - "reportable": 1, - "minInterval": 0, - "maxInterval": 65344, - "reportableChange": 0 - } - ] - }, - { - "name": "Account Login", - "code": 1294, - "mfgCode": null, - "define": "ACCOUNT_LOGIN_CLUSTER", - "side": "server", - "enabled": 1, "attributes": [ { "name": "FeatureMap", @@ -23325,4 +22467,4 @@ } ], "log": [] -} +} \ No newline at end of file diff --git a/examples/all-clusters-app/esp32/main/CMakeLists.txt b/examples/all-clusters-app/esp32/main/CMakeLists.txt index 356c3729853f4a..e3e4d0995d4f34 100644 --- a/examples/all-clusters-app/esp32/main/CMakeLists.txt +++ b/examples/all-clusters-app/esp32/main/CMakeLists.txt @@ -38,7 +38,6 @@ set(SRC_DIRS_LIST "${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/util" "${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/reporting" "${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/administrator-commissioning-server" - "${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/application-basic-server" "${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/test-cluster-server" "${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/descriptor" "${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/fault-injection-server" @@ -49,28 +48,19 @@ set(SRC_DIRS_LIST "${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/level-control" "${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/identify-server" "${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/access-control-server" - "${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/account-login-server" - "${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/application-launcher-server" - "${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/audio-output-server" "${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/barrier-control-server" "${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/window-covering-server" "${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/general-commissioning-server" "${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/network-commissioning" "${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/groups-server" "${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/color-control-server" - "${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/content-launch-server" "${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/operational-credentials-server" - "${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/media-input-server" "${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/mode-select-server" "${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/low-power-server" - "${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/keypad-input-server" - "${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/media-playback-server" "${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/ota-requestor" - "${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/target-navigator-server" "${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/thermostat-server" "${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/thermostat-user-interface-configuration-server" "${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/thread-network-diagnostics-server" - "${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/channel-server" "${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/scenes-server" "${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/smoke-co-alarm-server" "${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/refrigerator-alarm-server"