| // This IDL was generated automatically by ZAP. |
| // It is for view/code review purposes only. |
| |
| struct LabelStruct { |
| CHAR_STRING<16> label = 0; |
| CHAR_STRING<16> value = 1; |
| } |
| |
| client cluster AccountLogin = 1294 { |
| readonly global attribute int16u clusterRevision = 65533; |
| |
| request struct GetSetupPINRequestRequest { |
| CHAR_STRING tempAccountIdentifier = 0; |
| } |
| |
| request struct LoginRequestRequest { |
| CHAR_STRING tempAccountIdentifier = 0; |
| CHAR_STRING setupPIN = 1; |
| } |
| |
| timed command GetSetupPINRequest(GetSetupPINRequestRequest): GetSetupPINResponse = 0; |
| timed command LoginRequest(LoginRequestRequest): DefaultSuccess = 2; |
| timed command LogoutRequest(): DefaultSuccess = 3; |
| } |
| |
| server cluster AdministratorCommissioning = 60 { |
| enum CommissioningWindowStatus : ENUM8 { |
| kWindowNotOpen = 0; |
| kEnhancedWindowOpen = 1; |
| kBasicWindowOpen = 2; |
| } |
| |
| enum StatusCode : ENUM8 { |
| kBusy = 1; |
| kPAKEParameterError = 2; |
| kWindowNotOpen = 3; |
| } |
| |
| readonly attribute int8u windowStatus = 0; |
| readonly attribute fabric_idx adminFabricIndex = 1; |
| readonly attribute int16u adminVendorId = 2; |
| readonly global attribute int16u clusterRevision = 65533; |
| |
| request struct OpenBasicCommissioningWindowRequest { |
| INT16U commissioningTimeout = 0; |
| } |
| |
| request struct OpenCommissioningWindowRequest { |
| INT16U commissioningTimeout = 0; |
| OCTET_STRING PAKEVerifier = 1; |
| INT16U discriminator = 2; |
| INT32U iterations = 3; |
| OCTET_STRING salt = 4; |
| INT16U passcodeID = 5; |
| } |
| |
| timed command OpenBasicCommissioningWindow(OpenBasicCommissioningWindowRequest): DefaultSuccess = 1; |
| timed command OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0; |
| timed command RevokeCommissioning(): DefaultSuccess = 2; |
| } |
| |
| client cluster ApplicationBasic = 1293 { |
| enum ApplicationStatusEnum : ENUM8 { |
| kStopped = 0; |
| kActiveVisibleFocus = 1; |
| kActiveHidden = 2; |
| kActiveVisibleNotFocus = 3; |
| } |
| |
| readonly attribute char_string<32> vendorName = 0; |
| readonly attribute int16u vendorId = 1; |
| readonly attribute char_string<32> applicationName = 2; |
| readonly attribute int16u productId = 3; |
| readonly attribute ApplicationStatusEnum applicationStatus = 5; |
| readonly attribute char_string<32> applicationVersion = 6; |
| readonly global attribute int16u clusterRevision = 65533; |
| } |
| |
| client cluster ApplicationLauncher = 1292 { |
| enum StatusEnum : ENUM8 { |
| kSuccess = 0; |
| kAppNotAvailable = 1; |
| kSystemBusy = 2; |
| } |
| |
| bitmap ApplicationLauncherFeature : BITMAP32 { |
| kApplicationPlatform = 0x1; |
| } |
| |
| bitmap ChannelFeature : BITMAP32 { |
| kChannelList = 0x1; |
| kLineupInfo = 0x2; |
| } |
| |
| struct ApplicationLauncherApplication { |
| INT16U catalogVendorId = 0; |
| CHAR_STRING applicationId = 1; |
| } |
| |
| readonly attribute INT16U applicationLauncherList[] = 0; |
| readonly global attribute int16u clusterRevision = 65533; |
| |
| request struct HideAppRequestRequest { |
| ApplicationLauncherApplication application = 0; |
| } |
| |
| request struct LaunchAppRequestRequest { |
| CHAR_STRING data = 0; |
| ApplicationLauncherApplication application = 1; |
| } |
| |
| request struct StopAppRequestRequest { |
| ApplicationLauncherApplication application = 0; |
| } |
| |
| command HideAppRequest(HideAppRequestRequest): LauncherResponse = 2; |
| command LaunchAppRequest(LaunchAppRequestRequest): LauncherResponse = 0; |
| command StopAppRequest(StopAppRequestRequest): LauncherResponse = 1; |
| } |
| |
| client cluster AudioOutput = 1291 { |
| enum OutputTypeEnum : ENUM8 { |
| kHdmi = 0; |
| kBt = 1; |
| kOptical = 2; |
| kHeadphone = 3; |
| kInternal = 4; |
| kOther = 5; |
| } |
| |
| bitmap AudiouOutputFeature : BITMAP32 { |
| kNameUpdates = 0x1; |
| } |
| |
| struct OutputInfo { |
| INT8U index = 0; |
| OutputTypeEnum outputType = 1; |
| CHAR_STRING<32> name = 2; |
| } |
| |
| readonly attribute OutputInfo audioOutputList[] = 0; |
| readonly global attribute int16u clusterRevision = 65533; |
| |
| request struct RenameOutputRequestRequest { |
| INT8U index = 0; |
| CHAR_STRING name = 1; |
| } |
| |
| request struct SelectOutputRequestRequest { |
| INT8U index = 0; |
| } |
| |
| command RenameOutputRequest(RenameOutputRequestRequest): DefaultSuccess = 1; |
| command SelectOutputRequest(SelectOutputRequestRequest): DefaultSuccess = 0; |
| } |
| |
| server cluster BarrierControl = 259 { |
| readonly attribute enum8 barrierMovingState = 1; |
| readonly attribute bitmap16 barrierSafetyStatus = 2; |
| readonly attribute bitmap8 barrierCapabilities = 3; |
| readonly attribute int8u barrierPosition = 10; |
| readonly global attribute int16u clusterRevision = 65533; |
| |
| request struct BarrierControlGoToPercentRequest { |
| INT8U percentOpen = 0; |
| } |
| |
| command BarrierControlGoToPercent(BarrierControlGoToPercentRequest): DefaultSuccess = 0; |
| command BarrierControlStop(): DefaultSuccess = 1; |
| } |
| |
| server cluster Basic = 40 { |
| critical event StartUp = 0 { |
| INT32U softwareVersion = 0; |
| } |
| |
| critical event ShutDown = 1 { |
| } |
| |
| info event Leave = 2 { |
| } |
| |
| info event ReachableChanged = 3 { |
| boolean reachableNewValue = 0; |
| } |
| |
| readonly attribute int16u interactionModelVersion = 0; |
| readonly attribute char_string<32> vendorName = 1; |
| readonly attribute vendor_id vendorID = 2; |
| readonly attribute char_string<32> productName = 3; |
| readonly attribute int16u productID = 4; |
| attribute char_string<32> nodeLabel = 5; |
| attribute char_string<2> location = 6; |
| readonly attribute int16u hardwareVersion = 7; |
| readonly attribute char_string<64> hardwareVersionString = 8; |
| readonly attribute int32u softwareVersion = 9; |
| readonly attribute char_string<64> softwareVersionString = 10; |
| readonly attribute char_string<16> manufacturingDate = 11; |
| readonly attribute char_string<32> partNumber = 12; |
| readonly attribute long_char_string<256> productURL = 13; |
| readonly attribute char_string<64> productLabel = 14; |
| readonly attribute char_string<32> serialNumber = 15; |
| attribute boolean localConfigDisabled = 16; |
| readonly attribute boolean reachable = 17; |
| readonly attribute char_string<32> uniqueID = 18; |
| readonly global attribute int16u clusterRevision = 65533; |
| } |
| |
| server cluster BinaryInputBasic = 15 { |
| attribute boolean outOfService = 81; |
| attribute boolean presentValue = 85; |
| readonly attribute bitmap8 statusFlags = 111; |
| readonly global attribute int16u clusterRevision = 65533; |
| } |
| |
| server cluster Binding = 30 { |
| readonly global attribute int16u clusterRevision = 65533; |
| |
| request struct BindRequest { |
| NODE_ID nodeId = 0; |
| GROUP_ID groupId = 1; |
| ENDPOINT_NO endpointId = 2; |
| CLUSTER_ID clusterId = 3; |
| } |
| |
| request struct UnbindRequest { |
| NODE_ID nodeId = 0; |
| GROUP_ID groupId = 1; |
| ENDPOINT_NO endpointId = 2; |
| CLUSTER_ID clusterId = 3; |
| } |
| |
| command Bind(BindRequest): DefaultSuccess = 0; |
| command Unbind(UnbindRequest): DefaultSuccess = 1; |
| } |
| |
| server cluster BridgedDeviceBasic = 57 { |
| readonly attribute char_string<32> vendorName = 1; |
| readonly attribute int16u vendorID = 2; |
| readonly attribute char_string<32> productName = 3; |
| attribute char_string<32> nodeLabel = 5; |
| readonly attribute int16u hardwareVersion = 7; |
| readonly attribute char_string<64> hardwareVersionString = 8; |
| readonly attribute int32u softwareVersion = 9; |
| readonly attribute char_string<64> softwareVersionString = 10; |
| readonly attribute char_string<16> manufacturingDate = 11; |
| readonly attribute char_string<32> partNumber = 12; |
| readonly attribute long_char_string<256> productURL = 13; |
| readonly attribute char_string<64> productLabel = 14; |
| readonly attribute char_string<32> serialNumber = 15; |
| readonly attribute boolean reachable = 17; |
| readonly global attribute int16u clusterRevision = 65533; |
| |
| command Leave(): DefaultSuccess = 2; |
| command ReachableChanged(): DefaultSuccess = 3; |
| command ShutDown(): DefaultSuccess = 1; |
| command StartUp(): DefaultSuccess = 0; |
| } |
| |
| client cluster Channel = 1284 { |
| enum ErrorTypeEnum : ENUM8 { |
| kMultipleMatches = 0; |
| kNoMatches = 1; |
| } |
| |
| enum LineupInfoTypeEnum : ENUM8 { |
| kMso = 0; |
| } |
| |
| struct ChannelInfo { |
| INT16U majorNumber = 0; |
| INT16U minorNumber = 1; |
| CHAR_STRING<32> name = 2; |
| CHAR_STRING<32> callSign = 3; |
| CHAR_STRING<32> affiliateCallSign = 4; |
| } |
| |
| struct LineupInfo { |
| CHAR_STRING operatorName = 0; |
| CHAR_STRING lineupName = 1; |
| CHAR_STRING postalCode = 2; |
| LineupInfoTypeEnum lineupInfoType = 3; |
| } |
| |
| readonly attribute ChannelInfo channelList[] = 0; |
| attribute LineupInfo channelLineup = 1; |
| attribute ChannelInfo currentChannel = 2; |
| readonly global attribute int16u clusterRevision = 65533; |
| |
| request struct ChangeChannelByNumberRequestRequest { |
| INT16U majorNumber = 0; |
| INT16U minorNumber = 1; |
| } |
| |
| request struct ChangeChannelRequestRequest { |
| CHAR_STRING match = 0; |
| } |
| |
| request struct SkipChannelRequestRequest { |
| INT16U count = 0; |
| } |
| |
| command ChangeChannelByNumberRequest(ChangeChannelByNumberRequestRequest): DefaultSuccess = 2; |
| command ChangeChannelRequest(ChangeChannelRequestRequest): ChangeChannelResponse = 0; |
| command SkipChannelRequest(SkipChannelRequestRequest): DefaultSuccess = 3; |
| } |
| |
| server cluster ColorControl = 768 { |
| enum ColorLoopAction : ENUM8 { |
| kDeactivate = 0; |
| kActivateFromColorLoopStartEnhancedHue = 1; |
| kActivateFromEnhancedCurrentHue = 2; |
| } |
| |
| enum ColorLoopDirection : ENUM8 { |
| kDecrementHue = 0; |
| kIncrementHue = 1; |
| } |
| |
| enum ColorMode : ENUM8 { |
| kCurrentHueAndCurrentSaturation = 0; |
| kCurrentXAndCurrentY = 1; |
| kColorTemperature = 2; |
| } |
| |
| enum HueDirection : ENUM8 { |
| kShortestDistance = 0; |
| kLongestDistance = 1; |
| kUp = 2; |
| kDown = 3; |
| } |
| |
| enum HueMoveMode : ENUM8 { |
| kStop = 0; |
| kUp = 1; |
| kDown = 3; |
| } |
| |
| enum HueStepMode : ENUM8 { |
| kUp = 1; |
| kDown = 3; |
| } |
| |
| enum SaturationMoveMode : ENUM8 { |
| kStop = 0; |
| kUp = 1; |
| kDown = 3; |
| } |
| |
| enum SaturationStepMode : ENUM8 { |
| kUp = 1; |
| kDown = 3; |
| } |
| |
| bitmap ColorCapabilities : BITMAP16 { |
| kHueSaturationSupported = 0x1; |
| kEnhancedHueSupported = 0x2; |
| kColorLoopSupported = 0x4; |
| kXYAttributesSupported = 0x8; |
| kColorTemperatureSupported = 0x10; |
| } |
| |
| bitmap ColorLoopUpdateFlags : BITMAP8 { |
| kUpdateAction = 0x1; |
| kUpdateDirection = 0x2; |
| kUpdateTime = 0x4; |
| kUpdateStartHue = 0x8; |
| } |
| |
| readonly attribute int8u currentHue = 0; |
| readonly attribute int8u currentSaturation = 1; |
| readonly attribute int16u remainingTime = 2; |
| readonly attribute int16u currentX = 3; |
| readonly attribute int16u currentY = 4; |
| readonly attribute enum8 driftCompensation = 5; |
| readonly attribute char_string<254> compensationText = 6; |
| readonly attribute int16u colorTemperature = 7; |
| readonly attribute enum8 colorMode = 8; |
| attribute bitmap8 colorControlOptions = 15; |
| readonly attribute int8u numberOfPrimaries = 16; |
| readonly attribute int16u primary1X = 17; |
| readonly attribute int16u primary1Y = 18; |
| readonly attribute int8u primary1Intensity = 19; |
| readonly attribute int16u primary2X = 21; |
| readonly attribute int16u primary2Y = 22; |
| readonly attribute int8u primary2Intensity = 23; |
| readonly attribute int16u primary3X = 25; |
| readonly attribute int16u primary3Y = 26; |
| readonly attribute int8u primary3Intensity = 27; |
| readonly attribute int16u primary4X = 32; |
| readonly attribute int16u primary4Y = 33; |
| readonly attribute int8u primary4Intensity = 34; |
| readonly attribute int16u primary5X = 36; |
| readonly attribute int16u primary5Y = 37; |
| readonly attribute int8u primary5Intensity = 38; |
| readonly attribute int16u primary6X = 40; |
| readonly attribute int16u primary6Y = 41; |
| readonly attribute int8u primary6Intensity = 42; |
| attribute int16u whitePointX = 48; |
| attribute int16u whitePointY = 49; |
| attribute int16u colorPointRX = 50; |
| attribute int16u colorPointRY = 51; |
| attribute int8u colorPointRIntensity = 52; |
| attribute int16u colorPointGX = 54; |
| attribute int16u colorPointGY = 55; |
| attribute int8u colorPointGIntensity = 56; |
| attribute int16u colorPointBX = 58; |
| attribute int16u colorPointBY = 59; |
| attribute int8u colorPointBIntensity = 60; |
| readonly attribute int16u enhancedCurrentHue = 16384; |
| readonly attribute enum8 enhancedColorMode = 16385; |
| readonly attribute int8u colorLoopActive = 16386; |
| readonly attribute int8u colorLoopDirection = 16387; |
| readonly attribute int16u colorLoopTime = 16388; |
| readonly attribute bitmap16 colorCapabilities = 16394; |
| readonly attribute int16u colorTempPhysicalMin = 16395; |
| readonly attribute int16u colorTempPhysicalMax = 16396; |
| readonly attribute int16u coupleColorTempToLevelMinMireds = 16397; |
| attribute int16u startUpColorTemperatureMireds = 16400; |
| readonly global attribute int16u clusterRevision = 65533; |
| |
| request struct MoveColorRequest { |
| INT16S rateX = 0; |
| INT16S rateY = 1; |
| BITMAP8 optionsMask = 2; |
| BITMAP8 optionsOverride = 3; |
| } |
| |
| request struct MoveColorTemperatureRequest { |
| HueMoveMode moveMode = 0; |
| INT16U rate = 1; |
| INT16U colorTemperatureMinimum = 2; |
| INT16U colorTemperatureMaximum = 3; |
| BITMAP8 optionsMask = 4; |
| BITMAP8 optionsOverride = 5; |
| } |
| |
| request struct MoveHueRequest { |
| HueMoveMode moveMode = 0; |
| INT8U rate = 1; |
| BITMAP8 optionsMask = 2; |
| BITMAP8 optionsOverride = 3; |
| } |
| |
| request struct MoveSaturationRequest { |
| SaturationMoveMode moveMode = 0; |
| INT8U rate = 1; |
| BITMAP8 optionsMask = 2; |
| BITMAP8 optionsOverride = 3; |
| } |
| |
| request struct MoveToColorRequest { |
| INT16U colorX = 0; |
| INT16U colorY = 1; |
| INT16U transitionTime = 2; |
| BITMAP8 optionsMask = 3; |
| BITMAP8 optionsOverride = 4; |
| } |
| |
| request struct MoveToColorTemperatureRequest { |
| INT16U colorTemperature = 0; |
| INT16U transitionTime = 1; |
| BITMAP8 optionsMask = 2; |
| BITMAP8 optionsOverride = 3; |
| } |
| |
| request struct MoveToHueRequest { |
| INT8U hue = 0; |
| HueDirection direction = 1; |
| INT16U transitionTime = 2; |
| BITMAP8 optionsMask = 3; |
| BITMAP8 optionsOverride = 4; |
| } |
| |
| request struct MoveToHueAndSaturationRequest { |
| INT8U hue = 0; |
| INT8U saturation = 1; |
| INT16U transitionTime = 2; |
| BITMAP8 optionsMask = 3; |
| BITMAP8 optionsOverride = 4; |
| } |
| |
| request struct MoveToSaturationRequest { |
| INT8U saturation = 0; |
| INT16U transitionTime = 1; |
| BITMAP8 optionsMask = 2; |
| BITMAP8 optionsOverride = 3; |
| } |
| |
| request struct StepColorRequest { |
| INT16S stepX = 0; |
| INT16S stepY = 1; |
| INT16U transitionTime = 2; |
| BITMAP8 optionsMask = 3; |
| BITMAP8 optionsOverride = 4; |
| } |
| |
| request struct StepColorTemperatureRequest { |
| HueStepMode stepMode = 0; |
| INT16U stepSize = 1; |
| INT16U transitionTime = 2; |
| INT16U colorTemperatureMinimum = 3; |
| INT16U colorTemperatureMaximum = 4; |
| BITMAP8 optionsMask = 5; |
| BITMAP8 optionsOverride = 6; |
| } |
| |
| request struct StepHueRequest { |
| HueStepMode stepMode = 0; |
| INT8U stepSize = 1; |
| INT8U transitionTime = 2; |
| BITMAP8 optionsMask = 3; |
| BITMAP8 optionsOverride = 4; |
| } |
| |
| request struct StepSaturationRequest { |
| SaturationStepMode stepMode = 0; |
| INT8U stepSize = 1; |
| INT8U transitionTime = 2; |
| BITMAP8 optionsMask = 3; |
| BITMAP8 optionsOverride = 4; |
| } |
| |
| request struct StopMoveStepRequest { |
| BITMAP8 optionsMask = 0; |
| BITMAP8 optionsOverride = 1; |
| } |
| |
| command MoveColor(MoveColorRequest): DefaultSuccess = 8; |
| command MoveColorTemperature(MoveColorTemperatureRequest): DefaultSuccess = 75; |
| command MoveHue(MoveHueRequest): DefaultSuccess = 1; |
| command MoveSaturation(MoveSaturationRequest): DefaultSuccess = 4; |
| command MoveToColor(MoveToColorRequest): DefaultSuccess = 7; |
| command MoveToColorTemperature(MoveToColorTemperatureRequest): DefaultSuccess = 10; |
| command MoveToHue(MoveToHueRequest): DefaultSuccess = 0; |
| command MoveToHueAndSaturation(MoveToHueAndSaturationRequest): DefaultSuccess = 6; |
| command MoveToSaturation(MoveToSaturationRequest): DefaultSuccess = 3; |
| command StepColor(StepColorRequest): DefaultSuccess = 9; |
| command StepColorTemperature(StepColorTemperatureRequest): DefaultSuccess = 76; |
| command StepHue(StepHueRequest): DefaultSuccess = 2; |
| command StepSaturation(StepSaturationRequest): DefaultSuccess = 5; |
| command StopMoveStep(StopMoveStepRequest): DefaultSuccess = 71; |
| } |
| |
| client cluster ContentLauncher = 1290 { |
| 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; |
| } |
| |
| enum StatusEnum : ENUM8 { |
| kSuccess = 0; |
| kUrlNotAvailable = 1; |
| kAuthFailed = 2; |
| } |
| |
| bitmap ContentLauncherFeature : BITMAP32 { |
| kContentSearch = 0x1; |
| kURLPlayback = 0x2; |
| } |
| |
| bitmap SupportedStreamingProtocol : BITMAP32 { |
| kDash = 0x1; |
| kHls = 0x2; |
| } |
| |
| struct ContentSearch { |
| Parameter parameterList[] = 0; |
| } |
| |
| struct Parameter { |
| ParameterEnum type = 0; |
| CHAR_STRING value = 1; |
| AdditionalInfo externalIDList[] = 2; |
| } |
| |
| struct AdditionalInfo { |
| CHAR_STRING name = 0; |
| CHAR_STRING value = 1; |
| } |
| |
| struct BrandingInformation { |
| CHAR_STRING providerName = 0; |
| StyleInformation background = 1; |
| StyleInformation logo = 2; |
| StyleInformation progressBar = 3; |
| StyleInformation splash = 4; |
| StyleInformation waterMark = 5; |
| } |
| |
| struct StyleInformation { |
| CHAR_STRING imageUrl = 0; |
| CHAR_STRING color = 1; |
| Dimension size = 2; |
| } |
| |
| struct Dimension { |
| double width = 0; |
| double height = 1; |
| MetricTypeEnum metric = 2; |
| } |
| |
| readonly attribute CHAR_STRING acceptHeaderList[] = 0; |
| attribute bitmap32 supportedStreamingProtocols = 1; |
| readonly global attribute int16u clusterRevision = 65533; |
| |
| request struct LaunchContentRequestRequest { |
| BOOLEAN autoPlay = 0; |
| CHAR_STRING data = 1; |
| ContentSearch search[] = 2; |
| } |
| |
| request struct LaunchURLRequestRequest { |
| CHAR_STRING contentURL = 0; |
| CHAR_STRING displayString = 1; |
| BrandingInformation brandingInformation = 2; |
| } |
| |
| command LaunchContentRequest(LaunchContentRequestRequest): LaunchResponse = 0; |
| command LaunchURLRequest(LaunchURLRequestRequest): LaunchResponse = 1; |
| } |
| |
| server cluster Descriptor = 29 { |
| struct DeviceType { |
| DEVTYPE_ID type = 0; |
| INT16U revision = 1; |
| } |
| |
| readonly attribute DeviceType deviceList[] = 0; |
| readonly attribute CLUSTER_ID serverList[] = 1; |
| readonly attribute CLUSTER_ID clientList[] = 2; |
| readonly attribute ENDPOINT_NO partsList[] = 3; |
| readonly global attribute int16u clusterRevision = 65533; |
| } |
| |
| server cluster DiagnosticLogs = 50 { |
| enum LogsIntent : ENUM8 { |
| kEndUserSupport = 0; |
| kNetworkDiag = 1; |
| kCrashLogs = 2; |
| } |
| |
| enum LogsStatus : ENUM8 { |
| kSuccess = 0; |
| kExhausted = 1; |
| kNoLogs = 2; |
| kBusy = 3; |
| kDenied = 4; |
| } |
| |
| enum LogsTransferProtocol : ENUM8 { |
| kResponsePayload = 0; |
| kBdx = 1; |
| } |
| |
| |
| request struct RetrieveLogsRequestRequest { |
| LogsIntent intent = 0; |
| LogsTransferProtocol requestedProtocol = 1; |
| OCTET_STRING transferFileDesignator = 2; |
| } |
| |
| command RetrieveLogsRequest(RetrieveLogsRequestRequest): RetrieveLogsResponse = 0; |
| } |
| |
| server cluster DoorLock = 257 { |
| enum DlAlarmCode : ENUM8 { |
| kLockJammed = 0; |
| kLockFactoryReset = 1; |
| kLockRadioPowerCycled = 3; |
| kWrongCodeEntryLimit = 4; |
| kFrontEsceutcheonRemoved = 5; |
| kDoorForcedOpen = 6; |
| kDoorAjar = 7; |
| kForcedUser = 8; |
| } |
| |
| enum DlCredentialRule : ENUM8 { |
| kSingle = 0; |
| kDouble = 1; |
| kTri = 2; |
| } |
| |
| enum DlCredentialType : ENUM8 { |
| kProgrammingPIN = 0; |
| kPin = 1; |
| kRfid = 2; |
| kFingerprint = 3; |
| kFingerVein = 4; |
| kFace = 5; |
| } |
| |
| enum DlDataOperationType : ENUM8 { |
| kAdd = 0; |
| kClear = 1; |
| kModify = 2; |
| } |
| |
| enum DlDoorState : ENUM8 { |
| kDoorOpen = 0; |
| kDoorClosed = 1; |
| kDoorJammed = 2; |
| kDoorForcedOpen = 3; |
| kDoorUnspecifiedError = 4; |
| kDoorAjar = 5; |
| } |
| |
| enum DlLockDataType : ENUM8 { |
| kUnspecified = 0; |
| kProgrammingCode = 1; |
| kUserIndex = 2; |
| kWeekDaySchedule = 3; |
| kYearDaySchedule = 4; |
| kHolidaySchedule = 5; |
| kPin = 6; |
| kRfid = 7; |
| kFingerprint = 8; |
| } |
| |
| enum DlLockOperationType : ENUM8 { |
| kLock = 0; |
| kUnlock = 1; |
| kNonAccessUserEvent = 2; |
| kForcedUserEvent = 3; |
| } |
| |
| enum DlLockState : ENUM8 { |
| kNotFullyLocked = 0; |
| kLocked = 1; |
| kUnlocked = 2; |
| } |
| |
| enum DlLockType : ENUM8 { |
| kDeadBolt = 0; |
| kMagnetic = 1; |
| kOther = 2; |
| kMortise = 3; |
| kRim = 4; |
| kLatchBolt = 5; |
| kCylindricalLock = 6; |
| kTubularLock = 7; |
| kInterconnectedLock = 8; |
| kDeadLatch = 9; |
| kDoorFurniture = 10; |
| } |
| |
| enum DlOperatingMode : ENUM8 { |
| kNormal = 0; |
| kVacation = 1; |
| kPrivacy = 2; |
| kNoRemoteLockUnlock = 3; |
| kPassage = 4; |
| } |
| |
| enum DlOperationError : ENUM8 { |
| kUnspecified = 0; |
| kInvalidCredential = 1; |
| kDisabledUserDenied = 2; |
| kRestricted = 3; |
| kInsufficientBattery = 4; |
| } |
| |
| enum DlOperationSource : ENUM8 { |
| kUnspecified = 0; |
| kManual = 1; |
| kProprietaryRemote = 2; |
| kKeypad = 3; |
| kAuto = 4; |
| kButton = 5; |
| kSchedule = 6; |
| kRemote = 7; |
| kRfid = 8; |
| kBiometric = 9; |
| } |
| |
| enum DlStatus : ENUM8 { |
| kSuccess = 0; |
| kFailure = 1; |
| kDuplicate = 2; |
| kOccupied = 3; |
| kInvalidField = 133; |
| kNotFound = 139; |
| } |
| |
| enum DlUserStatus : ENUM8 { |
| kAvailable = 0; |
| kOccupiedEnabled = 1; |
| kOccupiedDisabled = 3; |
| } |
| |
| enum DlUserType : ENUM8 { |
| kUnrestrictedUser = 0; |
| kYearDayScheduleUser = 1; |
| kWeekDayScheduleUser = 2; |
| kProgrammingUser = 3; |
| kNonAccessUser = 4; |
| kForcedUser = 5; |
| kDisposableUser = 6; |
| kExpiringUser = 7; |
| kScheduleRestrictedUser = 8; |
| kRemoteOnlyUser = 9; |
| } |
| |
| enum DoorLockOperationEventCode : ENUM8 { |
| kUnknownOrMfgSpecific = 0; |
| kLock = 1; |
| kUnlock = 2; |
| kLockInvalidPinOrId = 3; |
| kLockInvalidSchedule = 4; |
| kUnlockInvalidPinOrId = 5; |
| kUnlockInvalidSchedule = 6; |
| kOneTouchLock = 7; |
| kKeyLock = 8; |
| kKeyUnlock = 9; |
| kAutoLock = 10; |
| kScheduleLock = 11; |
| kScheduleUnlock = 12; |
| kManualLock = 13; |
| kManualUnlock = 14; |
| } |
| |
| enum DoorLockProgrammingEventCode : ENUM8 { |
| kUnknownOrMfgSpecific = 0; |
| kMasterCodeChanged = 1; |
| kPinAdded = 2; |
| kPinDeleted = 3; |
| kPinChanged = 4; |
| kIdAdded = 5; |
| kIdDeleted = 6; |
| } |
| |
| enum DoorLockSetPinOrIdStatus : ENUM8 { |
| kSuccess = 0; |
| kGeneralFailure = 1; |
| kMemoryFull = 2; |
| kDuplicateCodeError = 3; |
| } |
| |
| enum DoorLockUserStatus : ENUM8 { |
| kAvailable = 0; |
| kOccupiedEnabled = 1; |
| kOccupiedDisabled = 3; |
| kNotSupported = 255; |
| } |
| |
| enum DoorLockUserType : ENUM8 { |
| kUnrestricted = 0; |
| kYearDayScheduleUser = 1; |
| kWeekDayScheduleUser = 2; |
| kMasterUser = 3; |
| kNonAccessUser = 4; |
| kNotSupported = 255; |
| } |
| |
| bitmap DlAlarmMask : BITMAP16 { |
| kLockingMechanismJammed = 0x1; |
| kLockResetToFactoryDefaults = 0x2; |
| kReserved = 0x4; |
| kRFModulePowerCycled = 0x8; |
| kWrongCodeEntryLimit = 0x10; |
| kFrontEscutcheonRemovedFromMain = 0x20; |
| kForcedDoorOpenUnderDoorLockedCondition = 0x40; |
| } |
| |
| bitmap DlCredentialRulesSupport : BITMAP8 { |
| kSingle = 0x1; |
| kDual = 0x2; |
| kTri = 0x4; |
| } |
| |
| bitmap DlDaysMaskMap : BITMAP8 { |
| kSunday = 0x1; |
| kMonday = 0x2; |
| kTuesday = 0x4; |
| kWednesday = 0x8; |
| kThursday = 0x10; |
| kFriday = 0x20; |
| kSaturday = 0x40; |
| } |
| |
| bitmap DlDefaultConfigurationRegister : BITMAP16 { |
| kEnableLocalProgrammingEnabled = 0x1; |
| kKeypadInterfaceDefaultAccessEnabled = 0x2; |
| kRemoteInterfaceDefaultAccessIsEnabled = 0x4; |
| kSoundEnabled = 0x20; |
| kAutoRelockTimeSet = 0x40; |
| kLEDSettingsSet = 0x80; |
| } |
| |
| bitmap DlKeypadOperationEventMask : BITMAP16 { |
| kUnknown = 0x1; |
| kLock = 0x2; |
| kUnlock = 0x4; |
| kLockInvalidPIN = 0x8; |
| kLockInvalidSchedule = 0x10; |
| kUnlockInvalidCode = 0x20; |
| kUnlockInvalidSchedule = 0x40; |
| kNonAccessUserOpEvent = 0x80; |
| } |
| |
| bitmap DlKeypadProgrammingEventMask : BITMAP16 { |
| kUnknown = 0x1; |
| kProgrammingPINChanged = 0x2; |
| kPINAdded = 0x4; |
| kPINCleared = 0x8; |
| kPINChanged = 0x10; |
| } |
| |
| bitmap DlLocalProgrammingFeatures : BITMAP8 { |
| kAddUsersCredentialsSchedulesLocally = 0x1; |
| kModifyUsersCredentialsSchedulesLocally = 0x2; |
| kClearUsersCredentialsSchedulesLocally = 0x4; |
| kAdjustLockSettingsLocally = 0x8; |
| } |
| |
| bitmap DlManualOperationEventMask : BITMAP16 { |
| kUnknown = 0x1; |
| kThumbturnLock = 0x2; |
| kThumbturnUnlock = 0x4; |
| kOneTouchLock = 0x8; |
| kKeyLock = 0x10; |
| kKeyUnlock = 0x20; |
| kAutoLock = 0x40; |
| kScheduleLock = 0x80; |
| kScheduleUnlock = 0x100; |
| kManualLock = 0x200; |
| kManualUnlock = 0x400; |
| } |
| |
| bitmap DlRFIDOperationEventMask : BITMAP16 { |
| kUnknown = 0x1; |
| kLock = 0x2; |
| kUnlock = 0x4; |
| kLockInvalidRFID = 0x8; |
| kLockInvalidSchedule = 0x10; |
| kUnlockInvalidRFID = 0x20; |
| kUnlockInvalidSchedule = 0x40; |
| } |
| |
| bitmap DlRFIDProgrammingEventMask : BITMAP16 { |
| kUnknown = 0x1; |
| kRFIDCodeAdded = 0x20; |
| kRFIDCodeCleared = 0x40; |
| } |
| |
| bitmap DlRemoteOperationEventMask : BITMAP16 { |
| kUnknown = 0x1; |
| kLock = 0x2; |
| kUnlock = 0x4; |
| kLockInvalidCode = 0x8; |
| kLockInvalidSchedule = 0x10; |
| kUnlockInvalidCode = 0x20; |
| kUnlockInvalidSchedule = 0x40; |
| } |
| |
| bitmap DlRemoteProgrammingEventMask : BITMAP16 { |
| kUnknown = 0x1; |
| kProgrammingPINChanged = 0x2; |
| kPINAdded = 0x4; |
| kPINCleared = 0x8; |
| kPINChanged = 0x10; |
| kRFIDCodeAdded = 0x20; |
| kRFIDCodeCleared = 0x40; |
| } |
| |
| bitmap DlSupportedOperatingModes : BITMAP16 { |
| kNormal = 0x1; |
| kVacation = 0x2; |
| kPrivacy = 0x4; |
| kNoRemoteLockUnlock = 0x8; |
| kPassage = 0x10; |
| } |
| |
| bitmap DoorLockDayOfWeek : BITMAP8 { |
| kSunday = 0x1; |
| kMonday = 0x2; |
| kTuesday = 0x4; |
| kWednesday = 0x8; |
| kThursday = 0x10; |
| kFriday = 0x20; |
| kSaturday = 0x40; |
| } |
| |
| bitmap DoorLockFeature : BITMAP32 { |
| kPINCredentials = 0x1; |
| kRFIDCredentials = 0x2; |
| kFingerCredentials = 0x4; |
| kLogging = 0x8; |
| kAccessSchedules = 0x10; |
| kDoorPositionSensor = 0x20; |
| kFaceCredentials = 0x40; |
| kCredentialsOTA = 0x80; |
| kUsersManagement = 0x100; |
| kNotifications = 0x200; |
| } |
| |
| struct DlCredential { |
| DlCredentialType credentialType = 0; |
| INT16U credentialIndex = 1; |
| } |
| |
| critical event DoorLockAlarm = 0 { |
| DlAlarmCode alarmCode = 0; |
| } |
| |
| critical event DoorStateChange = 1 { |
| DlDoorState doorState = 0; |
| } |
| |
| critical event LockOperation = 2 { |
| DlLockOperationType lockOperationType = 0; |
| DlOperationSource operationSource = 1; |
| nullable INT16U userIndex = 2; |
| nullable fabric_idx fabricIndex = 3; |
| nullable NODE_ID sourceNode = 4; |
| optional nullable DlCredential credentials[] = 5; |
| } |
| |
| critical event LockOperationError = 3 { |
| DlLockOperationType lockOperationType = 0; |
| DlOperationSource operationSource = 1; |
| DlOperationError operationError = 2; |
| nullable INT16U userIndex = 3; |
| nullable fabric_idx fabricIndex = 4; |
| nullable NODE_ID sourceNode = 5; |
| optional nullable DlCredential credentials[] = 6; |
| } |
| |
| info event LockUserChange = 4 { |
| DlLockDataType lockDataType = 0; |
| DlDataOperationType dataOperationType = 1; |
| DlOperationSource operationSource = 2; |
| nullable INT16U userIndex = 3; |
| nullable fabric_idx fabricIndex = 4; |
| nullable NODE_ID sourceNode = 5; |
| nullable INT16U dataIndex = 6; |
| } |
| |
| readonly attribute nullable DlLockState lockState = 0; |
| readonly attribute DlLockType lockType = 1; |
| readonly attribute boolean actuatorEnabled = 2; |
| readonly attribute nullable DlDoorState doorState = 3; |
| attribute int32u doorOpenEvents = 4; |
| attribute int32u doorClosedEvents = 5; |
| attribute int16u openPeriod = 6; |
| readonly attribute int16u numberOfTotalUsersSupported = 17; |
| readonly attribute int16u numberOfPINUsersSupported = 18; |
| readonly attribute int8u numberOfWeekDaySchedulesSupportedPerUser = 20; |
| readonly attribute int8u numberOfYearDaySchedulesSupportedPerUser = 21; |
| readonly attribute int8u numberOfHolidaySchedulesSupported = 22; |
| readonly attribute int8u maxPINCodeLength = 23; |
| readonly attribute int8u minPINCodeLength = 24; |
| readonly attribute bitmap8 credentialRulesSupport = 27; |
| attribute char_string<3> language = 33; |
| attribute int32u autoRelockTime = 35; |
| attribute int8u soundVolume = 36; |
| attribute DlOperatingMode operatingMode = 37; |
| readonly attribute bitmap16 supportedOperatingModes = 38; |
| readonly attribute bitmap16 defaultConfigurationRegister = 39; |
| attribute boolean enableOneTouchLocking = 41; |
| attribute boolean enableInsideStatusLED = 42; |
| attribute boolean enablePrivacyModeButton = 43; |
| attribute int8u wrongCodeEntryLimit = 48; |
| attribute int8u userCodeTemporaryDisableTime = 49; |
| attribute boolean requirePINforRemoteOperation = 51; |
| readonly global attribute int16u clusterRevision = 65533; |
| |
| request struct ClearCredentialRequest { |
| nullable DlCredential credential = 0; |
| } |
| |
| request struct ClearUserRequest { |
| INT16U userIndex = 0; |
| } |
| |
| request struct GetCredentialStatusRequest { |
| DlCredential credential = 0; |
| } |
| |
| request struct GetUserRequest { |
| INT16U userIndex = 0; |
| } |
| |
| request struct LockDoorRequest { |
| optional OCTET_STRING pinCode = 0; |
| } |
| |
| request struct SetCredentialRequest { |
| DlDataOperationType operationType = 0; |
| DlCredential credential = 1; |
| LONG_OCTET_STRING credentialData = 2; |
| nullable INT16U userIndex = 3; |
| nullable DlUserStatus userStatus = 4; |
| nullable DlUserType userType = 5; |
| } |
| |
| request struct SetUserRequest { |
| DlDataOperationType operationType = 0; |
| INT16U userIndex = 1; |
| nullable CHAR_STRING userName = 2; |
| nullable INT32U userUniqueId = 3; |
| nullable DlUserStatus userStatus = 4; |
| nullable DlUserType userType = 5; |
| nullable DlCredentialRule credentialRule = 6; |
| } |
| |
| request struct UnlockDoorRequest { |
| optional OCTET_STRING pinCode = 0; |
| } |
| |
| response struct GetCredentialStatusResponse { |
| boolean credentialExists = 0; |
| nullable INT16U userIndex = 1; |
| nullable INT16U nextCredentialIndex = 2; |
| } |
| |
| response struct GetUserResponse { |
| INT16U userIndex = 0; |
| nullable CHAR_STRING userName = 1; |
| nullable INT32U userUniqueId = 2; |
| nullable DlUserStatus userStatus = 3; |
| nullable DlUserType userType = 4; |
| nullable DlCredentialRule credentialRule = 5; |
| nullable DlCredential credentials[] = 6; |
| nullable fabric_idx creatorFabricIndex = 7; |
| nullable fabric_idx lastModifiedFabricIndex = 8; |
| nullable INT16U nextUserIndex = 9; |
| } |
| |
| response struct SetCredentialResponse { |
| DlStatus status = 0; |
| nullable INT16U userIndex = 1; |
| nullable INT16U nextCredentialIndex = 2; |
| } |
| |
| timed command ClearCredential(ClearCredentialRequest): DefaultSuccess = 38; |
| timed command ClearUser(ClearUserRequest): DefaultSuccess = 29; |
| command GetCredentialStatus(GetCredentialStatusRequest): GetCredentialStatusResponse = 36; |
| command GetUser(GetUserRequest): GetUserResponse = 27; |
| timed command LockDoor(LockDoorRequest): DefaultSuccess = 0; |
| timed command SetCredential(SetCredentialRequest): SetCredentialResponse = 34; |
| timed command SetUser(SetUserRequest): DefaultSuccess = 26; |
| timed command UnlockDoor(UnlockDoorRequest): DefaultSuccess = 1; |
| } |
| |
| server cluster EthernetNetworkDiagnostics = 55 { |
| enum PHYRateType : ENUM8 { |
| k10m = 0; |
| k100m = 1; |
| k1000m = 2; |
| k25g = 3; |
| k5g = 4; |
| k10g = 5; |
| k40g = 6; |
| k100g = 7; |
| k200g = 8; |
| k400g = 9; |
| } |
| |
| readonly attribute enum8 PHYRate = 0; |
| readonly attribute boolean fullDuplex = 1; |
| readonly attribute int64u packetRxCount = 2; |
| readonly attribute int64u packetTxCount = 3; |
| readonly attribute int64u txErrCount = 4; |
| readonly attribute int64u collisionCount = 5; |
| readonly attribute int64u overrunCount = 6; |
| readonly attribute boolean carrierDetect = 7; |
| readonly attribute int64u timeSinceReset = 8; |
| readonly global attribute bitmap32 featureMap = 65532; |
| readonly global attribute int16u clusterRevision = 65533; |
| } |
| |
| server cluster FixedLabel = 64 { |
| readonly attribute LabelStruct labelList[] = 0; |
| readonly global attribute int16u clusterRevision = 65533; |
| } |
| |
| server cluster FlowMeasurement = 1028 { |
| readonly attribute int16s measuredValue = 0; |
| readonly attribute int16s minMeasuredValue = 1; |
| readonly attribute int16s maxMeasuredValue = 2; |
| readonly global attribute int16u clusterRevision = 65533; |
| } |
| |
| server cluster GeneralCommissioning = 48 { |
| enum GeneralCommissioningError : ENUM8 { |
| kOk = 0; |
| kValueOutsideRange = 1; |
| kInvalidAuthentication = 2; |
| kNotCommissioning = 3; |
| } |
| |
| enum RegulatoryLocationType : ENUM8 { |
| kIndoor = 0; |
| kOutdoor = 1; |
| kIndoorOutdoor = 2; |
| } |
| |
| struct BasicCommissioningInfoType { |
| INT32U failSafeExpiryLengthMs = 0; |
| } |
| |
| attribute int64u breadcrumb = 0; |
| readonly attribute BasicCommissioningInfoType basicCommissioningInfoList[] = 1; |
| readonly attribute enum8 regulatoryConfig = 2; |
| readonly attribute enum8 locationCapability = 3; |
| readonly global attribute bitmap32 featureMap = 65532; |
| readonly global attribute int16u clusterRevision = 65533; |
| |
| request struct ArmFailSafeRequest { |
| INT16U expiryLengthSeconds = 0; |
| INT64U breadcrumb = 1; |
| INT32U timeoutMs = 2; |
| } |
| |
| request struct SetRegulatoryConfigRequest { |
| RegulatoryLocationType location = 0; |
| CHAR_STRING countryCode = 1; |
| INT64U breadcrumb = 2; |
| INT32U timeoutMs = 3; |
| } |
| |
| response struct ArmFailSafeResponse { |
| GeneralCommissioningError errorCode = 0; |
| CHAR_STRING debugText = 1; |
| } |
| |
| response struct CommissioningCompleteResponse { |
| GeneralCommissioningError errorCode = 0; |
| CHAR_STRING debugText = 1; |
| } |
| |
| response struct SetRegulatoryConfigResponse { |
| GeneralCommissioningError errorCode = 0; |
| CHAR_STRING debugText = 1; |
| } |
| |
| command ArmFailSafe(ArmFailSafeRequest): ArmFailSafeResponse = 0; |
| command CommissioningComplete(): CommissioningCompleteResponse = 4; |
| command SetRegulatoryConfig(SetRegulatoryConfigRequest): SetRegulatoryConfigResponse = 2; |
| } |
| |
| server cluster GeneralDiagnostics = 51 { |
| enum BootReasonType : ENUM8 { |
| kUnspecified = 0; |
| kPowerOnReboot = 1; |
| kBrownOutReset = 2; |
| kSoftwareWatchdogReset = 3; |
| kHardwareWatchdogReset = 4; |
| kSoftwareUpdateCompleted = 5; |
| kSoftwareReset = 6; |
| } |
| |
| enum HardwareFaultType : ENUM8 { |
| kUnspecified = 0; |
| kRadio = 1; |
| kSensor = 2; |
| kResettableOverTemp = 3; |
| kNonResettableOverTemp = 4; |
| kPowerSource = 5; |
| kVisualDisplayFault = 6; |
| kAudioOutputFault = 7; |
| kUserInterfaceFault = 8; |
| kNonVolatileMemoryError = 9; |
| kTamperDetected = 10; |
| } |
| |
| enum InterfaceType : ENUM8 { |
| kUnspecified = 0; |
| kWiFi = 1; |
| kEthernet = 2; |
| kCellular = 3; |
| kThread = 4; |
| } |
| |
| enum NetworkFaultType : ENUM8 { |
| kUnspecified = 0; |
| kHardwareFailure = 1; |
| kNetworkJammed = 2; |
| kConnectionFailed = 3; |
| } |
| |
| enum RadioFaultType : ENUM8 { |
| kUnspecified = 0; |
| kWiFiFault = 1; |
| kCellularFault = 2; |
| kThreadFault = 3; |
| kNFCFault = 4; |
| kBLEFault = 5; |
| kEthernetFault = 6; |
| } |
| |
| struct NetworkInterfaceType { |
| CHAR_STRING<32> name = 0; |
| BOOLEAN fabricConnected = 1; |
| BOOLEAN offPremiseServicesReachableIPv4 = 2; |
| BOOLEAN offPremiseServicesReachableIPv6 = 3; |
| OCTET_STRING<8> hardwareAddress = 4; |
| InterfaceType type = 5; |
| } |
| |
| critical event HardwareFaultChange = 0 { |
| HardwareFaultType current[] = 0; |
| HardwareFaultType previous[] = 1; |
| } |
| |
| critical event RadioFaultChange = 1 { |
| RadioFaultType current[] = 0; |
| RadioFaultType previous[] = 1; |
| } |
| |
| critical event NetworkFaultChange = 2 { |
| NetworkFaultType current[] = 0; |
| NetworkFaultType previous[] = 1; |
| } |
| |
| critical event BootReason = 3 { |
| BootReasonType bootReason = 0; |
| } |
| |
| readonly attribute NetworkInterfaceType networkInterfaces[] = 0; |
| readonly attribute int16u rebootCount = 1; |
| readonly attribute int64u upTime = 2; |
| readonly attribute int32u totalOperationalHours = 3; |
| readonly attribute enum8 bootReasons = 4; |
| readonly attribute ENUM8 activeHardwareFaults[] = 5; |
| readonly attribute ENUM8 activeRadioFaults[] = 6; |
| readonly attribute ENUM8 activeNetworkFaults[] = 7; |
| readonly global attribute int16u clusterRevision = 65533; |
| } |
| |
| server cluster GroupKeyManagement = 63 { |
| enum GroupKeySecurityPolicy : ENUM8 { |
| kStandard = 0; |
| kLowLatency = 1; |
| } |
| |
| struct GroupKey { |
| fabric_idx fabricIndex = 0; |
| INT16U groupId = 1; |
| INT16U groupKeySetID = 2; |
| } |
| |
| struct GroupInfo { |
| INT16U fabricIndex = 0; |
| INT16U groupId = 1; |
| INT16U endpoints[] = 2; |
| CHAR_STRING<16> groupName = 3; |
| } |
| |
| readonly attribute GroupKey groupKeyMap[] = 0; |
| readonly attribute GroupInfo groupTable[] = 1; |
| readonly global attribute int16u clusterRevision = 65533; |
| } |
| |
| server cluster Groups = 4 { |
| readonly attribute bitmap8 nameSupport = 0; |
| readonly global attribute int16u clusterRevision = 65533; |
| |
| request struct AddGroupRequest { |
| INT16U groupId = 0; |
| CHAR_STRING groupName = 1; |
| } |
| |
| request struct AddGroupIfIdentifyingRequest { |
| INT16U groupId = 0; |
| CHAR_STRING groupName = 1; |
| } |
| |
| request struct GetGroupMembershipRequest { |
| INT16U groupList[] = 0; |
| } |
| |
| request struct RemoveGroupRequest { |
| INT16U groupId = 0; |
| } |
| |
| request struct ViewGroupRequest { |
| INT16U groupId = 0; |
| } |
| |
| response struct AddGroupResponse { |
| ENUM8 status = 0; |
| INT16U groupId = 1; |
| } |
| |
| response struct GetGroupMembershipResponse { |
| INT8U capacity = 0; |
| INT16U groupList[] = 1; |
| } |
| |
| response struct RemoveGroupResponse { |
| ENUM8 status = 0; |
| INT16U groupId = 1; |
| } |
| |
| response struct ViewGroupResponse { |
| ENUM8 status = 0; |
| INT16U groupId = 1; |
| CHAR_STRING groupName = 2; |
| } |
| |
| command AddGroup(AddGroupRequest): AddGroupResponse = 0; |
| command AddGroupIfIdentifying(AddGroupIfIdentifyingRequest): DefaultSuccess = 5; |
| command GetGroupMembership(GetGroupMembershipRequest): GetGroupMembershipResponse = 2; |
| command RemoveAllGroups(): DefaultSuccess = 4; |
| command RemoveGroup(RemoveGroupRequest): RemoveGroupResponse = 3; |
| command ViewGroup(ViewGroupRequest): ViewGroupResponse = 1; |
| } |
| |
| server cluster IasZone = 1280 { |
| enum IasEnrollResponseCode : ENUM8 { |
| kSuccess = 0; |
| kNotSupported = 1; |
| kNoEnrollPermit = 2; |
| kTooManyZones = 3; |
| } |
| |
| enum IasZoneType : ENUM16 { |
| kStandardCie = 0; |
| kMotionSensor = 13; |
| kContactSwitch = 21; |
| kFireSensor = 40; |
| kWaterSensor = 42; |
| kGasSensor = 43; |
| kPersonalEmergencyDevice = 44; |
| kVibrationMovementSensor = 45; |
| kRemoteControl = 271; |
| kKeyFob = 277; |
| kKeypad = 541; |
| kStandardWarningDevice = 549; |
| kGlassBreakSensor = 550; |
| kCarbonMonoxideSensor = 551; |
| kSecurityRepeater = 553; |
| kInvalidZoneType = 65535; |
| } |
| |
| bitmap IasZoneStatus : BITMAP16 { |
| kAlarm1 = 0x1; |
| kAlarm2 = 0x2; |
| kTamper = 0x4; |
| kBattery = 0x8; |
| kSupervisionReports = 0x10; |
| kRestoreReports = 0x20; |
| kTrouble = 0x40; |
| kAc = 0x80; |
| kTest = 0x100; |
| kBatteryDefect = 0x200; |
| } |
| |
| readonly attribute enum8 zoneState = 0; |
| readonly attribute enum16 zoneType = 1; |
| readonly attribute bitmap16 zoneStatus = 2; |
| attribute node_id iasCieAddress = 16; |
| readonly attribute int8u zoneId = 17; |
| readonly global attribute int16u clusterRevision = 65533; |
| |
| request struct ZoneEnrollRequestRequest { |
| IasZoneType zoneType = 0; |
| INT16U manufacturerCode = 1; |
| } |
| |
| request struct ZoneStatusChangeNotificationRequest { |
| IasZoneStatus zoneStatus = 0; |
| BITMAP8 extendedStatus = 1; |
| INT8U zoneId = 2; |
| INT16U delay = 3; |
| } |
| |
| response struct ZoneEnrollResponse { |
| IasEnrollResponseCode enrollResponseCode = 0; |
| INT8U zoneId = 1; |
| } |
| |
| command ZoneEnrollRequest(ZoneEnrollRequestRequest): ZoneEnrollResponse = 1; |
| command ZoneStatusChangeNotification(ZoneStatusChangeNotificationRequest): DefaultSuccess = 0; |
| } |
| |
| server cluster Identify = 3 { |
| enum IdentifyEffectIdentifier : ENUM8 { |
| kBlink = 0; |
| kBreathe = 1; |
| kOkay = 2; |
| kChannelChange = 11; |
| kFinishEffect = 254; |
| kStopEffect = 255; |
| } |
| |
| enum IdentifyEffectVariant : ENUM8 { |
| kDefault = 0; |
| } |
| |
| enum IdentifyIdentifyType : ENUM8 { |
| kNone = 0; |
| kVisibleLight = 1; |
| kVisibleLED = 2; |
| kAudibleBeep = 3; |
| kDisplay = 4; |
| kActuator = 5; |
| } |
| |
| attribute int16u identifyTime = 0; |
| readonly global attribute int16u clusterRevision = 65533; |
| |
| request struct IdentifyRequest { |
| INT16U identifyTime = 0; |
| } |
| |
| response struct IdentifyQueryResponse { |
| INT16U timeout = 0; |
| } |
| |
| command Identify(IdentifyRequest): DefaultSuccess = 0; |
| command IdentifyQuery(): IdentifyQueryResponse = 1; |
| } |
| |
| client 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 StatusEnum : ENUM8 { |
| kSuccess = 0; |
| kUnsupportedKey = 1; |
| kInvalidKeyInCurrentState = 2; |
| } |
| |
| bitmap KeypadInputFeature : BITMAP32 { |
| kNavigationKeyCodes = 0x1; |
| kLocationKeys = 0x2; |
| kNumberKeys = 0x4; |
| } |
| |
| readonly global attribute int16u clusterRevision = 65533; |
| |
| request struct SendKeyRequestRequest { |
| CecKeyCode keyCode = 0; |
| } |
| |
| command SendKeyRequest(SendKeyRequestRequest): SendKeyResponse = 0; |
| } |
| |
| server cluster LevelControl = 8 { |
| enum MoveMode : ENUM8 { |
| kUp = 0; |
| kDown = 1; |
| } |
| |
| enum StepMode : ENUM8 { |
| kUp = 0; |
| kDown = 1; |
| } |
| |
| bitmap LevelControlFeature : BITMAP32 { |
| kOnOff = 0x1; |
| kLighting = 0x2; |
| kFrequency = 0x4; |
| } |
| |
| readonly attribute int8u currentLevel = 0; |
| readonly attribute int16u remainingTime = 1; |
| readonly attribute int8u minLevel = 2; |
| readonly attribute int8u maxLevel = 3; |
| readonly attribute int16u currentFrequency = 4; |
| readonly attribute int16u minFrequency = 5; |
| readonly attribute int16u maxFrequency = 6; |
| attribute bitmap8 options = 15; |
| attribute int16u onOffTransitionTime = 16; |
| attribute nullable int8u onLevel = 17; |
| attribute nullable int16u onTransitionTime = 18; |
| attribute nullable int16u offTransitionTime = 19; |
| attribute nullable int8u defaultMoveRate = 20; |
| attribute nullable int8u startUpCurrentLevel = 16384; |
| readonly global attribute int16u clusterRevision = 65533; |
| |
| request struct MoveRequest { |
| MoveMode moveMode = 0; |
| INT8U rate = 1; |
| BITMAP8 optionMask = 2; |
| BITMAP8 optionOverride = 3; |
| } |
| |
| request struct MoveToLevelRequest { |
| INT8U level = 0; |
| INT16U transitionTime = 1; |
| BITMAP8 optionMask = 2; |
| BITMAP8 optionOverride = 3; |
| } |
| |
| request struct MoveToLevelWithOnOffRequest { |
| INT8U level = 0; |
| INT16U transitionTime = 1; |
| } |
| |
| request struct MoveWithOnOffRequest { |
| MoveMode moveMode = 0; |
| INT8U rate = 1; |
| } |
| |
| request struct StepRequest { |
| StepMode stepMode = 0; |
| INT8U stepSize = 1; |
| INT16U transitionTime = 2; |
| BITMAP8 optionMask = 3; |
| BITMAP8 optionOverride = 4; |
| } |
| |
| request struct StepWithOnOffRequest { |
| StepMode stepMode = 0; |
| INT8U stepSize = 1; |
| INT16U transitionTime = 2; |
| } |
| |
| request struct StopRequest { |
| BITMAP8 optionMask = 0; |
| BITMAP8 optionOverride = 1; |
| } |
| |
| command Move(MoveRequest): DefaultSuccess = 1; |
| command MoveToLevel(MoveToLevelRequest): DefaultSuccess = 0; |
| command MoveToLevelWithOnOff(MoveToLevelWithOnOffRequest): DefaultSuccess = 4; |
| command MoveWithOnOff(MoveWithOnOffRequest): DefaultSuccess = 5; |
| command Step(StepRequest): DefaultSuccess = 2; |
| command StepWithOnOff(StepWithOnOffRequest): DefaultSuccess = 6; |
| command Stop(StopRequest): DefaultSuccess = 3; |
| command StopWithOnOff(): DefaultSuccess = 7; |
| } |
| |
| server cluster LocalizationConfiguration = 43 { |
| attribute char_string<35> activeLocale = 1; |
| readonly attribute CHAR_STRING supportedLocales[] = 2; |
| readonly global attribute int16u clusterRevision = 65533; |
| } |
| |
| client 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 MediaInputFeature : BITMAP32 { |
| kNameUpdates = 0x1; |
| } |
| |
| struct InputInfo { |
| INT8U index = 0; |
| InputTypeEnum inputType = 1; |
| CHAR_STRING<32> name = 2; |
| CHAR_STRING<32> description = 3; |
| } |
| |
| readonly attribute InputInfo mediaInputList[] = 0; |
| readonly global attribute int16u clusterRevision = 65533; |
| |
| request struct RenameInputRequestRequest { |
| INT8U index = 0; |
| CHAR_STRING name = 1; |
| } |
| |
| request struct SelectInputRequestRequest { |
| INT8U index = 0; |
| } |
| |
| command HideInputStatusRequest(): DefaultSuccess = 2; |
| command RenameInputRequest(RenameInputRequestRequest): DefaultSuccess = 3; |
| command SelectInputRequest(SelectInputRequestRequest): DefaultSuccess = 0; |
| command ShowInputStatusRequest(): DefaultSuccess = 1; |
| } |
| |
| client cluster MediaPlayback = 1286 { |
| enum PlaybackStateEnum : ENUM8 { |
| kPlaying = 0; |
| kPaused = 1; |
| kNotPlaying = 2; |
| kBuffering = 3; |
| } |
| |
| enum StatusEnum : ENUM8 { |
| kSuccess = 0; |
| kInvalidStateForCommand = 1; |
| kNotAllowed = 2; |
| kNotActive = 3; |
| kSpeedOutOfRange = 4; |
| kSeekOutOfRange = 5; |
| } |
| |
| readonly global attribute int16u clusterRevision = 65533; |
| |
| request struct SeekRequestRequest { |
| INT64U position = 0; |
| } |
| |
| request struct SkipBackwardRequestRequest { |
| INT64U deltaPositionMilliseconds = 0; |
| } |
| |
| request struct SkipForwardRequestRequest { |
| INT64U deltaPositionMilliseconds = 0; |
| } |
| |
| command FastForwardRequest(): PlaybackResponse = 7; |
| command NextRequest(): PlaybackResponse = 5; |
| command PauseRequest(): PlaybackResponse = 1; |
| command PlayRequest(): PlaybackResponse = 0; |
| command PreviousRequest(): PlaybackResponse = 4; |
| command RewindRequest(): PlaybackResponse = 6; |
| command SeekRequest(SeekRequestRequest): PlaybackResponse = 11; |
| command SkipBackwardRequest(SkipBackwardRequestRequest): PlaybackResponse = 9; |
| command SkipForwardRequest(SkipForwardRequestRequest): PlaybackResponse = 8; |
| command StartOverRequest(): PlaybackResponse = 3; |
| command StopRequest(): PlaybackResponse = 2; |
| } |
| |
| server cluster NetworkCommissioning = 49 { |
| enum NetworkCommissioningStatus : ENUM8 { |
| kSuccess = 0; |
| kOutOfRange = 1; |
| kBoundsExceeded = 2; |
| kNetworkIDNotFound = 3; |
| kDuplicateNetworkID = 4; |
| kNetworkNotFound = 5; |
| kRegulatoryError = 6; |
| kAuthFailure = 7; |
| kUnsupportedSecurity = 8; |
| kOtherConnectionFailure = 9; |
| kIPV6Failed = 10; |
| kIPBindFailed = 11; |
| kUnknownError = 12; |
| } |
| |
| enum WiFiBand : ENUM8 { |
| k2g4 = 0; |
| k3g65 = 1; |
| k5g = 2; |
| k6g = 3; |
| k60g = 4; |
| } |
| |
| bitmap NetworkCommissioningFeature : BITMAP32 { |
| kWiFiNetworkInterface = 0x1; |
| kThreadNetworkInterface = 0x2; |
| kEthernetNetworkInterface = 0x4; |
| } |
| |
| struct NetworkInfo { |
| OCTET_STRING networkID = 0; |
| BOOLEAN connected = 1; |
| } |
| |
| struct WiFiInterfaceScanResult { |
| BITMAP8 security = 0; |
| OCTET_STRING ssid = 1; |
| OCTET_STRING bssid = 2; |
| INT16U channel = 3; |
| WiFiBand wiFiBand = 4; |
| INT8S rssi = 5; |
| } |
| |
| struct ThreadInterfaceScanResult { |
| INT64U panId = 0; |
| INT64U extendedPanId = 1; |
| CHAR_STRING networkName = 2; |
| INT16U channel = 3; |
| INT8U version = 4; |
| INT64U extendedAddress = 5; |
| INT8S rssi = 6; |
| INT8U lqi = 7; |
| } |
| |
| readonly attribute int8u maxNetworks = 0; |
| readonly attribute NetworkInfo networks[] = 1; |
| readonly attribute int8u scanMaxTimeSeconds = 2; |
| readonly attribute int8u connectMaxTimeSeconds = 3; |
| attribute boolean interfaceEnabled = 4; |
| readonly attribute NetworkCommissioningStatus lastNetworkingStatus = 5; |
| readonly attribute octet_string<32> lastNetworkID = 6; |
| readonly attribute int32u lastConnectErrorValue = 7; |
| readonly global attribute bitmap32 featureMap = 65532; |
| readonly global attribute int16u clusterRevision = 65533; |
| |
| request struct AddOrUpdateThreadNetworkRequest { |
| OCTET_STRING operationalDataset = 0; |
| INT64U breadcrumb = 1; |
| } |
| |
| request struct AddOrUpdateWiFiNetworkRequest { |
| OCTET_STRING ssid = 0; |
| OCTET_STRING credentials = 1; |
| INT64U breadcrumb = 2; |
| } |
| |
| request struct ConnectNetworkRequest { |
| OCTET_STRING networkID = 0; |
| INT64U breadcrumb = 1; |
| } |
| |
| request struct RemoveNetworkRequest { |
| OCTET_STRING networkID = 0; |
| INT64U breadcrumb = 1; |
| } |
| |
| request struct ReorderNetworkRequest { |
| OCTET_STRING networkID = 0; |
| INT8U networkIndex = 1; |
| INT64U breadcrumb = 2; |
| } |
| |
| request struct ScanNetworksRequest { |
| OCTET_STRING ssid = 0; |
| INT64U breadcrumb = 1; |
| } |
| |
| response struct ConnectNetworkResponse { |
| NetworkCommissioningStatus networkingStatus = 0; |
| CHAR_STRING debugText = 1; |
| INT32S errorValue = 2; |
| } |
| |
| response struct NetworkConfigResponse { |
| NetworkCommissioningStatus networkingStatus = 0; |
| CHAR_STRING debugText = 1; |
| } |
| |
| response struct ScanNetworksResponse { |
| NetworkCommissioningStatus networkingStatus = 0; |
| CHAR_STRING debugText = 1; |
| optional WiFiInterfaceScanResult wiFiScanResults[] = 2; |
| optional ThreadInterfaceScanResult threadScanResults[] = 3; |
| } |
| |
| command AddOrUpdateThreadNetwork(AddOrUpdateThreadNetworkRequest): NetworkConfigResponse = 3; |
| command AddOrUpdateWiFiNetwork(AddOrUpdateWiFiNetworkRequest): NetworkConfigResponse = 2; |
| command ConnectNetwork(ConnectNetworkRequest): ConnectNetworkResponse = 6; |
| command RemoveNetwork(RemoveNetworkRequest): NetworkConfigResponse = 4; |
| command ReorderNetwork(ReorderNetworkRequest): NetworkConfigResponse = 8; |
| command ScanNetworks(ScanNetworksRequest): ScanNetworksResponse = 0; |
| } |
| |
| server cluster OtaSoftwareUpdateProvider = 41 { |
| enum OTAApplyUpdateAction : ENUM8 { |
| kProceed = 0; |
| kAwaitNextAction = 1; |
| kDiscontinue = 2; |
| } |
| |
| enum OTADownloadProtocol : ENUM8 { |
| kBDXSynchronous = 0; |
| kBDXAsynchronous = 1; |
| kHttps = 2; |
| kVendorSpecific = 3; |
| } |
| |
| enum OTAQueryStatus : ENUM8 { |
| kUpdateAvailable = 0; |
| kBusy = 1; |
| kNotAvailable = 2; |
| kDownloadProtocolNotSupported = 3; |
| } |
| |
| readonly global attribute int16u clusterRevision = 65533; |
| |
| request struct ApplyUpdateRequestRequest { |
| OCTET_STRING updateToken = 0; |
| INT32U newVersion = 1; |
| } |
| |
| request struct NotifyUpdateAppliedRequest { |
| OCTET_STRING updateToken = 0; |
| INT32U softwareVersion = 1; |
| } |
| |
| request struct QueryImageRequest { |
| vendor_id vendorId = 0; |
| INT16U productId = 1; |
| INT32U softwareVersion = 2; |
| OTADownloadProtocol protocolsSupported[] = 3; |
| optional INT16U hardwareVersion = 4; |
| optional CHAR_STRING location = 5; |
| optional BOOLEAN requestorCanConsent = 6; |
| optional OCTET_STRING metadataForProvider = 7; |
| } |
| |
| response struct ApplyUpdateResponse { |
| OTAApplyUpdateAction action = 0; |
| INT32U delayedActionTime = 1; |
| } |
| |
| response struct QueryImageResponse { |
| OTAQueryStatus status = 0; |
| optional INT32U delayedActionTime = 1; |
| optional CHAR_STRING imageURI = 2; |
| optional INT32U softwareVersion = 3; |
| optional CHAR_STRING softwareVersionString = 4; |
| optional OCTET_STRING updateToken = 5; |
| optional BOOLEAN userConsentNeeded = 6; |
| optional OCTET_STRING metadataForRequestor = 7; |
| } |
| |
| command ApplyUpdateRequest(ApplyUpdateRequestRequest): ApplyUpdateResponse = 2; |
| command NotifyUpdateApplied(NotifyUpdateAppliedRequest): DefaultSuccess = 4; |
| command QueryImage(QueryImageRequest): QueryImageResponse = 0; |
| } |
| |
| server cluster OccupancySensing = 1030 { |
| readonly attribute bitmap8 occupancy = 0; |
| readonly attribute enum8 occupancySensorType = 1; |
| readonly attribute bitmap8 occupancySensorTypeBitmap = 2; |
| readonly global attribute int16u clusterRevision = 65533; |
| } |
| |
| server cluster OnOff = 6 { |
| enum OnOffDelayedAllOffEffectVariant : enum8 { |
| kFadeToOffIn0p8Seconds = 0; |
| kNoFade = 1; |
| k50PercentDimDownIn0p8SecondsThenFadeToOffIn12Seconds = 2; |
| } |
| |
| enum OnOffDyingLightEffectVariant : enum8 { |
| k20PercenterDimUpIn0p5SecondsThenFadeToOffIn1Second = 0; |
| } |
| |
| enum OnOffEffectIdentifier : enum8 { |
| kDelayedAllOff = 0; |
| kDyingLight = 1; |
| } |
| |
| bitmap OnOffControl : BITMAP8 { |
| kAcceptOnlyWhenOn = 0x1; |
| } |
| |
| readonly attribute boolean onOff = 0; |
| readonly attribute boolean globalSceneControl = 16384; |
| attribute int16u onTime = 16385; |
| attribute int16u offWaitTime = 16386; |
| attribute enum8 startUpOnOff = 16387; |
| readonly global attribute bitmap32 featureMap = 65532; |
| readonly global attribute int16u clusterRevision = 65533; |
| |
| command Off(): DefaultSuccess = 0; |
| command On(): DefaultSuccess = 1; |
| command Toggle(): DefaultSuccess = 2; |
| } |
| |
| server cluster OperationalCredentials = 62 { |
| enum NodeOperationalCertStatus : ENUM8 { |
| kSuccess = 0; |
| kInvalidPublicKey = 1; |
| kInvalidNodeOpId = 2; |
| kInvalidNOC = 3; |
| kMissingCsr = 4; |
| kTableFull = 5; |
| kInsufficientPrivilege = 8; |
| kFabricConflict = 9; |
| kLabelConflict = 10; |
| kInvalidFabricIndex = 11; |
| } |
| |
| struct NOCStruct { |
| fabric_idx fabricIndex = 0; |
| OCTET_STRING noc = 1; |
| nullable OCTET_STRING icac = 2; |
| } |
| |
| struct FabricDescriptor { |
| fabric_idx fabricIndex = 0; |
| OCTET_STRING<65> rootPublicKey = 1; |
| INT16U vendorId = 2; |
| FABRIC_ID fabricId = 3; |
| NODE_ID nodeId = 4; |
| CHAR_STRING<32> label = 5; |
| } |
| |
| readonly attribute NOCStruct NOCs[] = 0; |
| readonly attribute FabricDescriptor fabricsList[] = 1; |
| readonly attribute int8u supportedFabrics = 2; |
| readonly attribute int8u commissionedFabrics = 3; |
| readonly attribute OCTET_STRING trustedRootCertificates[] = 4; |
| readonly attribute fabric_idx currentFabricIndex = 5; |
| readonly global attribute int16u clusterRevision = 65533; |
| |
| request struct AddNOCRequest { |
| OCTET_STRING NOCValue = 0; |
| optional OCTET_STRING ICACValue = 1; |
| OCTET_STRING IPKValue = 2; |
| NODE_ID caseAdminNode = 3; |
| INT16U adminVendorId = 4; |
| } |
| |
| request struct AddTrustedRootCertificateRequest { |
| OCTET_STRING rootCertificate = 0; |
| } |
| |
| request struct AttestationRequestRequest { |
| OCTET_STRING attestationNonce = 0; |
| } |
| |
| request struct CertificateChainRequestRequest { |
| INT8U certificateType = 0; |
| } |
| |
| request struct OpCSRRequestRequest { |
| OCTET_STRING CSRNonce = 0; |
| } |
| |
| request struct RemoveFabricRequest { |
| INT8U fabricIndex = 0; |
| } |
| |
| request struct RemoveTrustedRootCertificateRequest { |
| OCTET_STRING trustedRootIdentifier = 0; |
| } |
| |
| request struct UpdateFabricLabelRequest { |
| CHAR_STRING label = 0; |
| } |
| |
| request struct UpdateNOCRequest { |
| OCTET_STRING NOCValue = 0; |
| optional OCTET_STRING ICACValue = 1; |
| } |
| |
| response struct AttestationResponse { |
| OCTET_STRING attestationElements = 0; |
| OCTET_STRING signature = 1; |
| } |
| |
| response struct CertificateChainResponse { |
| OCTET_STRING certificate = 0; |
| } |
| |
| response struct NOCResponse { |
| INT8U statusCode = 0; |
| INT8U fabricIndex = 1; |
| CHAR_STRING debugText = 2; |
| } |
| |
| response struct OpCSRResponse { |
| OCTET_STRING NOCSRElements = 0; |
| OCTET_STRING attestationSignature = 1; |
| } |
| |
| command AddNOC(AddNOCRequest): NOCResponse = 6; |
| command AddTrustedRootCertificate(AddTrustedRootCertificateRequest): DefaultSuccess = 11; |
| command AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; |
| command CertificateChainRequest(CertificateChainRequestRequest): CertificateChainResponse = 2; |
| command OpCSRRequest(OpCSRRequestRequest): OpCSRResponse = 4; |
| command RemoveFabric(RemoveFabricRequest): NOCResponse = 10; |
| command RemoveTrustedRootCertificate(RemoveTrustedRootCertificateRequest): DefaultSuccess = 12; |
| command UpdateFabricLabel(UpdateFabricLabelRequest): NOCResponse = 9; |
| command UpdateNOC(UpdateNOCRequest): NOCResponse = 7; |
| } |
| |
| server cluster PressureMeasurement = 1027 { |
| readonly attribute int16s measuredValue = 0; |
| readonly attribute int16s minMeasuredValue = 1; |
| readonly attribute int16s maxMeasuredValue = 2; |
| readonly global attribute int16u clusterRevision = 65533; |
| } |
| |
| server cluster RelativeHumidityMeasurement = 1029 { |
| readonly attribute int16u measuredValue = 0; |
| readonly attribute int16u minMeasuredValue = 1; |
| readonly attribute int16u maxMeasuredValue = 2; |
| readonly global attribute int16u clusterRevision = 65533; |
| } |
| |
| server cluster Scenes = 5 { |
| bitmap ScenesCopyMode : BITMAP8 { |
| kCopyAllScenes = 0x1; |
| } |
| |
| struct SceneExtensionFieldSet { |
| CLUSTER_ID clusterId = 0; |
| INT8U length = 1; |
| INT8U value = 2; |
| } |
| |
| readonly attribute int8u sceneCount = 0; |
| readonly attribute int8u currentScene = 1; |
| readonly attribute int16u currentGroup = 2; |
| readonly attribute boolean sceneValid = 3; |
| readonly attribute bitmap8 nameSupport = 4; |
| readonly global attribute int16u clusterRevision = 65533; |
| |
| request struct AddSceneRequest { |
| INT16U groupId = 0; |
| INT8U sceneId = 1; |
| INT16U transitionTime = 2; |
| CHAR_STRING sceneName = 3; |
| SceneExtensionFieldSet extensionFieldSets[] = 4; |
| } |
| |
| request struct GetSceneMembershipRequest { |
| INT16U groupId = 0; |
| } |
| |
| request struct RecallSceneRequest { |
| INT16U groupId = 0; |
| INT8U sceneId = 1; |
| INT16U transitionTime = 2; |
| } |
| |
| request struct RemoveAllScenesRequest { |
| INT16U groupId = 0; |
| } |
| |
| request struct RemoveSceneRequest { |
| INT16U groupId = 0; |
| INT8U sceneId = 1; |
| } |
| |
| request struct StoreSceneRequest { |
| INT16U groupId = 0; |
| INT8U sceneId = 1; |
| } |
| |
| request struct ViewSceneRequest { |
| INT16U groupId = 0; |
| INT8U sceneId = 1; |
| } |
| |
| response struct AddSceneResponse { |
| ENUM8 status = 0; |
| INT16U groupId = 1; |
| INT8U sceneId = 2; |
| } |
| |
| response struct GetSceneMembershipResponse { |
| ENUM8 status = 0; |
| INT8U capacity = 1; |
| INT16U groupId = 2; |
| INT8U sceneCount = 3; |
| INT8U sceneList[] = 4; |
| } |
| |
| response struct RemoveAllScenesResponse { |
| ENUM8 status = 0; |
| INT16U groupId = 1; |
| } |
| |
| response struct RemoveSceneResponse { |
| ENUM8 status = 0; |
| INT16U groupId = 1; |
| INT8U sceneId = 2; |
| } |
| |
| response struct StoreSceneResponse { |
| ENUM8 status = 0; |
| INT16U groupId = 1; |
| INT8U sceneId = 2; |
| } |
| |
| response struct ViewSceneResponse { |
| ENUM8 status = 0; |
| INT16U groupId = 1; |
| INT8U sceneId = 2; |
| INT16U transitionTime = 3; |
| CHAR_STRING sceneName = 4; |
| SceneExtensionFieldSet extensionFieldSets[] = 5; |
| } |
| |
| command AddScene(AddSceneRequest): AddSceneResponse = 0; |
| command GetSceneMembership(GetSceneMembershipRequest): GetSceneMembershipResponse = 6; |
| command RecallScene(RecallSceneRequest): DefaultSuccess = 5; |
| command RemoveAllScenes(RemoveAllScenesRequest): RemoveAllScenesResponse = 3; |
| command RemoveScene(RemoveSceneRequest): RemoveSceneResponse = 2; |
| command StoreScene(StoreSceneRequest): StoreSceneResponse = 4; |
| command ViewScene(ViewSceneRequest): ViewSceneResponse = 1; |
| } |
| |
| server cluster SoftwareDiagnostics = 52 { |
| struct ThreadMetrics { |
| INT64U id = 0; |
| CHAR_STRING<8> name = 1; |
| INT32U stackFreeCurrent = 2; |
| INT32U stackFreeMinimum = 3; |
| INT32U stackSize = 4; |
| } |
| |
| info event SoftwareFault = 0 { |
| SoftwareFaultStruct softwareFault = 0; |
| } |
| |
| readonly attribute ThreadMetrics threadMetrics[] = 0; |
| readonly attribute int64u currentHeapFree = 1; |
| readonly attribute int64u currentHeapUsed = 2; |
| readonly attribute int64u currentHeapHighWatermark = 3; |
| 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 global attribute int16u clusterRevision = 65533; |
| } |
| |
| client cluster TargetNavigator = 1285 { |
| enum StatusEnum : ENUM8 { |
| kSuccess = 0; |
| kAppNotAvailable = 1; |
| kSystemBusy = 2; |
| } |
| |
| struct TargetInfo { |
| INT8U identifier = 0; |
| CHAR_STRING<32> name = 1; |
| } |
| |
| readonly attribute TargetInfo targetNavigatorList[] = 0; |
| readonly global attribute int16u clusterRevision = 65533; |
| |
| request struct NavigateTargetRequestRequest { |
| INT8U target = 0; |
| CHAR_STRING data = 1; |
| } |
| |
| command NavigateTargetRequest(NavigateTargetRequestRequest): NavigateTargetResponse = 0; |
| } |
| |
| server cluster TemperatureMeasurement = 1026 { |
| readonly attribute int16s measuredValue = 0; |
| readonly attribute int16s minMeasuredValue = 1; |
| readonly attribute int16s maxMeasuredValue = 2; |
| readonly global attribute int16u clusterRevision = 65533; |
| } |
| |
| server cluster TestCluster = 1295 { |
| enum SimpleEnum : ENUM8 { |
| kUnspecified = 0; |
| kValueA = 1; |
| kValueB = 2; |
| kValueC = 3; |
| } |
| |
| bitmap SimpleBitmap : BITMAP8 { |
| kValueA = 0x1; |
| kValueB = 0x2; |
| kValueC = 0x4; |
| } |
| |
| struct TestListStructOctet { |
| INT64U fabricIndex = 0; |
| OCTET_STRING<32> operationalCert = 1; |
| } |
| |
| info event TestEvent = 1 { |
| INT8U arg1 = 1; |
| SimpleEnum arg2 = 2; |
| BOOLEAN arg3 = 3; |
| SimpleStruct arg4 = 4; |
| SimpleStruct arg5[] = 5; |
| SimpleEnum arg6[] = 6; |
| } |
| |
| info event TestFabricScopedEvent = 2 { |
| fabric_idx arg1 = 1; |
| } |
| |
| attribute boolean boolean = 0; |
| attribute bitmap8 bitmap8 = 1; |
| attribute bitmap16 bitmap16 = 2; |
| attribute bitmap32 bitmap32 = 3; |
| attribute bitmap64 bitmap64 = 4; |
| attribute int8u int8u = 5; |
| attribute int16u int16u = 6; |
| attribute int32u int32u = 8; |
| attribute int64u int64u = 12; |
| attribute int8s int8s = 13; |
| attribute int16s int16s = 14; |
| attribute int32s int32s = 16; |
| attribute int64s int64s = 20; |
| attribute enum8 enum8 = 21; |
| attribute enum16 enum16 = 22; |
| attribute octet_string<10> octetString = 25; |
| attribute INT8U listInt8u[] = 26; |
| attribute OCTET_STRING listOctetString[] = 27; |
| attribute TestListStructOctet listStructOctetString[] = 28; |
| attribute long_octet_string<1000> longOctetString = 29; |
| readonly global attribute int16u clusterRevision = 65533; |
| |
| response struct TestSpecificResponse { |
| INT8U returnValue = 0; |
| } |
| |
| command Test(): DefaultSuccess = 0; |
| command TestNotHandled(): DefaultSuccess = 1; |
| command TestSpecific(): TestSpecificResponse = 2; |
| } |
| |
| server cluster Thermostat = 513 { |
| enum SetpointAdjustMode : ENUM8 { |
| kHeatSetpoint = 0; |
| kCoolSetpoint = 1; |
| kHeatAndCoolSetpoints = 2; |
| } |
| |
| bitmap DayOfWeek : BITMAP8 { |
| kSunday = 0x1; |
| kMonday = 0x2; |
| kTuesday = 0x4; |
| kWednesday = 0x8; |
| kThursday = 0x10; |
| kFriday = 0x20; |
| kSaturday = 0x40; |
| kAwayOrVacation = 0x80; |
| } |
| |
| bitmap ModeForSequence : BITMAP8 { |
| kHeatSetpointFieldPresent = 0x1; |
| kCoolSetpointFieldPresent = 0x2; |
| } |
| |
| bitmap ThermostatFeature : BITMAP32 { |
| kHeating = 0x1; |
| kCooling = 0x2; |
| kOccupancy = 0x4; |
| kSchedule = 0x8; |
| kSetback = 0x10; |
| kAutomode = 0x20; |
| } |
| |
| readonly attribute int16s localTemperature = 0; |
| attribute int16s occupiedCoolingSetpoint = 17; |
| attribute int16s occupiedHeatingSetpoint = 18; |
| attribute enum8 controlSequenceOfOperation = 27; |
| attribute enum8 systemMode = 28; |
| readonly attribute enum8 startOfWeek = 32; |
| readonly attribute int8u numberOfWeeklyTransitions = 33; |
| readonly attribute int8u numberOfDailyTransitions = 34; |
| readonly global attribute bitmap32 featureMap = 65532; |
| readonly global attribute int16u clusterRevision = 65533; |
| |
| response struct GetWeeklyScheduleResponse { |
| ENUM8 numberOfTransitionsForSequence = 0; |
| DayOfWeek dayOfWeekForSequence = 1; |
| ModeForSequence modeForSequence = 2; |
| INT8U payload[] = 3; |
| } |
| } |
| |
| server cluster ThreadNetworkDiagnostics = 53 { |
| enum NetworkFault : ENUM8 { |
| kUnspecified = 0; |
| kLinkDown = 1; |
| kHardwareFailure = 2; |
| kNetworkJammed = 3; |
| } |
| |
| enum RoutingRole : ENUM8 { |
| kUnspecified = 0; |
| kUnassigned = 1; |
| kSleepyEndDevice = 2; |
| kEndDevice = 3; |
| kReed = 4; |
| kRouter = 5; |
| kLeader = 6; |
| } |
| |
| enum ThreadConnectionStatus : ENUM8 { |
| kConnected = 0; |
| kNotConnected = 1; |
| } |
| |
| bitmap ThreadNetworkDiagnosticsFeature : BITMAP32 { |
| kPacketCounts = 0x1; |
| kErrorCounts = 0x2; |
| kMLECounts = 0x4; |
| kMACCounts = 0x8; |
| } |
| |
| struct NeighborTable { |
| INT64U extAddress = 0; |
| INT32U age = 1; |
| INT16U rloc16 = 2; |
| INT32U linkFrameCounter = 3; |
| INT32U mleFrameCounter = 4; |
| INT8U lqi = 5; |
| INT8S averageRssi = 6; |
| INT8S lastRssi = 7; |
| INT8U frameErrorRate = 8; |
| INT8U messageErrorRate = 9; |
| BOOLEAN rxOnWhenIdle = 10; |
| BOOLEAN fullThreadDevice = 11; |
| BOOLEAN fullNetworkData = 12; |
| BOOLEAN isChild = 13; |
| } |
| |
| struct RouteTable { |
| INT64U extAddress = 0; |
| INT16U rloc16 = 1; |
| INT8U routerId = 2; |
| INT8U nextHop = 3; |
| INT8U pathCost = 4; |
| INT8U LQIIn = 5; |
| INT8U LQIOut = 6; |
| INT8U age = 7; |
| BOOLEAN allocated = 8; |
| BOOLEAN linkEstablished = 9; |
| } |
| |
| struct SecurityPolicy { |
| INT16U rotationTime = 0; |
| BITMAP16 flags = 1; |
| } |
| |
| struct OperationalDatasetComponents { |
| BOOLEAN activeTimestampPresent = 0; |
| BOOLEAN pendingTimestampPresent = 1; |
| BOOLEAN masterKeyPresent = 2; |
| BOOLEAN networkNamePresent = 3; |
| BOOLEAN extendedPanIdPresent = 4; |
| BOOLEAN meshLocalPrefixPresent = 5; |
| BOOLEAN delayPresent = 6; |
| BOOLEAN panIdPresent = 7; |
| BOOLEAN channelPresent = 8; |
| BOOLEAN pskcPresent = 9; |
| BOOLEAN securityPolicyPresent = 10; |
| BOOLEAN channelMaskPresent = 11; |
| } |
| |
| info event ConnectionStatus = 0 { |
| ThreadConnectionStatus connectionStatus = 0; |
| } |
| |
| readonly attribute int16u channel = 0; |
| readonly attribute enum8 routingRole = 1; |
| readonly attribute char_string<16> networkName = 2; |
| readonly attribute int16u panId = 3; |
| readonly attribute int64u extendedPanId = 4; |
| readonly attribute octet_string<17> meshLocalPrefix = 5; |
| readonly attribute int64u overrunCount = 6; |
| readonly attribute NeighborTable neighborTableList[] = 7; |
| readonly attribute RouteTable routeTableList[] = 8; |
| readonly attribute int32u partitionId = 9; |
| readonly attribute int8u weighting = 10; |
| readonly attribute int8u dataVersion = 11; |
| readonly attribute int8u stableDataVersion = 12; |
| readonly attribute int8u leaderRouterId = 13; |
| readonly attribute int16u detachedRoleCount = 14; |
| readonly attribute int16u childRoleCount = 15; |
| readonly attribute int16u routerRoleCount = 16; |
| readonly attribute int16u leaderRoleCount = 17; |
| readonly attribute int16u attachAttemptCount = 18; |
| readonly attribute int16u partitionIdChangeCount = 19; |
| readonly attribute int16u betterPartitionAttachAttemptCount = 20; |
| readonly attribute int16u parentChangeCount = 21; |
| readonly attribute int32u txTotalCount = 22; |
| readonly attribute int32u txUnicastCount = 23; |
| readonly attribute int32u txBroadcastCount = 24; |
| readonly attribute int32u txAckRequestedCount = 25; |
| readonly attribute int32u txAckedCount = 26; |
| readonly attribute int32u txNoAckRequestedCount = 27; |
| readonly attribute int32u txDataCount = 28; |
| readonly attribute int32u txDataPollCount = 29; |
| readonly attribute int32u txBeaconCount = 30; |
| readonly attribute int32u txBeaconRequestCount = 31; |
| readonly attribute int32u txOtherCount = 32; |
| readonly attribute int32u txRetryCount = 33; |
| readonly attribute int32u txDirectMaxRetryExpiryCount = 34; |
| readonly attribute int32u txIndirectMaxRetryExpiryCount = 35; |
| readonly attribute int32u txErrCcaCount = 36; |
| readonly attribute int32u txErrAbortCount = 37; |
| readonly attribute int32u txErrBusyChannelCount = 38; |
| readonly attribute int32u rxTotalCount = 39; |
| readonly attribute int32u rxUnicastCount = 40; |
| readonly attribute int32u rxBroadcastCount = 41; |
| readonly attribute int32u rxDataCount = 42; |
| readonly attribute int32u rxDataPollCount = 43; |
| readonly attribute int32u rxBeaconCount = 44; |
| readonly attribute int32u rxBeaconRequestCount = 45; |
| readonly attribute int32u rxOtherCount = 46; |
| readonly attribute int32u rxAddressFilteredCount = 47; |
| readonly attribute int32u rxDestAddrFilteredCount = 48; |
| readonly attribute int32u rxDuplicatedCount = 49; |
| readonly attribute int32u rxErrNoFrameCount = 50; |
| readonly attribute int32u rxErrUnknownNeighborCount = 51; |
| readonly attribute int32u rxErrInvalidSrcAddrCount = 52; |
| readonly attribute int32u rxErrSecCount = 53; |
| readonly attribute int32u rxErrFcsCount = 54; |
| readonly attribute int32u rxErrOtherCount = 55; |
| readonly attribute int64u activeTimestamp = 56; |
| readonly attribute int64u pendingTimestamp = 57; |
| readonly attribute int32u delay = 58; |
| readonly attribute SecurityPolicy securityPolicy[] = 59; |
| readonly attribute octet_string<4> channelMask = 60; |
| readonly attribute OperationalDatasetComponents operationalDatasetComponents[] = 61; |
| readonly attribute NetworkFault activeNetworkFaultsList[] = 62; |
| readonly global attribute bitmap32 featureMap = 65532; |
| readonly global attribute int16u clusterRevision = 65533; |
| } |
| |
| server cluster TimeFormatLocalization = 44 { |
| enum CalendarType : ENUM8 { |
| kBuddhist = 0; |
| kChinese = 1; |
| kCoptic = 2; |
| kEthiopian = 3; |
| kGregorian = 4; |
| kHebrew = 5; |
| kIndian = 6; |
| kIslamic = 7; |
| kJapanese = 8; |
| kKorean = 9; |
| kPersian = 10; |
| kTaiwanese = 11; |
| } |
| |
| enum HourFormat : ENUM8 { |
| k12hr = 0; |
| k24hr = 1; |
| } |
| |
| attribute HourFormat hourFormat = 0; |
| attribute CalendarType activeCalendarType = 1; |
| readonly attribute CalendarType supportedCalendarTypes[] = 2; |
| readonly global attribute int16u clusterRevision = 65533; |
| } |
| |
| server cluster UnitLocalization = 45 { |
| enum TempUnit : ENUM8 { |
| kFahrenheit = 0; |
| kCelsius = 1; |
| kKelvin = 2; |
| } |
| |
| bitmap UnitLocalizationFeature : BITMAP32 { |
| kTemperatureUnit = 0x1; |
| } |
| |
| attribute TempUnit temperatureUnit = 0; |
| readonly global attribute bitmap32 featureMap = 65532; |
| readonly global attribute int16u clusterRevision = 65533; |
| } |
| |
| server cluster UserLabel = 65 { |
| attribute LabelStruct labelList[] = 0; |
| readonly global attribute int16u clusterRevision = 65533; |
| } |
| |
| server cluster WakeOnLan = 1283 { |
| readonly attribute char_string<32> wakeOnLanMacAddress = 0; |
| readonly global attribute int16u clusterRevision = 65533; |
| } |
| |
| server cluster WiFiNetworkDiagnostics = 54 { |
| enum AssociationFailureCause : ENUM8 { |
| kUnknown = 0; |
| kAssociationFailed = 1; |
| kAuthenticationFailed = 2; |
| kSsidNotFound = 3; |
| } |
| |
| enum SecurityType : ENUM8 { |
| kUnspecified = 0; |
| kNone = 1; |
| kWep = 2; |
| kWpa = 3; |
| kWpa2 = 4; |
| kWpa3 = 5; |
| } |
| |
| enum WiFiConnectionStatus : ENUM8 { |
| kConnected = 0; |
| kNotConnected = 1; |
| } |
| |
| enum WiFiVersionType : ENUM8 { |
| k80211a = 0; |
| k80211b = 1; |
| k80211g = 2; |
| k80211n = 3; |
| k80211ac = 4; |
| k80211ax = 5; |
| } |
| |
| info event Disconnection = 0 { |
| INT16U reasonCode = 0; |
| } |
| |
| info event AssociationFailure = 1 { |
| AssociationFailureCause associationFailure = 0; |
| INT16U status = 1; |
| } |
| |
| info event ConnectionStatus = 2 { |
| WiFiConnectionStatus connectionStatus = 0; |
| } |
| |
| readonly attribute octet_string<6> bssid = 0; |
| readonly attribute enum8 securityType = 1; |
| readonly attribute enum8 wiFiVersion = 2; |
| readonly attribute int16u channelNumber = 3; |
| readonly attribute int8s rssi = 4; |
| readonly attribute int32u beaconLostCount = 5; |
| readonly attribute int32u beaconRxCount = 6; |
| readonly attribute int32u packetMulticastRxCount = 7; |
| readonly attribute int32u packetMulticastTxCount = 8; |
| readonly attribute int32u packetUnicastRxCount = 9; |
| readonly attribute int32u packetUnicastTxCount = 10; |
| readonly attribute int64u currentMaxRate = 11; |
| readonly attribute int64u overrunCount = 12; |
| readonly global attribute bitmap32 featureMap = 65532; |
| readonly global attribute int16u clusterRevision = 65533; |
| } |
| |
| server cluster WindowCovering = 258 { |
| bitmap WcConfigStatus : BITMAP8 { |
| kOperational = 0x1; |
| kOnline = 0x2; |
| kOpenAndUpCommandsReversed = 0x4; |
| kLiftPositionAware = 0x8; |
| kTiltPositionAware = 0x10; |
| kLiftEncoderControlled = 0x20; |
| kTiltEncoderControlled = 0x40; |
| } |
| |
| bitmap WcFeature : BITMAP32 { |
| kLift = 0x1; |
| kTilt = 0x2; |
| kPositionAwareLift = 0x4; |
| kAbsolutePosition = 0x8; |
| kPositionAwareTilt = 0x10; |
| } |
| |
| bitmap WcMode : BITMAP8 { |
| kMotorDirectionReversed = 0x1; |
| kCalibrationMode = 0x2; |
| kMaintenanceMode = 0x4; |
| kLEDFeedback = 0x8; |
| } |
| |
| bitmap WcOperationalStatus : BITMAP8 { |
| kGlobal = 0x3; |
| kLift = 0xC; |
| kTilt = 0x30; |
| } |
| |
| bitmap WcSafetyStatus : BITMAP16 { |
| kRemoteLockout = 0x1; |
| kTamperDetection = 0x2; |
| kFailedCommunication = 0x4; |
| kPositionFailure = 0x8; |
| kThermalProtection = 0x10; |
| kObstacleDetected = 0x20; |
| kPower = 0x40; |
| kStopInput = 0x80; |
| kMotorJammed = 0x100; |
| kHardwareFailure = 0x200; |
| kManualOperation = 0x400; |
| kProtection = 0x800; |
| } |
| |
| readonly attribute enum8 type = 0; |
| readonly attribute nullable int16u currentPositionLift = 3; |
| readonly attribute nullable int16u currentPositionTilt = 4; |
| readonly attribute bitmap8 configStatus = 7; |
| readonly attribute nullable Percent currentPositionLiftPercentage = 8; |
| readonly attribute nullable Percent currentPositionTiltPercentage = 9; |
| readonly attribute bitmap8 operationalStatus = 10; |
| readonly attribute nullable Percent100ths targetPositionLiftPercent100ths = 11; |
| readonly attribute nullable Percent100ths targetPositionTiltPercent100ths = 12; |
| readonly attribute enum8 endProductType = 13; |
| readonly attribute nullable Percent100ths currentPositionLiftPercent100ths = 14; |
| readonly attribute nullable Percent100ths currentPositionTiltPercent100ths = 15; |
| readonly attribute int16u installedOpenLimitLift = 16; |
| readonly attribute int16u installedClosedLimitLift = 17; |
| readonly attribute int16u installedOpenLimitTilt = 18; |
| readonly attribute int16u installedClosedLimitTilt = 19; |
| attribute bitmap8 mode = 23; |
| readonly attribute bitmap16 safetyStatus = 26; |
| readonly global attribute int16u clusterRevision = 65533; |
| } |
| |
| |
| endpoint 0 { |
| server cluster AdministratorCommissioning; |
| server cluster Basic; |
| server cluster Binding; |
| server cluster Descriptor; |
| server cluster DiagnosticLogs; |
| server cluster EthernetNetworkDiagnostics; |
| server cluster FixedLabel; |
| server cluster GeneralCommissioning; |
| server cluster GeneralDiagnostics; |
| server cluster GroupKeyManagement; |
| server cluster LocalizationConfiguration; |
| server cluster NetworkCommissioning; |
| server cluster OtaSoftwareUpdateProvider; |
| server cluster OperationalCredentials; |
| server cluster RelativeHumidityMeasurement; |
| server cluster SoftwareDiagnostics; |
| server cluster ThreadNetworkDiagnostics; |
| server cluster TimeFormatLocalization; |
| server cluster UnitLocalization; |
| server cluster UserLabel; |
| server cluster WiFiNetworkDiagnostics; |
| } |
| |
| endpoint 1 { |
| binding cluster AccountLogin; |
| binding cluster ApplicationBasic; |
| binding cluster ApplicationLauncher; |
| binding cluster AudioOutput; |
| server cluster BarrierControl; |
| server cluster BinaryInputBasic; |
| server cluster Binding; |
| server cluster BridgedDeviceBasic; |
| binding cluster Channel; |
| server cluster ColorControl; |
| binding cluster ContentLauncher; |
| server cluster Descriptor; |
| server cluster DoorLock; |
| server cluster FixedLabel; |
| server cluster FlowMeasurement; |
| server cluster Groups; |
| server cluster IasZone; |
| server cluster Identify; |
| binding cluster KeypadInput; |
| server cluster LevelControl; |
| binding cluster MediaInput; |
| binding cluster MediaPlayback; |
| server cluster OnOff; |
| server cluster PressureMeasurement; |
| server cluster RelativeHumidityMeasurement; |
| server cluster Scenes; |
| server cluster Switch; |
| binding cluster TargetNavigator; |
| server cluster TemperatureMeasurement; |
| server cluster TestCluster; |
| server cluster Thermostat; |
| server cluster WakeOnLan; |
| server cluster WindowCovering; |
| } |
| |
| endpoint 2 { |
| server cluster Descriptor; |
| server cluster OccupancySensing; |
| server cluster OnOff; |
| } |
| |