Assume readwrite is the default for attributes, make readonly the only special case. Reduce bracketing (#13707)
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 8bc60ce..fe24dc6 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
@@ -62,13 +62,13 @@
ExtensionEntry latestValue = 4;
}
- attribute(writable) AccessControlEntry acl[] = 0;
- attribute(writable) ExtensionEntry extension[] = 1;
- attribute(readonly) int16u clusterRevision = 65533;
+ attribute AccessControlEntry acl[] = 0;
+ attribute ExtensionEntry extension[] = 1;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster AccountLogin = 1294 {
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster AdministratorCommissioning = 60 {
@@ -84,10 +84,10 @@
kWindowNotOpen = 3;
}
- attribute(readonly) int8u windowStatus = 0;
- attribute(readonly) fabric_idx adminFabricIndex = 1;
- attribute(readonly) int16u adminVendorId = 2;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int8u windowStatus = 0;
+ readonly attribute fabric_idx adminFabricIndex = 1;
+ readonly attribute int16u adminVendorId = 2;
+ readonly attribute int16u clusterRevision = 65533;
request struct OpenBasicCommissioningWindowRequest {
INT16U commissioningTimeout = 0;
@@ -115,14 +115,14 @@
kActiveVisibleNotFocus = 3;
}
- attribute(readonly) char_string vendorName = 0;
- attribute(readonly) int16u vendorId = 1;
- attribute(readonly) char_string applicationName = 2;
- attribute(readonly) int16u productId = 3;
- attribute(readonly) ApplicationStatusEnum applicationStatus = 5;
- attribute(readonly) char_string applicationVersion = 6;
- attribute(readonly) vendor_id allowedVendorList[] = 7;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute char_string vendorName = 0;
+ readonly attribute int16u vendorId = 1;
+ readonly attribute char_string applicationName = 2;
+ readonly attribute int16u productId = 3;
+ readonly attribute ApplicationStatusEnum applicationStatus = 5;
+ readonly attribute char_string applicationVersion = 6;
+ readonly attribute vendor_id allowedVendorList[] = 7;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster ApplicationLauncher = 1292 {
@@ -137,8 +137,8 @@
CHAR_STRING applicationId = 2;
}
- attribute(readonly) INT16U applicationLauncherList[] = 0;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute INT16U applicationLauncherList[] = 0;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster AudioOutput = 1291 {
@@ -157,17 +157,17 @@
CHAR_STRING name = 3;
}
- attribute(readonly) OutputInfo audioOutputList[] = 0;
- attribute(readonly) int8u currentAudioOutput = 1;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute OutputInfo audioOutputList[] = 0;
+ readonly attribute int8u currentAudioOutput = 1;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster BarrierControl = 259 {
- attribute(readonly) enum8 barrierMovingState = 1;
- attribute(readonly) bitmap16 barrierSafetyStatus = 2;
- attribute(readonly) bitmap8 barrierCapabilities = 3;
- attribute(readonly) int8u barrierPosition = 10;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute enum8 barrierMovingState = 1;
+ readonly attribute bitmap16 barrierSafetyStatus = 2;
+ readonly attribute bitmap8 barrierCapabilities = 3;
+ readonly attribute int8u barrierPosition = 10;
+ readonly attribute int16u clusterRevision = 65533;
request struct BarrierControlGoToPercentRequest {
INT8U percentOpen = 0;
@@ -192,39 +192,39 @@
boolean reachableNewValue = 0;
}
- attribute(readonly) int16u interactionModelVersion = 0;
- attribute(readonly) char_string vendorName = 1;
- attribute(readonly) vendor_id vendorID = 2;
- attribute(readonly) char_string productName = 3;
- attribute(readonly) int16u productID = 4;
- attribute(writable) char_string nodeLabel = 5;
- attribute(writable) char_string location = 6;
- attribute(readonly) int16u hardwareVersion = 7;
- attribute(readonly) char_string hardwareVersionString = 8;
- attribute(readonly) int32u softwareVersion = 9;
- attribute(readonly) char_string softwareVersionString = 10;
- attribute(readonly) char_string manufacturingDate = 11;
- attribute(readonly) char_string partNumber = 12;
- attribute(readonly) long_char_string productURL = 13;
- attribute(readonly) char_string productLabel = 14;
- attribute(readonly) char_string serialNumber = 15;
- attribute(writable) boolean localConfigDisabled = 16;
- attribute(readonly) boolean reachable = 17;
- attribute(readonly) char_string uniqueID = 18;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16u interactionModelVersion = 0;
+ readonly attribute char_string vendorName = 1;
+ readonly attribute vendor_id vendorID = 2;
+ readonly attribute char_string productName = 3;
+ readonly attribute int16u productID = 4;
+ attribute char_string nodeLabel = 5;
+ attribute char_string location = 6;
+ readonly attribute int16u hardwareVersion = 7;
+ readonly attribute char_string hardwareVersionString = 8;
+ readonly attribute int32u softwareVersion = 9;
+ readonly attribute char_string softwareVersionString = 10;
+ readonly attribute char_string manufacturingDate = 11;
+ readonly attribute char_string partNumber = 12;
+ readonly attribute long_char_string productURL = 13;
+ readonly attribute char_string productLabel = 14;
+ readonly attribute char_string serialNumber = 15;
+ attribute boolean localConfigDisabled = 16;
+ readonly attribute boolean reachable = 17;
+ readonly attribute char_string uniqueID = 18;
+ readonly attribute int16u clusterRevision = 65533;
command MfgSpecificPing(): DefaultSuccess = 0;
}
server cluster BinaryInputBasic = 15 {
- attribute(writable) boolean outOfService = 81;
- attribute(writable) boolean presentValue = 85;
- attribute(readonly) bitmap8 statusFlags = 111;
- attribute(readonly) int16u clusterRevision = 65533;
+ attribute boolean outOfService = 81;
+ attribute boolean presentValue = 85;
+ readonly attribute bitmap8 statusFlags = 111;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster Binding = 30 {
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16u clusterRevision = 65533;
request struct BindRequest {
NODE_ID nodeId = 0;
@@ -249,8 +249,8 @@
boolean stateValue = 0;
}
- attribute(readonly) boolean stateValue = 0;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute boolean stateValue = 0;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster BridgedActions = 37 {
@@ -311,14 +311,14 @@
ActionErrorEnum error = 3;
}
- attribute(readonly) ActionStruct actionList[] = 0;
- attribute(readonly) EndpointListStruct endpointList[] = 1;
- attribute(readonly) long_char_string setupUrl = 2;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute ActionStruct actionList[] = 0;
+ readonly attribute EndpointListStruct endpointList[] = 1;
+ readonly attribute long_char_string setupUrl = 2;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster BridgedDeviceBasic = 57 {
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster Channel = 1284 {
@@ -339,8 +339,8 @@
CHAR_STRING affiliateCallSign = 5;
}
- attribute(readonly) ChannelInfo channelList[] = 0;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute ChannelInfo channelList[] = 0;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster ColorControl = 768 {
@@ -390,59 +390,59 @@
kDown = 3;
}
- attribute(readonly) int8u currentHue = 0;
- attribute(readonly) int8u currentSaturation = 1;
- attribute(readonly) int16u remainingTime = 2;
- attribute(readonly) int16u currentX = 3;
- attribute(readonly) int16u currentY = 4;
- attribute(readonly) enum8 driftCompensation = 5;
- attribute(readonly) char_string compensationText = 6;
- attribute(readonly) int16u colorTemperature = 7;
- attribute(readonly) enum8 colorMode = 8;
- attribute(writable) bitmap8 colorControlOptions = 15;
- attribute(readonly) int8u numberOfPrimaries = 16;
- attribute(readonly) int16u primary1X = 17;
- attribute(readonly) int16u primary1Y = 18;
- attribute(readonly) int8u primary1Intensity = 19;
- attribute(readonly) int16u primary2X = 21;
- attribute(readonly) int16u primary2Y = 22;
- attribute(readonly) int8u primary2Intensity = 23;
- attribute(readonly) int16u primary3X = 25;
- attribute(readonly) int16u primary3Y = 26;
- attribute(readonly) int8u primary3Intensity = 27;
- attribute(readonly) int16u primary4X = 32;
- attribute(readonly) int16u primary4Y = 33;
- attribute(readonly) int8u primary4Intensity = 34;
- attribute(readonly) int16u primary5X = 36;
- attribute(readonly) int16u primary5Y = 37;
- attribute(readonly) int8u primary5Intensity = 38;
- attribute(readonly) int16u primary6X = 40;
- attribute(readonly) int16u primary6Y = 41;
- attribute(readonly) int8u primary6Intensity = 42;
- attribute(writable) int16u whitePointX = 48;
- attribute(writable) int16u whitePointY = 49;
- attribute(writable) int16u colorPointRX = 50;
- attribute(writable) int16u colorPointRY = 51;
- attribute(writable) int8u colorPointRIntensity = 52;
- attribute(writable) int16u colorPointGX = 54;
- attribute(writable) int16u colorPointGY = 55;
- attribute(writable) int8u colorPointGIntensity = 56;
- attribute(writable) int16u colorPointBX = 58;
- attribute(writable) int16u colorPointBY = 59;
- attribute(writable) int8u colorPointBIntensity = 60;
- attribute(readonly) int16u enhancedCurrentHue = 16384;
- attribute(readonly) enum8 enhancedColorMode = 16385;
- attribute(readonly) int8u colorLoopActive = 16386;
- attribute(readonly) int8u colorLoopDirection = 16387;
- attribute(readonly) int16u colorLoopTime = 16388;
- attribute(readonly) int16u colorLoopStartEnhancedHue = 16389;
- attribute(readonly) int16u colorLoopStoredEnhancedHue = 16390;
- attribute(readonly) bitmap16 colorCapabilities = 16394;
- attribute(readonly) int16u colorTempPhysicalMin = 16395;
- attribute(readonly) int16u colorTempPhysicalMax = 16396;
- attribute(readonly) int16u coupleColorTempToLevelMinMireds = 16397;
- attribute(writable) int16u startUpColorTemperatureMireds = 16400;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 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 int16u colorLoopStartEnhancedHue = 16389;
+ readonly attribute int16u colorLoopStoredEnhancedHue = 16390;
+ 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 attribute int16u clusterRevision = 65533;
request struct ColorLoopSetRequest {
ColorLoopUpdateFlags updateFlags = 0;
@@ -677,9 +677,9 @@
MetricTypeEnum metric = 3;
}
- attribute(readonly) CHAR_STRING acceptHeaderList[] = 0;
- attribute(writable) bitmap32 supportedStreamingProtocols = 1;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute CHAR_STRING acceptHeaderList[] = 0;
+ attribute bitmap32 supportedStreamingProtocols = 1;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster Descriptor = 29 {
@@ -688,11 +688,11 @@
INT16U revision = 2;
}
- attribute(readonly) DeviceType deviceList[] = 0;
- attribute(readonly) CLUSTER_ID serverList[] = 1;
- attribute(readonly) CLUSTER_ID clientList[] = 2;
- attribute(readonly) ENDPOINT_NO partsList[] = 3;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute DeviceType deviceList[] = 0;
+ readonly attribute CLUSTER_ID serverList[] = 1;
+ readonly attribute CLUSTER_ID clientList[] = 2;
+ readonly attribute ENDPOINT_NO partsList[] = 3;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster DiagnosticLogs = 50 {
@@ -961,34 +961,34 @@
nullable INT16U dataIndex = 6;
}
- attribute(readonly) DlLockState lockState = 0;
- attribute(readonly) DlLockType lockType = 1;
- attribute(readonly) boolean actuatorEnabled = 2;
- attribute(readonly) DlDoorState doorState = 3;
- attribute(writable) int32u doorOpenEvents = 4;
- attribute(writable) int32u doorClosedEvents = 5;
- attribute(writable) int16u openPeriod = 6;
- attribute(readonly) int16u numberOfTotalUsersSupported = 17;
- attribute(readonly) int16u numberOfPINUsersSupported = 18;
- attribute(readonly) int16u numberOfWeekDaySchedulesSupportedPerUser = 20;
- attribute(readonly) int16u numberOfYearDaySchedulesSupportedPerUser = 21;
- attribute(readonly) int16u numberOfHolidaySchedulesSupported = 22;
- attribute(readonly) int8u maxPINCodeLength = 23;
- attribute(readonly) int8u minPINCodeLength = 24;
- attribute(readonly) bitmap8 credentialRulesSupport = 27;
- attribute(writable) char_string language = 33;
- attribute(writable) int32u autoRelockTime = 35;
- attribute(writable) int8u soundVolume = 36;
- attribute(writable) DlOperatingMode operatingMode = 37;
- attribute(readonly) bitmap16 supportedOperatingModes = 38;
- attribute(readonly) bitmap16 defaultConfigurationRegister = 39;
- attribute(writable) boolean enableOneTouchLocking = 41;
- attribute(writable) boolean enableInsideStatusLED = 42;
- attribute(writable) boolean enablePrivacyModeButton = 43;
- attribute(writable) int8u wrongCodeEntryLimit = 48;
- attribute(writable) int8u userCodeTemporaryDisableTime = 49;
- attribute(writable) boolean requirePINforRemoteOperation = 51;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute DlLockState lockState = 0;
+ readonly attribute DlLockType lockType = 1;
+ readonly attribute boolean actuatorEnabled = 2;
+ readonly attribute 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 int16u numberOfWeekDaySchedulesSupportedPerUser = 20;
+ readonly attribute int16u numberOfYearDaySchedulesSupportedPerUser = 21;
+ readonly attribute int16u numberOfHolidaySchedulesSupported = 22;
+ readonly attribute int8u maxPINCodeLength = 23;
+ readonly attribute int8u minPINCodeLength = 24;
+ readonly attribute bitmap8 credentialRulesSupport = 27;
+ attribute char_string 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 attribute int16u clusterRevision = 65533;
request struct ClearCredentialRequest {
DlCredential credential = 0;
@@ -1068,18 +1068,18 @@
}
server cluster ElectricalMeasurement = 2820 {
- attribute(readonly) bitmap32 measurementType = 0;
- attribute(readonly) int32s totalActivePower = 772;
- attribute(readonly) int16u rmsVoltage = 1285;
- attribute(readonly) int16u rmsVoltageMin = 1286;
- attribute(readonly) int16u rmsVoltageMax = 1287;
- attribute(readonly) int16u rmsCurrent = 1288;
- attribute(readonly) int16u rmsCurrentMin = 1289;
- attribute(readonly) int16u rmsCurrentMax = 1290;
- attribute(readonly) int16s activePower = 1291;
- attribute(readonly) int16s activePowerMin = 1292;
- attribute(readonly) int16s activePowerMax = 1293;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute bitmap32 measurementType = 0;
+ readonly attribute int32s totalActivePower = 772;
+ readonly attribute int16u rmsVoltage = 1285;
+ readonly attribute int16u rmsVoltageMin = 1286;
+ readonly attribute int16u rmsVoltageMax = 1287;
+ readonly attribute int16u rmsCurrent = 1288;
+ readonly attribute int16u rmsCurrentMin = 1289;
+ readonly attribute int16u rmsCurrentMax = 1290;
+ readonly attribute int16s activePower = 1291;
+ readonly attribute int16s activePowerMin = 1292;
+ readonly attribute int16s activePowerMax = 1293;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster EthernetNetworkDiagnostics = 55 {
@@ -1096,32 +1096,32 @@
k400g = 9;
}
- attribute(readonly) enum8 PHYRate = 0;
- attribute(readonly) boolean fullDuplex = 1;
- attribute(readonly) int64u packetRxCount = 2;
- attribute(readonly) int64u packetTxCount = 3;
- attribute(readonly) int64u txErrCount = 4;
- attribute(readonly) int64u collisionCount = 5;
- attribute(readonly) int64u overrunCount = 6;
- attribute(readonly) boolean carrierDetect = 7;
- attribute(readonly) int64u timeSinceReset = 8;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
command ResetCounts(): DefaultSuccess = 0;
}
server cluster FixedLabel = 64 {
- attribute(readonly) LabelStruct labelList[] = 0;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute LabelStruct labelList[] = 0;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster FlowMeasurement = 1028 {
- attribute(readonly) int16s measuredValue = 0;
- attribute(readonly) int16s minMeasuredValue = 1;
- attribute(readonly) int16s maxMeasuredValue = 2;
- attribute(readonly) int16u tolerance = 3;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16s measuredValue = 0;
+ readonly attribute int16s minMeasuredValue = 1;
+ readonly attribute int16s maxMeasuredValue = 2;
+ readonly attribute int16u tolerance = 3;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster GeneralCommissioning = 48 {
@@ -1142,12 +1142,12 @@
INT32U failSafeExpiryLengthMs = 1;
}
- attribute(writable) int64u breadcrumb = 0;
- attribute(readonly) BasicCommissioningInfoType basicCommissioningInfoList[] = 1;
- attribute(readonly) enum8 regulatoryConfig = 2;
- attribute(readonly) enum8 locationCapability = 3;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ attribute int64u breadcrumb = 0;
+ readonly attribute BasicCommissioningInfoType basicCommissioningInfoList[] = 1;
+ readonly attribute enum8 regulatoryConfig = 2;
+ readonly attribute enum8 locationCapability = 3;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
request struct ArmFailSafeRequest {
INT16U expiryLengthSeconds = 0;
@@ -1260,15 +1260,15 @@
BootReasonType bootReason = 0;
}
- attribute(readonly) NetworkInterfaceType networkInterfaces[] = 0;
- attribute(readonly) int16u rebootCount = 1;
- attribute(readonly) int64u upTime = 2;
- attribute(readonly) int32u totalOperationalHours = 3;
- attribute(readonly) enum8 bootReasons = 4;
- attribute(readonly) ENUM8 activeHardwareFaults[] = 5;
- attribute(readonly) ENUM8 activeRadioFaults[] = 6;
- attribute(readonly) ENUM8 activeNetworkFaults[] = 7;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 attribute int16u clusterRevision = 65533;
}
server cluster GroupKeyManagement = 63 {
@@ -1301,11 +1301,11 @@
INT64U epochStartTime2 = 7;
}
- attribute(readonly) GroupKey groupKeyMap[] = 0;
- attribute(readonly) GroupInfo groupTable[] = 1;
- attribute(readonly) int16u maxGroupsPerFabric = 2;
- attribute(readonly) int16u maxGroupKeysPerFabric = 3;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute GroupKey groupKeyMap[] = 0;
+ readonly attribute GroupInfo groupTable[] = 1;
+ readonly attribute int16u maxGroupsPerFabric = 2;
+ readonly attribute int16u maxGroupKeysPerFabric = 3;
+ readonly attribute int16u clusterRevision = 65533;
request struct KeySetReadRequest {
INT16U groupKeySetID = 0;
@@ -1338,8 +1338,8 @@
}
server cluster Groups = 4 {
- attribute(readonly) bitmap8 nameSupport = 0;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute bitmap8 nameSupport = 0;
+ readonly attribute int16u clusterRevision = 65533;
request struct AddGroupRequest {
INT16U groupId = 0;
@@ -1419,12 +1419,12 @@
kInvalidZoneType = 65535;
}
- attribute(readonly) enum8 zoneState = 0;
- attribute(readonly) enum16 zoneType = 1;
- attribute(readonly) bitmap16 zoneStatus = 2;
- attribute(writable) node_id iasCieAddress = 16;
- attribute(readonly) int8u zoneId = 17;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 attribute int16u clusterRevision = 65533;
request struct ZoneEnrollRequestRequest {
IasZoneType zoneType = 0;
@@ -1470,9 +1470,9 @@
kActuator = 5;
}
- attribute(writable) int16u identifyTime = 0;
- attribute(readonly) enum8 identifyType = 1;
- attribute(readonly) int16u clusterRevision = 65533;
+ attribute int16u identifyTime = 0;
+ readonly attribute enum8 identifyType = 1;
+ readonly attribute int16u clusterRevision = 65533;
request struct IdentifyRequest {
INT16U identifyTime = 0;
@@ -1498,12 +1498,12 @@
kCmos = 1;
}
- attribute(readonly) int16u measuredValue = 0;
- attribute(readonly) int16u minMeasuredValue = 1;
- attribute(readonly) int16u maxMeasuredValue = 2;
- attribute(readonly) int16u tolerance = 3;
- attribute(readonly) enum8 lightSensorType = 4;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16u measuredValue = 0;
+ readonly attribute int16u minMeasuredValue = 1;
+ readonly attribute int16u maxMeasuredValue = 2;
+ readonly attribute int16u tolerance = 3;
+ readonly attribute enum8 lightSensorType = 4;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster KeypadInput = 1289 {
@@ -1602,7 +1602,7 @@
kInvalidKeyInCurrentState = 2;
}
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster LevelControl = 8 {
@@ -1616,22 +1616,22 @@
kDown = 1;
}
- attribute(readonly) int8u currentLevel = 0;
- attribute(readonly) int16u remainingTime = 1;
- attribute(readonly) int8u minLevel = 2;
- attribute(readonly) int8u maxLevel = 3;
- attribute(readonly) int16u currentFrequency = 4;
- attribute(readonly) int16u minFrequency = 5;
- attribute(readonly) int16u maxFrequency = 6;
- attribute(writable) bitmap8 options = 15;
- attribute(writable) int16u onOffTransitionTime = 16;
- attribute(writable) int8u onLevel = 17;
- attribute(writable) int16u onTransitionTime = 18;
- attribute(writable) int16u offTransitionTime = 19;
- attribute(writable) int8u defaultMoveRate = 20;
- attribute(writable) int8u startUpCurrentLevel = 16384;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 int8u onLevel = 17;
+ attribute int16u onTransitionTime = 18;
+ attribute int16u offTransitionTime = 19;
+ attribute int8u defaultMoveRate = 20;
+ attribute int8u startUpCurrentLevel = 16384;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
request struct MoveRequest {
MoveMode moveMode = 0;
@@ -1687,12 +1687,12 @@
}
server cluster LocalizationConfiguration = 43 {
- attribute(writable) char_string activeLocale = 1;
- attribute(readonly) CHAR_STRING supportedLocales[] = 2;
+ attribute char_string activeLocale = 1;
+ readonly attribute CHAR_STRING supportedLocales[] = 2;
}
server cluster LowPower = 1288 {
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16u clusterRevision = 65533;
command Sleep(): DefaultSuccess = 0;
}
@@ -1720,9 +1720,9 @@
CHAR_STRING description = 4;
}
- attribute(readonly) InputInfo mediaInputList[] = 0;
- attribute(readonly) int8u currentMediaInput = 1;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute InputInfo mediaInputList[] = 0;
+ readonly attribute int8u currentMediaInput = 1;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster MediaPlayback = 1286 {
@@ -1742,13 +1742,13 @@
kSeekOutOfRange = 5;
}
- attribute(readonly) PlaybackStateEnum playbackState = 0;
- attribute(readonly) epoch_us startTime = 1;
- attribute(readonly) int64u duration = 2;
- attribute(readonly) single playbackSpeed = 4;
- attribute(readonly) int64u seekRangeEnd = 5;
- attribute(readonly) int64u seekRangeStart = 6;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute PlaybackStateEnum playbackState = 0;
+ readonly attribute epoch_us startTime = 1;
+ readonly attribute int64u duration = 2;
+ readonly attribute single playbackSpeed = 4;
+ readonly attribute int64u seekRangeEnd = 5;
+ readonly attribute int64u seekRangeStart = 6;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster ModeSelect = 80 {
@@ -1758,12 +1758,12 @@
INT32U semanticTag = 3;
}
- attribute(readonly) int8u currentMode = 0;
- attribute(readonly) ModeOptionStruct supportedModes[] = 1;
- attribute(writable) int8u onMode = 2;
- attribute(readonly) int8u startUpMode = 3;
- attribute(readonly) char_string description = 4;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int8u currentMode = 0;
+ readonly attribute ModeOptionStruct supportedModes[] = 1;
+ attribute int8u onMode = 2;
+ readonly attribute int8u startUpMode = 3;
+ readonly attribute char_string description = 4;
+ readonly attribute int16u clusterRevision = 65533;
request struct ChangeToModeRequest {
INT8U newMode = 0;
@@ -1822,16 +1822,16 @@
INT8U lqi = 8;
}
- attribute(readonly) int8u maxNetworks = 0;
- attribute(readonly) NetworkInfo networks[] = 1;
- attribute(readonly) int8u scanMaxTimeSeconds = 2;
- attribute(readonly) int8u connectMaxTimeSeconds = 3;
- attribute(writable) boolean interfaceEnabled = 4;
- attribute(readonly) NetworkCommissioningStatus lastNetworkingStatus = 5;
- attribute(readonly) octet_string lastNetworkID = 6;
- attribute(readonly) int32u lastConnectErrorValue = 7;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 lastNetworkID = 6;
+ readonly attribute int32u lastConnectErrorValue = 7;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
request struct AddOrUpdateThreadNetworkRequest {
OCTET_STRING operationalDataset = 0;
@@ -1912,7 +1912,7 @@
kDownloadProtocolNotSupported = 3;
}
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16u clusterRevision = 65533;
request struct ApplyUpdateRequestRequest {
OCTET_STRING updateToken = 0;
@@ -1997,11 +1997,11 @@
nullable INT64S platformCode = 3;
}
- attribute(writable) ProviderLocation defaultOtaProviders[] = 0;
- attribute(readonly) boolean updatePossible = 1;
- attribute(readonly) OTAUpdateStateEnum updateState = 2;
- attribute(readonly) int8u updateStateProgress = 3;
- attribute(readonly) int16u clusterRevision = 65533;
+ attribute ProviderLocation defaultOtaProviders[] = 0;
+ readonly attribute boolean updatePossible = 1;
+ readonly attribute OTAUpdateStateEnum updateState = 2;
+ readonly attribute int8u updateStateProgress = 3;
+ readonly attribute int16u clusterRevision = 65533;
request struct AnnounceOtaProviderRequest {
node_id providerNodeId = 0;
@@ -2015,10 +2015,10 @@
}
server cluster OccupancySensing = 1030 {
- attribute(readonly) bitmap8 occupancy = 0;
- attribute(readonly) enum8 occupancySensorType = 1;
- attribute(readonly) bitmap8 occupancySensorTypeBitmap = 2;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute bitmap8 occupancy = 0;
+ readonly attribute enum8 occupancySensorType = 1;
+ readonly attribute bitmap8 occupancySensorTypeBitmap = 2;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster OnOff = 6 {
@@ -2037,13 +2037,13 @@
kDyingLight = 1;
}
- attribute(readonly) boolean onOff = 0;
- attribute(readonly) boolean globalSceneControl = 16384;
- attribute(writable) int16u onTime = 16385;
- attribute(writable) int16u offWaitTime = 16386;
- attribute(writable) enum8 startUpOnOff = 16387;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute boolean onOff = 0;
+ readonly attribute boolean globalSceneControl = 16384;
+ attribute int16u onTime = 16385;
+ attribute int16u offWaitTime = 16386;
+ attribute enum8 startUpOnOff = 16387;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
request struct OffWithEffectRequest {
OnOffEffectIdentifier effectId = 0;
@@ -2065,9 +2065,9 @@
}
server cluster OnOffSwitchConfiguration = 7 {
- attribute(readonly) enum8 switchType = 0;
- attribute(writable) enum8 switchActions = 16;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute enum8 switchType = 0;
+ attribute enum8 switchActions = 16;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster OperationalCredentials = 62 {
@@ -2093,12 +2093,12 @@
CHAR_STRING label = 6;
}
- attribute(readonly) FabricDescriptor fabricsList[] = 1;
- attribute(readonly) int8u supportedFabrics = 2;
- attribute(readonly) int8u commissionedFabrics = 3;
- attribute(readonly) OCTET_STRING trustedRootCertificates[] = 4;
- attribute(readonly) fabric_idx currentFabricIndex = 5;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 attribute int16u clusterRevision = 65533;
request struct AddNOCRequest {
OCTET_STRING NOCValue = 0;
@@ -2173,29 +2173,29 @@
}
server cluster PowerSource = 47 {
- attribute(readonly) enum8 status = 0;
- attribute(readonly) int8u order = 1;
- attribute(readonly) char_string description = 2;
- attribute(readonly) int32u batteryVoltage = 11;
- attribute(readonly) int8u batteryPercentRemaining = 12;
- attribute(readonly) int32u batteryTimeRemaining = 13;
- attribute(readonly) enum8 batteryChargeLevel = 14;
- attribute(readonly) ENUM8 activeBatteryFaults[] = 18;
- attribute(readonly) enum8 batteryChargeState = 26;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute enum8 status = 0;
+ readonly attribute int8u order = 1;
+ readonly attribute char_string description = 2;
+ readonly attribute int32u batteryVoltage = 11;
+ readonly attribute int8u batteryPercentRemaining = 12;
+ readonly attribute int32u batteryTimeRemaining = 13;
+ readonly attribute enum8 batteryChargeLevel = 14;
+ readonly attribute ENUM8 activeBatteryFaults[] = 18;
+ readonly attribute enum8 batteryChargeState = 26;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster PowerSourceConfiguration = 46 {
- attribute(readonly) INT8U sources[] = 0;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute INT8U sources[] = 0;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster PressureMeasurement = 1027 {
- attribute(readonly) int16s measuredValue = 0;
- attribute(readonly) int16s minMeasuredValue = 1;
- attribute(readonly) int16s maxMeasuredValue = 2;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16s measuredValue = 0;
+ readonly attribute int16s minMeasuredValue = 1;
+ readonly attribute int16s maxMeasuredValue = 2;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster PumpConfigurationAndControl = 512 {
@@ -2266,40 +2266,40 @@
info event TurbineOperation = 16 {
}
- attribute(readonly) int16s maxPressure = 0;
- attribute(readonly) int16u maxSpeed = 1;
- attribute(readonly) int16u maxFlow = 2;
- attribute(readonly) int16s minConstPressure = 3;
- attribute(readonly) int16s maxConstPressure = 4;
- attribute(readonly) int16s minCompPressure = 5;
- attribute(readonly) int16s maxCompPressure = 6;
- attribute(readonly) int16u minConstSpeed = 7;
- attribute(readonly) int16u maxConstSpeed = 8;
- attribute(readonly) int16u minConstFlow = 9;
- attribute(readonly) int16u maxConstFlow = 10;
- attribute(readonly) int16s minConstTemp = 11;
- attribute(readonly) int16s maxConstTemp = 12;
- attribute(readonly) bitmap16 pumpStatus = 16;
- attribute(readonly) enum8 effectiveOperationMode = 17;
- attribute(readonly) enum8 effectiveControlMode = 18;
- attribute(readonly) int16s capacity = 19;
- attribute(readonly) int16u speed = 20;
- attribute(writable) int24u lifetimeRunningHours = 21;
- attribute(readonly) int24u power = 22;
- attribute(writable) int32u lifetimeEnergyConsumed = 23;
- attribute(writable) enum8 operationMode = 32;
- attribute(writable) enum8 controlMode = 33;
- attribute(readonly) bitmap16 alarmMask = 34;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16s maxPressure = 0;
+ readonly attribute int16u maxSpeed = 1;
+ readonly attribute int16u maxFlow = 2;
+ readonly attribute int16s minConstPressure = 3;
+ readonly attribute int16s maxConstPressure = 4;
+ readonly attribute int16s minCompPressure = 5;
+ readonly attribute int16s maxCompPressure = 6;
+ readonly attribute int16u minConstSpeed = 7;
+ readonly attribute int16u maxConstSpeed = 8;
+ readonly attribute int16u minConstFlow = 9;
+ readonly attribute int16u maxConstFlow = 10;
+ readonly attribute int16s minConstTemp = 11;
+ readonly attribute int16s maxConstTemp = 12;
+ readonly attribute bitmap16 pumpStatus = 16;
+ readonly attribute enum8 effectiveOperationMode = 17;
+ readonly attribute enum8 effectiveControlMode = 18;
+ readonly attribute int16s capacity = 19;
+ readonly attribute int16u speed = 20;
+ attribute int24u lifetimeRunningHours = 21;
+ readonly attribute int24u power = 22;
+ attribute int32u lifetimeEnergyConsumed = 23;
+ attribute enum8 operationMode = 32;
+ attribute enum8 controlMode = 33;
+ readonly attribute bitmap16 alarmMask = 34;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster RelativeHumidityMeasurement = 1029 {
- attribute(readonly) int16u measuredValue = 0;
- attribute(readonly) int16u minMeasuredValue = 1;
- attribute(readonly) int16u maxMeasuredValue = 2;
- attribute(readonly) int16u tolerance = 3;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16u measuredValue = 0;
+ readonly attribute int16u minMeasuredValue = 1;
+ readonly attribute int16u maxMeasuredValue = 2;
+ readonly attribute int16u tolerance = 3;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster Scenes = 5 {
@@ -2309,12 +2309,12 @@
INT8U value = 3;
}
- attribute(readonly) int8u sceneCount = 0;
- attribute(readonly) int8u currentScene = 1;
- attribute(readonly) int16u currentGroup = 2;
- attribute(readonly) boolean sceneValid = 3;
- attribute(readonly) bitmap8 nameSupport = 4;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 attribute int16u clusterRevision = 65533;
request struct AddSceneRequest {
INT16U groupId = 0;
@@ -2415,12 +2415,12 @@
SoftwareFault softwareFault = 0;
}
- attribute(readonly) ThreadMetrics threadMetrics[] = 0;
- attribute(readonly) int64u currentHeapFree = 1;
- attribute(readonly) int64u currentHeapUsed = 2;
- attribute(readonly) int64u currentHeapHighWatermark = 3;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute ThreadMetrics threadMetrics[] = 0;
+ readonly attribute int64u currentHeapFree = 1;
+ readonly attribute int64u currentHeapUsed = 2;
+ readonly attribute int64u currentHeapHighWatermark = 3;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
command ResetWatermarks(): DefaultSuccess = 0;
}
@@ -2456,11 +2456,11 @@
INT8U totalNumberOfPressesCounted = 1;
}
- attribute(readonly) int8u numberOfPositions = 0;
- attribute(readonly) int8u currentPosition = 1;
- attribute(readonly) int8u multiPressMax = 2;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int8u numberOfPositions = 0;
+ readonly attribute int8u currentPosition = 1;
+ readonly attribute int8u multiPressMax = 2;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster TargetNavigator = 1285 {
@@ -2475,17 +2475,17 @@
CHAR_STRING name = 2;
}
- attribute(readonly) TargetInfo targetNavigatorList[] = 0;
- attribute(readonly) int8u currentNavigatorTarget = 1;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute TargetInfo targetNavigatorList[] = 0;
+ readonly attribute int8u currentNavigatorTarget = 1;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster TemperatureMeasurement = 1026 {
- attribute(readonly) int16s measuredValue = 0;
- attribute(readonly) int16s minMeasuredValue = 1;
- attribute(readonly) int16s maxMeasuredValue = 2;
- attribute(readonly) int16u tolerance = 3;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16s measuredValue = 0;
+ readonly attribute int16s minMeasuredValue = 1;
+ readonly attribute int16s maxMeasuredValue = 2;
+ readonly attribute int16u tolerance = 3;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster TestCluster = 1295 {
@@ -2552,84 +2552,84 @@
SimpleEnum arg6[] = 6;
}
- attribute(writable) boolean boolean = 0;
- attribute(writable) bitmap8 bitmap8 = 1;
- attribute(writable) bitmap16 bitmap16 = 2;
- attribute(writable) bitmap32 bitmap32 = 3;
- attribute(writable) bitmap64 bitmap64 = 4;
- attribute(writable) int8u int8u = 5;
- attribute(writable) int16u int16u = 6;
- attribute(writable) int24u int24u = 7;
- attribute(writable) int32u int32u = 8;
- attribute(writable) int40u int40u = 9;
- attribute(writable) int48u int48u = 10;
- attribute(writable) int56u int56u = 11;
- attribute(writable) int64u int64u = 12;
- attribute(writable) int8s int8s = 13;
- attribute(writable) int16s int16s = 14;
- attribute(writable) int24s int24s = 15;
- attribute(writable) int32s int32s = 16;
- attribute(writable) int40s int40s = 17;
- attribute(writable) int48s int48s = 18;
- attribute(writable) int56s int56s = 19;
- attribute(writable) int64s int64s = 20;
- attribute(writable) enum8 enum8 = 21;
- attribute(writable) enum16 enum16 = 22;
- attribute(writable) single floatSingle = 23;
- attribute(writable) double floatDouble = 24;
- attribute(writable) octet_string octetString = 25;
- attribute(writable) INT8U listInt8u[] = 26;
- attribute(writable) OCTET_STRING listOctetString[] = 27;
- attribute(writable) TestListStructOctet listStructOctetString[] = 28;
- attribute(writable) long_octet_string longOctetString = 29;
- attribute(writable) char_string charString = 30;
- attribute(writable) long_char_string longCharString = 31;
- attribute(writable) epoch_us epochUs = 32;
- attribute(writable) epoch_s epochS = 33;
- attribute(writable) vendor_id vendorId = 34;
- attribute(writable) NullablesAndOptionalsStruct listNullablesAndOptionalsStruct[] = 35;
- attribute(writable) SimpleEnum enumAttr = 36;
- attribute(writable) SimpleStruct structAttr = 37;
- attribute(writable) int8u rangeRestrictedInt8u = 38;
- attribute(writable) int8s rangeRestrictedInt8s = 39;
- attribute(writable) int16u rangeRestrictedInt16u = 40;
- attribute(writable) int16s rangeRestrictedInt16s = 41;
- attribute(readonly) LONG_OCTET_STRING listLongOctetString[] = 42;
- attribute(writable) boolean timedWriteBoolean = 48;
- attribute(writable) boolean nullableBoolean = 32768;
- attribute(writable) bitmap8 nullableBitmap8 = 32769;
- attribute(writable) bitmap16 nullableBitmap16 = 32770;
- attribute(writable) bitmap32 nullableBitmap32 = 32771;
- attribute(writable) bitmap64 nullableBitmap64 = 32772;
- attribute(writable) int8u nullableInt8u = 32773;
- attribute(writable) int16u nullableInt16u = 32774;
- attribute(writable) int24u nullableInt24u = 32775;
- attribute(writable) int32u nullableInt32u = 32776;
- attribute(writable) int40u nullableInt40u = 32777;
- attribute(writable) int48u nullableInt48u = 32778;
- attribute(writable) int56u nullableInt56u = 32779;
- attribute(writable) int64u nullableInt64u = 32780;
- attribute(writable) int8s nullableInt8s = 32781;
- attribute(writable) int16s nullableInt16s = 32782;
- attribute(writable) int24s nullableInt24s = 32783;
- attribute(writable) int32s nullableInt32s = 32784;
- attribute(writable) int40s nullableInt40s = 32785;
- attribute(writable) int48s nullableInt48s = 32786;
- attribute(writable) int56s nullableInt56s = 32787;
- attribute(writable) int64s nullableInt64s = 32788;
- attribute(writable) enum8 nullableEnum8 = 32789;
- attribute(writable) enum16 nullableEnum16 = 32790;
- attribute(writable) single nullableFloatSingle = 32791;
- attribute(writable) double nullableFloatDouble = 32792;
- attribute(writable) octet_string nullableOctetString = 32793;
- attribute(writable) char_string nullableCharString = 32798;
- attribute(writable) SimpleEnum nullableEnumAttr = 32804;
- attribute(writable) SimpleStruct nullableStruct = 32805;
- attribute(writable) int8u nullableRangeRestrictedInt8u = 32806;
- attribute(writable) int8s nullableRangeRestrictedInt8s = 32807;
- attribute(writable) int16u nullableRangeRestrictedInt16u = 32808;
- attribute(writable) int16s nullableRangeRestrictedInt16s = 32809;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 int24u int24u = 7;
+ attribute int32u int32u = 8;
+ attribute int40u int40u = 9;
+ attribute int48u int48u = 10;
+ attribute int56u int56u = 11;
+ attribute int64u int64u = 12;
+ attribute int8s int8s = 13;
+ attribute int16s int16s = 14;
+ attribute int24s int24s = 15;
+ attribute int32s int32s = 16;
+ attribute int40s int40s = 17;
+ attribute int48s int48s = 18;
+ attribute int56s int56s = 19;
+ attribute int64s int64s = 20;
+ attribute enum8 enum8 = 21;
+ attribute enum16 enum16 = 22;
+ attribute single floatSingle = 23;
+ attribute double floatDouble = 24;
+ attribute octet_string octetString = 25;
+ attribute INT8U listInt8u[] = 26;
+ attribute OCTET_STRING listOctetString[] = 27;
+ attribute TestListStructOctet listStructOctetString[] = 28;
+ attribute long_octet_string longOctetString = 29;
+ attribute char_string charString = 30;
+ attribute long_char_string longCharString = 31;
+ attribute epoch_us epochUs = 32;
+ attribute epoch_s epochS = 33;
+ attribute vendor_id vendorId = 34;
+ attribute NullablesAndOptionalsStruct listNullablesAndOptionalsStruct[] = 35;
+ attribute SimpleEnum enumAttr = 36;
+ attribute SimpleStruct structAttr = 37;
+ attribute int8u rangeRestrictedInt8u = 38;
+ attribute int8s rangeRestrictedInt8s = 39;
+ attribute int16u rangeRestrictedInt16u = 40;
+ attribute int16s rangeRestrictedInt16s = 41;
+ readonly attribute LONG_OCTET_STRING listLongOctetString[] = 42;
+ attribute boolean timedWriteBoolean = 48;
+ attribute boolean nullableBoolean = 32768;
+ attribute bitmap8 nullableBitmap8 = 32769;
+ attribute bitmap16 nullableBitmap16 = 32770;
+ attribute bitmap32 nullableBitmap32 = 32771;
+ attribute bitmap64 nullableBitmap64 = 32772;
+ attribute int8u nullableInt8u = 32773;
+ attribute int16u nullableInt16u = 32774;
+ attribute int24u nullableInt24u = 32775;
+ attribute int32u nullableInt32u = 32776;
+ attribute int40u nullableInt40u = 32777;
+ attribute int48u nullableInt48u = 32778;
+ attribute int56u nullableInt56u = 32779;
+ attribute int64u nullableInt64u = 32780;
+ attribute int8s nullableInt8s = 32781;
+ attribute int16s nullableInt16s = 32782;
+ attribute int24s nullableInt24s = 32783;
+ attribute int32s nullableInt32s = 32784;
+ attribute int40s nullableInt40s = 32785;
+ attribute int48s nullableInt48s = 32786;
+ attribute int56s nullableInt56s = 32787;
+ attribute int64s nullableInt64s = 32788;
+ attribute enum8 nullableEnum8 = 32789;
+ attribute enum16 nullableEnum16 = 32790;
+ attribute single nullableFloatSingle = 32791;
+ attribute double nullableFloatDouble = 32792;
+ attribute octet_string nullableOctetString = 32793;
+ attribute char_string nullableCharString = 32798;
+ attribute SimpleEnum nullableEnumAttr = 32804;
+ attribute SimpleStruct nullableStruct = 32805;
+ attribute int8u nullableRangeRestrictedInt8u = 32806;
+ attribute int8s nullableRangeRestrictedInt8s = 32807;
+ attribute int16u nullableRangeRestrictedInt16u = 32808;
+ attribute int16s nullableRangeRestrictedInt16s = 32809;
+ readonly attribute int16u clusterRevision = 65533;
request struct SimpleStructEchoRequestRequest {
SimpleStruct arg1 = 0;
@@ -2745,32 +2745,32 @@
kHeatAndCoolSetpoints = 2;
}
- attribute(readonly) int16s localTemperature = 0;
- attribute(readonly) int16s absMinHeatSetpointLimit = 3;
- attribute(readonly) int16s absMaxHeatSetpointLimit = 4;
- attribute(readonly) int16s absMinCoolSetpointLimit = 5;
- attribute(readonly) int16s absMaxCoolSetpointLimit = 6;
- attribute(writable) int16s occupiedCoolingSetpoint = 17;
- attribute(writable) int16s occupiedHeatingSetpoint = 18;
- attribute(writable) int16s minHeatSetpointLimit = 21;
- attribute(writable) int16s maxHeatSetpointLimit = 22;
- attribute(writable) int16s minCoolSetpointLimit = 23;
- attribute(writable) int16s maxCoolSetpointLimit = 24;
- attribute(writable) int8s minSetpointDeadBand = 25;
- attribute(writable) enum8 controlSequenceOfOperation = 27;
- attribute(writable) enum8 systemMode = 28;
- attribute(readonly) enum8 startOfWeek = 32;
- attribute(readonly) int8u numberOfWeeklyTransitions = 33;
- attribute(readonly) int8u numberOfDailyTransitions = 34;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16s localTemperature = 0;
+ readonly attribute int16s absMinHeatSetpointLimit = 3;
+ readonly attribute int16s absMaxHeatSetpointLimit = 4;
+ readonly attribute int16s absMinCoolSetpointLimit = 5;
+ readonly attribute int16s absMaxCoolSetpointLimit = 6;
+ attribute int16s occupiedCoolingSetpoint = 17;
+ attribute int16s occupiedHeatingSetpoint = 18;
+ attribute int16s minHeatSetpointLimit = 21;
+ attribute int16s maxHeatSetpointLimit = 22;
+ attribute int16s minCoolSetpointLimit = 23;
+ attribute int16s maxCoolSetpointLimit = 24;
+ attribute int8s minSetpointDeadBand = 25;
+ attribute enum8 controlSequenceOfOperation = 27;
+ attribute enum8 systemMode = 28;
+ readonly attribute enum8 startOfWeek = 32;
+ readonly attribute int8u numberOfWeeklyTransitions = 33;
+ readonly attribute int8u numberOfDailyTransitions = 34;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster ThermostatUserInterfaceConfiguration = 516 {
- attribute(writable) enum8 temperatureDisplayMode = 0;
- attribute(writable) enum8 keypadLockout = 1;
- attribute(writable) enum8 scheduleProgrammingVisibility = 2;
- attribute(readonly) int16u clusterRevision = 65533;
+ attribute enum8 temperatureDisplayMode = 0;
+ attribute enum8 keypadLockout = 1;
+ attribute enum8 scheduleProgrammingVisibility = 2;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster ThreadNetworkDiagnostics = 53 {
@@ -2850,83 +2850,83 @@
ThreadConnectionStatus connectionStatus = 0;
}
- attribute(readonly) int16u channel = 0;
- attribute(readonly) enum8 routingRole = 1;
- attribute(readonly) octet_string networkName = 2;
- attribute(readonly) int16u panId = 3;
- attribute(readonly) int64u extendedPanId = 4;
- attribute(readonly) octet_string meshLocalPrefix = 5;
- attribute(readonly) int64u overrunCount = 6;
- attribute(readonly) NeighborTable neighborTableList[] = 7;
- attribute(readonly) RouteTable routeTableList[] = 8;
- attribute(readonly) int32u partitionId = 9;
- attribute(readonly) int8u weighting = 10;
- attribute(readonly) int8u dataVersion = 11;
- attribute(readonly) int8u stableDataVersion = 12;
- attribute(readonly) int8u leaderRouterId = 13;
- attribute(readonly) int16u detachedRoleCount = 14;
- attribute(readonly) int16u childRoleCount = 15;
- attribute(readonly) int16u routerRoleCount = 16;
- attribute(readonly) int16u leaderRoleCount = 17;
- attribute(readonly) int16u attachAttemptCount = 18;
- attribute(readonly) int16u partitionIdChangeCount = 19;
- attribute(readonly) int16u betterPartitionAttachAttemptCount = 20;
- attribute(readonly) int16u parentChangeCount = 21;
- attribute(readonly) int32u txTotalCount = 22;
- attribute(readonly) int32u txUnicastCount = 23;
- attribute(readonly) int32u txBroadcastCount = 24;
- attribute(readonly) int32u txAckRequestedCount = 25;
- attribute(readonly) int32u txAckedCount = 26;
- attribute(readonly) int32u txNoAckRequestedCount = 27;
- attribute(readonly) int32u txDataCount = 28;
- attribute(readonly) int32u txDataPollCount = 29;
- attribute(readonly) int32u txBeaconCount = 30;
- attribute(readonly) int32u txBeaconRequestCount = 31;
- attribute(readonly) int32u txOtherCount = 32;
- attribute(readonly) int32u txRetryCount = 33;
- attribute(readonly) int32u txDirectMaxRetryExpiryCount = 34;
- attribute(readonly) int32u txIndirectMaxRetryExpiryCount = 35;
- attribute(readonly) int32u txErrCcaCount = 36;
- attribute(readonly) int32u txErrAbortCount = 37;
- attribute(readonly) int32u txErrBusyChannelCount = 38;
- attribute(readonly) int32u rxTotalCount = 39;
- attribute(readonly) int32u rxUnicastCount = 40;
- attribute(readonly) int32u rxBroadcastCount = 41;
- attribute(readonly) int32u rxDataCount = 42;
- attribute(readonly) int32u rxDataPollCount = 43;
- attribute(readonly) int32u rxBeaconCount = 44;
- attribute(readonly) int32u rxBeaconRequestCount = 45;
- attribute(readonly) int32u rxOtherCount = 46;
- attribute(readonly) int32u rxAddressFilteredCount = 47;
- attribute(readonly) int32u rxDestAddrFilteredCount = 48;
- attribute(readonly) int32u rxDuplicatedCount = 49;
- attribute(readonly) int32u rxErrNoFrameCount = 50;
- attribute(readonly) int32u rxErrUnknownNeighborCount = 51;
- attribute(readonly) int32u rxErrInvalidSrcAddrCount = 52;
- attribute(readonly) int32u rxErrSecCount = 53;
- attribute(readonly) int32u rxErrFcsCount = 54;
- attribute(readonly) int32u rxErrOtherCount = 55;
- attribute(readonly) int64u activeTimestamp = 56;
- attribute(readonly) int64u pendingTimestamp = 57;
- attribute(readonly) int32u delay = 58;
- attribute(readonly) SecurityPolicy securityPolicy[] = 59;
- attribute(readonly) octet_string channelMask = 60;
- attribute(readonly) OperationalDatasetComponents operationalDatasetComponents[] = 61;
- attribute(readonly) NetworkFault activeNetworkFaultsList[] = 62;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16u channel = 0;
+ readonly attribute enum8 routingRole = 1;
+ readonly attribute octet_string networkName = 2;
+ readonly attribute int16u panId = 3;
+ readonly attribute int64u extendedPanId = 4;
+ readonly attribute octet_string 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 channelMask = 60;
+ readonly attribute OperationalDatasetComponents operationalDatasetComponents[] = 61;
+ readonly attribute NetworkFault activeNetworkFaultsList[] = 62;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
command ResetCounts(): DefaultSuccess = 0;
}
server cluster UserLabel = 65 {
- attribute(writable) LabelStruct labelList[] = 0;
- attribute(readonly) int16u clusterRevision = 65533;
+ attribute LabelStruct labelList[] = 0;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster WakeOnLan = 1283 {
- attribute(readonly) char_string wakeOnLanMacAddress = 0;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute char_string wakeOnLanMacAddress = 0;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster WiFiNetworkDiagnostics = 54 {
@@ -2973,46 +2973,46 @@
WiFiConnectionStatus connectionStatus = 0;
}
- attribute(readonly) octet_string bssid = 0;
- attribute(readonly) enum8 securityType = 1;
- attribute(readonly) enum8 wiFiVersion = 2;
- attribute(readonly) int16u channelNumber = 3;
- attribute(readonly) int8s rssi = 4;
- attribute(readonly) int32u beaconLostCount = 5;
- attribute(readonly) int32u beaconRxCount = 6;
- attribute(readonly) int32u packetMulticastRxCount = 7;
- attribute(readonly) int32u packetMulticastTxCount = 8;
- attribute(readonly) int32u packetUnicastRxCount = 9;
- attribute(readonly) int32u packetUnicastTxCount = 10;
- attribute(readonly) int64u currentMaxRate = 11;
- attribute(readonly) int64u overrunCount = 12;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute octet_string 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 attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
command ResetCounts(): DefaultSuccess = 0;
}
server cluster WindowCovering = 258 {
- attribute(readonly) enum8 type = 0;
- attribute(readonly) int16u currentPositionLift = 3;
- attribute(readonly) int16u currentPositionTilt = 4;
- attribute(readonly) bitmap8 configStatus = 7;
- attribute(readonly) Percent currentPositionLiftPercentage = 8;
- attribute(readonly) Percent currentPositionTiltPercentage = 9;
- attribute(readonly) bitmap8 operationalStatus = 10;
- attribute(readonly) Percent100ths targetPositionLiftPercent100ths = 11;
- attribute(readonly) Percent100ths targetPositionTiltPercent100ths = 12;
- attribute(readonly) enum8 endProductType = 13;
- attribute(readonly) Percent100ths currentPositionLiftPercent100ths = 14;
- attribute(readonly) Percent100ths currentPositionTiltPercent100ths = 15;
- attribute(readonly) int16u installedOpenLimitLift = 16;
- attribute(readonly) int16u installedClosedLimitLift = 17;
- attribute(readonly) int16u installedOpenLimitTilt = 18;
- attribute(readonly) int16u installedClosedLimitTilt = 19;
- attribute(writable) bitmap8 mode = 23;
- attribute(readonly) bitmap16 safetyStatus = 26;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute enum8 type = 0;
+ readonly attribute int16u currentPositionLift = 3;
+ readonly attribute int16u currentPositionTilt = 4;
+ readonly attribute bitmap8 configStatus = 7;
+ readonly attribute Percent currentPositionLiftPercentage = 8;
+ readonly attribute Percent currentPositionTiltPercentage = 9;
+ readonly attribute bitmap8 operationalStatus = 10;
+ readonly attribute Percent100ths targetPositionLiftPercent100ths = 11;
+ readonly attribute Percent100ths targetPositionTiltPercent100ths = 12;
+ readonly attribute enum8 endProductType = 13;
+ readonly attribute Percent100ths currentPositionLiftPercent100ths = 14;
+ readonly attribute 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 attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
command DownOrClose(): DefaultSuccess = 1;
command StopMotion(): DefaultSuccess = 2;
diff --git a/examples/bridge-app/bridge-common/bridge-app.matter b/examples/bridge-app/bridge-common/bridge-app.matter
index 5b96c72..3961b05 100644
--- a/examples/bridge-app/bridge-common/bridge-app.matter
+++ b/examples/bridge-app/bridge-common/bridge-app.matter
@@ -19,10 +19,10 @@
kWindowNotOpen = 3;
}
- attribute(readonly) int8u windowStatus = 0;
- attribute(readonly) fabric_idx adminFabricIndex = 1;
- attribute(readonly) int16u adminVendorId = 2;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int8u windowStatus = 0;
+ readonly attribute fabric_idx adminFabricIndex = 1;
+ readonly attribute int16u adminVendorId = 2;
+ readonly attribute int16u clusterRevision = 65533;
request struct OpenBasicCommissioningWindowRequest {
INT16U commissioningTimeout = 0;
@@ -57,18 +57,18 @@
boolean reachableNewValue = 0;
}
- attribute(readonly) int16u interactionModelVersion = 0;
- attribute(readonly) char_string vendorName = 1;
- attribute(readonly) vendor_id vendorID = 2;
- attribute(readonly) char_string productName = 3;
- attribute(readonly) int16u productID = 4;
- attribute(writable) char_string nodeLabel = 5;
- attribute(writable) char_string location = 6;
- attribute(readonly) int16u hardwareVersion = 7;
- attribute(readonly) char_string hardwareVersionString = 8;
- attribute(readonly) int32u softwareVersion = 9;
- attribute(readonly) char_string softwareVersionString = 10;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16u interactionModelVersion = 0;
+ readonly attribute char_string vendorName = 1;
+ readonly attribute vendor_id vendorID = 2;
+ readonly attribute char_string productName = 3;
+ readonly attribute int16u productID = 4;
+ attribute char_string nodeLabel = 5;
+ attribute char_string location = 6;
+ readonly attribute int16u hardwareVersion = 7;
+ readonly attribute char_string hardwareVersionString = 8;
+ readonly attribute int32u softwareVersion = 9;
+ readonly attribute char_string softwareVersionString = 10;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster Descriptor = 29 {
@@ -77,11 +77,11 @@
INT16U revision = 2;
}
- attribute(readonly) DeviceType deviceList[] = 0;
- attribute(readonly) CLUSTER_ID serverList[] = 1;
- attribute(readonly) CLUSTER_ID clientList[] = 2;
- attribute(readonly) ENDPOINT_NO partsList[] = 3;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute DeviceType deviceList[] = 0;
+ readonly attribute CLUSTER_ID serverList[] = 1;
+ readonly attribute CLUSTER_ID clientList[] = 2;
+ readonly attribute ENDPOINT_NO partsList[] = 3;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster DiagnosticLogs = 50 {
@@ -128,22 +128,22 @@
k400g = 9;
}
- attribute(readonly) enum8 PHYRate = 0;
- attribute(readonly) boolean fullDuplex = 1;
- attribute(readonly) int64u packetRxCount = 2;
- attribute(readonly) int64u packetTxCount = 3;
- attribute(readonly) int64u txErrCount = 4;
- attribute(readonly) int64u collisionCount = 5;
- attribute(readonly) int64u overrunCount = 6;
- attribute(readonly) boolean carrierDetect = 7;
- attribute(readonly) int64u timeSinceReset = 8;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster FixedLabel = 64 {
- attribute(readonly) LabelStruct labelList[] = 0;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute LabelStruct labelList[] = 0;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster GeneralCommissioning = 48 {
@@ -164,12 +164,12 @@
INT32U failSafeExpiryLengthMs = 1;
}
- attribute(writable) int64u breadcrumb = 0;
- attribute(readonly) BasicCommissioningInfoType basicCommissioningInfoList[] = 1;
- attribute(readonly) enum8 regulatoryConfig = 2;
- attribute(readonly) enum8 locationCapability = 3;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ attribute int64u breadcrumb = 0;
+ readonly attribute BasicCommissioningInfoType basicCommissioningInfoList[] = 1;
+ readonly attribute enum8 regulatoryConfig = 2;
+ readonly attribute enum8 locationCapability = 3;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
request struct ArmFailSafeRequest {
INT16U expiryLengthSeconds = 0;
@@ -282,15 +282,15 @@
BootReasonType bootReason = 0;
}
- attribute(readonly) NetworkInterfaceType networkInterfaces[] = 0;
- attribute(readonly) int16u rebootCount = 1;
- attribute(readonly) int64u upTime = 2;
- attribute(readonly) int32u totalOperationalHours = 3;
- attribute(readonly) enum8 bootReasons = 4;
- attribute(readonly) ENUM8 activeHardwareFaults[] = 5;
- attribute(readonly) ENUM8 activeRadioFaults[] = 6;
- attribute(readonly) ENUM8 activeNetworkFaults[] = 7;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 attribute int16u clusterRevision = 65533;
}
server cluster LevelControl = 8 {
@@ -304,22 +304,22 @@
kDown = 1;
}
- attribute(readonly) int8u currentLevel = 0;
- attribute(readonly) int16u remainingTime = 1;
- attribute(readonly) int8u minLevel = 2;
- attribute(readonly) int8u maxLevel = 3;
- attribute(readonly) int16u currentFrequency = 4;
- attribute(readonly) int16u minFrequency = 5;
- attribute(readonly) int16u maxFrequency = 6;
- attribute(writable) bitmap8 options = 15;
- attribute(writable) int16u onOffTransitionTime = 16;
- attribute(writable) int8u onLevel = 17;
- attribute(writable) int16u onTransitionTime = 18;
- attribute(writable) int16u offTransitionTime = 19;
- attribute(writable) int8u defaultMoveRate = 20;
- attribute(writable) int8u startUpCurrentLevel = 16384;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 int8u onLevel = 17;
+ attribute int16u onTransitionTime = 18;
+ attribute int16u offTransitionTime = 19;
+ attribute int8u defaultMoveRate = 20;
+ attribute int8u startUpCurrentLevel = 16384;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
request struct MoveRequest {
MoveMode moveMode = 0;
@@ -375,8 +375,8 @@
}
server cluster LocalizationConfiguration = 43 {
- attribute(writable) char_string activeLocale = 1;
- attribute(readonly) CHAR_STRING supportedLocales[] = 2;
+ attribute char_string activeLocale = 1;
+ readonly attribute CHAR_STRING supportedLocales[] = 2;
}
server cluster NetworkCommissioning = 49 {
@@ -429,16 +429,16 @@
INT8U lqi = 8;
}
- attribute(readonly) int8u maxNetworks = 0;
- attribute(readonly) NetworkInfo networks[] = 1;
- attribute(readonly) int8u scanMaxTimeSeconds = 2;
- attribute(readonly) int8u connectMaxTimeSeconds = 3;
- attribute(writable) boolean interfaceEnabled = 4;
- attribute(readonly) NetworkCommissioningStatus lastNetworkingStatus = 5;
- attribute(readonly) octet_string lastNetworkID = 6;
- attribute(readonly) int32u lastConnectErrorValue = 7;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 lastNetworkID = 6;
+ readonly attribute int32u lastConnectErrorValue = 7;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
request struct AddOrUpdateThreadNetworkRequest {
OCTET_STRING operationalDataset = 0;
@@ -514,8 +514,8 @@
kDyingLight = 1;
}
- attribute(readonly) boolean onOff = 0;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute boolean onOff = 0;
+ readonly attribute int16u clusterRevision = 65533;
command Off(): DefaultSuccess = 0;
command On(): DefaultSuccess = 1;
@@ -545,12 +545,12 @@
CHAR_STRING label = 6;
}
- attribute(readonly) FabricDescriptor fabricsList[] = 1;
- attribute(readonly) int8u supportedFabrics = 2;
- attribute(readonly) int8u commissionedFabrics = 3;
- attribute(readonly) OCTET_STRING trustedRootCertificates[] = 4;
- attribute(readonly) fabric_idx currentFabricIndex = 5;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 attribute int16u clusterRevision = 65533;
request struct AddNOCRequest {
OCTET_STRING NOCValue = 0;
@@ -637,12 +637,12 @@
SoftwareFault softwareFault = 0;
}
- attribute(readonly) ThreadMetrics threadMetrics[] = 0;
- attribute(readonly) int64u currentHeapFree = 1;
- attribute(readonly) int64u currentHeapUsed = 2;
- attribute(readonly) int64u currentHeapHighWatermark = 3;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute ThreadMetrics threadMetrics[] = 0;
+ readonly attribute int64u currentHeapFree = 1;
+ readonly attribute int64u currentHeapUsed = 2;
+ readonly attribute int64u currentHeapHighWatermark = 3;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster Switch = 59 {
@@ -676,11 +676,11 @@
INT8U totalNumberOfPressesCounted = 1;
}
- attribute(readonly) int8u numberOfPositions = 0;
- attribute(readonly) int8u currentPosition = 1;
- attribute(readonly) int8u multiPressMax = 2;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int8u numberOfPositions = 0;
+ readonly attribute int8u currentPosition = 1;
+ readonly attribute int8u multiPressMax = 2;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster ThreadNetworkDiagnostics = 53 {
@@ -760,76 +760,76 @@
ThreadConnectionStatus connectionStatus = 0;
}
- attribute(readonly) int16u channel = 0;
- attribute(readonly) enum8 routingRole = 1;
- attribute(readonly) octet_string networkName = 2;
- attribute(readonly) int16u panId = 3;
- attribute(readonly) int64u extendedPanId = 4;
- attribute(readonly) octet_string meshLocalPrefix = 5;
- attribute(readonly) int64u overrunCount = 6;
- attribute(readonly) NeighborTable neighborTableList[] = 7;
- attribute(readonly) RouteTable routeTableList[] = 8;
- attribute(readonly) int32u partitionId = 9;
- attribute(readonly) int8u weighting = 10;
- attribute(readonly) int8u dataVersion = 11;
- attribute(readonly) int8u stableDataVersion = 12;
- attribute(readonly) int8u leaderRouterId = 13;
- attribute(readonly) int16u detachedRoleCount = 14;
- attribute(readonly) int16u childRoleCount = 15;
- attribute(readonly) int16u routerRoleCount = 16;
- attribute(readonly) int16u leaderRoleCount = 17;
- attribute(readonly) int16u attachAttemptCount = 18;
- attribute(readonly) int16u partitionIdChangeCount = 19;
- attribute(readonly) int16u betterPartitionAttachAttemptCount = 20;
- attribute(readonly) int16u parentChangeCount = 21;
- attribute(readonly) int32u txTotalCount = 22;
- attribute(readonly) int32u txUnicastCount = 23;
- attribute(readonly) int32u txBroadcastCount = 24;
- attribute(readonly) int32u txAckRequestedCount = 25;
- attribute(readonly) int32u txAckedCount = 26;
- attribute(readonly) int32u txNoAckRequestedCount = 27;
- attribute(readonly) int32u txDataCount = 28;
- attribute(readonly) int32u txDataPollCount = 29;
- attribute(readonly) int32u txBeaconCount = 30;
- attribute(readonly) int32u txBeaconRequestCount = 31;
- attribute(readonly) int32u txOtherCount = 32;
- attribute(readonly) int32u txRetryCount = 33;
- attribute(readonly) int32u txDirectMaxRetryExpiryCount = 34;
- attribute(readonly) int32u txIndirectMaxRetryExpiryCount = 35;
- attribute(readonly) int32u txErrCcaCount = 36;
- attribute(readonly) int32u txErrAbortCount = 37;
- attribute(readonly) int32u txErrBusyChannelCount = 38;
- attribute(readonly) int32u rxTotalCount = 39;
- attribute(readonly) int32u rxUnicastCount = 40;
- attribute(readonly) int32u rxBroadcastCount = 41;
- attribute(readonly) int32u rxDataCount = 42;
- attribute(readonly) int32u rxDataPollCount = 43;
- attribute(readonly) int32u rxBeaconCount = 44;
- attribute(readonly) int32u rxBeaconRequestCount = 45;
- attribute(readonly) int32u rxOtherCount = 46;
- attribute(readonly) int32u rxAddressFilteredCount = 47;
- attribute(readonly) int32u rxDestAddrFilteredCount = 48;
- attribute(readonly) int32u rxDuplicatedCount = 49;
- attribute(readonly) int32u rxErrNoFrameCount = 50;
- attribute(readonly) int32u rxErrUnknownNeighborCount = 51;
- attribute(readonly) int32u rxErrInvalidSrcAddrCount = 52;
- attribute(readonly) int32u rxErrSecCount = 53;
- attribute(readonly) int32u rxErrFcsCount = 54;
- attribute(readonly) int32u rxErrOtherCount = 55;
- attribute(readonly) int64u activeTimestamp = 56;
- attribute(readonly) int64u pendingTimestamp = 57;
- attribute(readonly) int32u delay = 58;
- attribute(readonly) SecurityPolicy securityPolicy[] = 59;
- attribute(readonly) octet_string channelMask = 60;
- attribute(readonly) OperationalDatasetComponents operationalDatasetComponents[] = 61;
- attribute(readonly) NetworkFault activeNetworkFaultsList[] = 62;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16u channel = 0;
+ readonly attribute enum8 routingRole = 1;
+ readonly attribute octet_string networkName = 2;
+ readonly attribute int16u panId = 3;
+ readonly attribute int64u extendedPanId = 4;
+ readonly attribute octet_string 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 channelMask = 60;
+ readonly attribute OperationalDatasetComponents operationalDatasetComponents[] = 61;
+ readonly attribute NetworkFault activeNetworkFaultsList[] = 62;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster UserLabel = 65 {
- attribute(writable) LabelStruct labelList[] = 0;
- attribute(readonly) int16u clusterRevision = 65533;
+ attribute LabelStruct labelList[] = 0;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster WiFiNetworkDiagnostics = 54 {
@@ -876,21 +876,21 @@
WiFiConnectionStatus connectionStatus = 0;
}
- attribute(readonly) octet_string bssid = 0;
- attribute(readonly) enum8 securityType = 1;
- attribute(readonly) enum8 wiFiVersion = 2;
- attribute(readonly) int16u channelNumber = 3;
- attribute(readonly) int8s rssi = 4;
- attribute(readonly) int32u beaconLostCount = 5;
- attribute(readonly) int32u beaconRxCount = 6;
- attribute(readonly) int32u packetMulticastRxCount = 7;
- attribute(readonly) int32u packetMulticastTxCount = 8;
- attribute(readonly) int32u packetUnicastRxCount = 9;
- attribute(readonly) int32u packetUnicastTxCount = 10;
- attribute(readonly) int64u currentMaxRate = 11;
- attribute(readonly) int64u overrunCount = 12;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute octet_string 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 attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
}
diff --git a/examples/door-lock-app/door-lock-common/door-lock-app.matter b/examples/door-lock-app/door-lock-common/door-lock-app.matter
index 16b9b8c..c84c60c 100644
--- a/examples/door-lock-app/door-lock-common/door-lock-app.matter
+++ b/examples/door-lock-app/door-lock-common/door-lock-app.matter
@@ -19,10 +19,10 @@
kWindowNotOpen = 3;
}
- attribute(readonly) int8u windowStatus = 0;
- attribute(readonly) fabric_idx adminFabricIndex = 1;
- attribute(readonly) int16u adminVendorId = 2;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int8u windowStatus = 0;
+ readonly attribute fabric_idx adminFabricIndex = 1;
+ readonly attribute int16u adminVendorId = 2;
+ readonly attribute int16u clusterRevision = 65533;
request struct OpenBasicCommissioningWindowRequest {
INT16U commissioningTimeout = 0;
@@ -57,18 +57,18 @@
boolean reachableNewValue = 0;
}
- attribute(readonly) int16u interactionModelVersion = 0;
- attribute(readonly) char_string vendorName = 1;
- attribute(readonly) vendor_id vendorID = 2;
- attribute(readonly) char_string productName = 3;
- attribute(readonly) int16u productID = 4;
- attribute(writable) char_string nodeLabel = 5;
- attribute(writable) char_string location = 6;
- attribute(readonly) int16u hardwareVersion = 7;
- attribute(readonly) char_string hardwareVersionString = 8;
- attribute(readonly) int32u softwareVersion = 9;
- attribute(readonly) char_string softwareVersionString = 10;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16u interactionModelVersion = 0;
+ readonly attribute char_string vendorName = 1;
+ readonly attribute vendor_id vendorID = 2;
+ readonly attribute char_string productName = 3;
+ readonly attribute int16u productID = 4;
+ attribute char_string nodeLabel = 5;
+ attribute char_string location = 6;
+ readonly attribute int16u hardwareVersion = 7;
+ readonly attribute char_string hardwareVersionString = 8;
+ readonly attribute int32u softwareVersion = 9;
+ readonly attribute char_string softwareVersionString = 10;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster Descriptor = 29 {
@@ -77,11 +77,11 @@
INT16U revision = 2;
}
- attribute(readonly) DeviceType deviceList[] = 0;
- attribute(readonly) CLUSTER_ID serverList[] = 1;
- attribute(readonly) CLUSTER_ID clientList[] = 2;
- attribute(readonly) ENDPOINT_NO partsList[] = 3;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute DeviceType deviceList[] = 0;
+ readonly attribute CLUSTER_ID serverList[] = 1;
+ readonly attribute CLUSTER_ID clientList[] = 2;
+ readonly attribute ENDPOINT_NO partsList[] = 3;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster DiagnosticLogs = 50 {
@@ -350,25 +350,25 @@
nullable INT16U dataIndex = 6;
}
- attribute(readonly) DlLockState lockState = 0;
- attribute(readonly) DlLockType lockType = 1;
- attribute(readonly) boolean actuatorEnabled = 2;
- attribute(readonly) DlDoorState doorState = 3;
- attribute(readonly) int16u numberOfTotalUsersSupported = 17;
- attribute(readonly) int16u numberOfPINUsersSupported = 18;
- attribute(readonly) int8u maxPINCodeLength = 23;
- attribute(readonly) int8u minPINCodeLength = 24;
- attribute(readonly) bitmap8 credentialRulesSupport = 27;
- attribute(writable) char_string language = 33;
- attribute(writable) int32u autoRelockTime = 35;
- attribute(writable) int8u soundVolume = 36;
- attribute(writable) DlOperatingMode operatingMode = 37;
- attribute(readonly) bitmap16 supportedOperatingModes = 38;
- attribute(writable) boolean enableOneTouchLocking = 41;
- attribute(writable) boolean enablePrivacyModeButton = 43;
- attribute(writable) int8u wrongCodeEntryLimit = 48;
- attribute(writable) int8u userCodeTemporaryDisableTime = 49;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute DlLockState lockState = 0;
+ readonly attribute DlLockType lockType = 1;
+ readonly attribute boolean actuatorEnabled = 2;
+ readonly attribute DlDoorState doorState = 3;
+ readonly attribute int16u numberOfTotalUsersSupported = 17;
+ readonly attribute int16u numberOfPINUsersSupported = 18;
+ readonly attribute int8u maxPINCodeLength = 23;
+ readonly attribute int8u minPINCodeLength = 24;
+ readonly attribute bitmap8 credentialRulesSupport = 27;
+ attribute char_string language = 33;
+ attribute int32u autoRelockTime = 35;
+ attribute int8u soundVolume = 36;
+ attribute DlOperatingMode operatingMode = 37;
+ readonly attribute bitmap16 supportedOperatingModes = 38;
+ attribute boolean enableOneTouchLocking = 41;
+ attribute boolean enablePrivacyModeButton = 43;
+ attribute int8u wrongCodeEntryLimit = 48;
+ attribute int8u userCodeTemporaryDisableTime = 49;
+ readonly attribute int16u clusterRevision = 65533;
request struct ClearCredentialRequest {
DlCredential credential = 0;
@@ -461,22 +461,22 @@
k400g = 9;
}
- attribute(readonly) enum8 PHYRate = 0;
- attribute(readonly) boolean fullDuplex = 1;
- attribute(readonly) int64u packetRxCount = 2;
- attribute(readonly) int64u packetTxCount = 3;
- attribute(readonly) int64u txErrCount = 4;
- attribute(readonly) int64u collisionCount = 5;
- attribute(readonly) int64u overrunCount = 6;
- attribute(readonly) boolean carrierDetect = 7;
- attribute(readonly) int64u timeSinceReset = 8;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster FixedLabel = 64 {
- attribute(readonly) LabelStruct labelList[] = 0;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute LabelStruct labelList[] = 0;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster GeneralCommissioning = 48 {
@@ -497,12 +497,12 @@
INT32U failSafeExpiryLengthMs = 1;
}
- attribute(writable) int64u breadcrumb = 0;
- attribute(readonly) BasicCommissioningInfoType basicCommissioningInfoList[] = 1;
- attribute(readonly) enum8 regulatoryConfig = 2;
- attribute(readonly) enum8 locationCapability = 3;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ attribute int64u breadcrumb = 0;
+ readonly attribute BasicCommissioningInfoType basicCommissioningInfoList[] = 1;
+ readonly attribute enum8 regulatoryConfig = 2;
+ readonly attribute enum8 locationCapability = 3;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
request struct ArmFailSafeRequest {
INT16U expiryLengthSeconds = 0;
@@ -615,20 +615,20 @@
BootReasonType bootReason = 0;
}
- attribute(readonly) NetworkInterfaceType networkInterfaces[] = 0;
- attribute(readonly) int16u rebootCount = 1;
- attribute(readonly) int64u upTime = 2;
- attribute(readonly) int32u totalOperationalHours = 3;
- attribute(readonly) enum8 bootReasons = 4;
- attribute(readonly) ENUM8 activeHardwareFaults[] = 5;
- attribute(readonly) ENUM8 activeRadioFaults[] = 6;
- attribute(readonly) ENUM8 activeNetworkFaults[] = 7;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 attribute int16u clusterRevision = 65533;
}
server cluster LocalizationConfiguration = 43 {
- attribute(writable) char_string activeLocale = 1;
- attribute(readonly) CHAR_STRING supportedLocales[] = 2;
+ attribute char_string activeLocale = 1;
+ readonly attribute CHAR_STRING supportedLocales[] = 2;
}
server cluster NetworkCommissioning = 49 {
@@ -681,16 +681,16 @@
INT8U lqi = 8;
}
- attribute(readonly) int8u maxNetworks = 0;
- attribute(readonly) NetworkInfo networks[] = 1;
- attribute(readonly) int8u scanMaxTimeSeconds = 2;
- attribute(readonly) int8u connectMaxTimeSeconds = 3;
- attribute(writable) boolean interfaceEnabled = 4;
- attribute(readonly) NetworkCommissioningStatus lastNetworkingStatus = 5;
- attribute(readonly) octet_string lastNetworkID = 6;
- attribute(readonly) int32u lastConnectErrorValue = 7;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 lastNetworkID = 6;
+ readonly attribute int32u lastConnectErrorValue = 7;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
request struct AddOrUpdateThreadNetworkRequest {
OCTET_STRING operationalDataset = 0;
@@ -773,12 +773,12 @@
CHAR_STRING label = 6;
}
- attribute(readonly) FabricDescriptor fabricsList[] = 1;
- attribute(readonly) int8u supportedFabrics = 2;
- attribute(readonly) int8u commissionedFabrics = 3;
- attribute(readonly) OCTET_STRING trustedRootCertificates[] = 4;
- attribute(readonly) fabric_idx currentFabricIndex = 5;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 attribute int16u clusterRevision = 65533;
request struct AddNOCRequest {
OCTET_STRING NOCValue = 0;
@@ -853,21 +853,21 @@
}
server cluster PowerSource = 47 {
- attribute(readonly) enum8 status = 0;
- attribute(readonly) int8u order = 1;
- attribute(readonly) char_string description = 2;
- attribute(readonly) int32u wiredAssessedCurrent = 6;
- attribute(readonly) enum8 batteryChargeLevel = 14;
- attribute(readonly) boolean batteryReplacementNeeded = 15;
- attribute(readonly) enum8 batteryReplaceability = 16;
- attribute(readonly) char_string batteryReplacementDescription = 19;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute enum8 status = 0;
+ readonly attribute int8u order = 1;
+ readonly attribute char_string description = 2;
+ readonly attribute int32u wiredAssessedCurrent = 6;
+ readonly attribute enum8 batteryChargeLevel = 14;
+ readonly attribute boolean batteryReplacementNeeded = 15;
+ readonly attribute enum8 batteryReplaceability = 16;
+ readonly attribute char_string batteryReplacementDescription = 19;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster PowerSourceConfiguration = 46 {
- attribute(readonly) INT8U sources[] = 0;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute INT8U sources[] = 0;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster SoftwareDiagnostics = 52 {
@@ -883,12 +883,12 @@
SoftwareFault softwareFault = 0;
}
- attribute(readonly) ThreadMetrics threadMetrics[] = 0;
- attribute(readonly) int64u currentHeapFree = 1;
- attribute(readonly) int64u currentHeapUsed = 2;
- attribute(readonly) int64u currentHeapHighWatermark = 3;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute ThreadMetrics threadMetrics[] = 0;
+ readonly attribute int64u currentHeapFree = 1;
+ readonly attribute int64u currentHeapUsed = 2;
+ readonly attribute int64u currentHeapHighWatermark = 3;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster ThreadNetworkDiagnostics = 53 {
@@ -968,76 +968,76 @@
ThreadConnectionStatus connectionStatus = 0;
}
- attribute(readonly) int16u channel = 0;
- attribute(readonly) enum8 routingRole = 1;
- attribute(readonly) octet_string networkName = 2;
- attribute(readonly) int16u panId = 3;
- attribute(readonly) int64u extendedPanId = 4;
- attribute(readonly) octet_string meshLocalPrefix = 5;
- attribute(readonly) int64u overrunCount = 6;
- attribute(readonly) NeighborTable neighborTableList[] = 7;
- attribute(readonly) RouteTable routeTableList[] = 8;
- attribute(readonly) int32u partitionId = 9;
- attribute(readonly) int8u weighting = 10;
- attribute(readonly) int8u dataVersion = 11;
- attribute(readonly) int8u stableDataVersion = 12;
- attribute(readonly) int8u leaderRouterId = 13;
- attribute(readonly) int16u detachedRoleCount = 14;
- attribute(readonly) int16u childRoleCount = 15;
- attribute(readonly) int16u routerRoleCount = 16;
- attribute(readonly) int16u leaderRoleCount = 17;
- attribute(readonly) int16u attachAttemptCount = 18;
- attribute(readonly) int16u partitionIdChangeCount = 19;
- attribute(readonly) int16u betterPartitionAttachAttemptCount = 20;
- attribute(readonly) int16u parentChangeCount = 21;
- attribute(readonly) int32u txTotalCount = 22;
- attribute(readonly) int32u txUnicastCount = 23;
- attribute(readonly) int32u txBroadcastCount = 24;
- attribute(readonly) int32u txAckRequestedCount = 25;
- attribute(readonly) int32u txAckedCount = 26;
- attribute(readonly) int32u txNoAckRequestedCount = 27;
- attribute(readonly) int32u txDataCount = 28;
- attribute(readonly) int32u txDataPollCount = 29;
- attribute(readonly) int32u txBeaconCount = 30;
- attribute(readonly) int32u txBeaconRequestCount = 31;
- attribute(readonly) int32u txOtherCount = 32;
- attribute(readonly) int32u txRetryCount = 33;
- attribute(readonly) int32u txDirectMaxRetryExpiryCount = 34;
- attribute(readonly) int32u txIndirectMaxRetryExpiryCount = 35;
- attribute(readonly) int32u txErrCcaCount = 36;
- attribute(readonly) int32u txErrAbortCount = 37;
- attribute(readonly) int32u txErrBusyChannelCount = 38;
- attribute(readonly) int32u rxTotalCount = 39;
- attribute(readonly) int32u rxUnicastCount = 40;
- attribute(readonly) int32u rxBroadcastCount = 41;
- attribute(readonly) int32u rxDataCount = 42;
- attribute(readonly) int32u rxDataPollCount = 43;
- attribute(readonly) int32u rxBeaconCount = 44;
- attribute(readonly) int32u rxBeaconRequestCount = 45;
- attribute(readonly) int32u rxOtherCount = 46;
- attribute(readonly) int32u rxAddressFilteredCount = 47;
- attribute(readonly) int32u rxDestAddrFilteredCount = 48;
- attribute(readonly) int32u rxDuplicatedCount = 49;
- attribute(readonly) int32u rxErrNoFrameCount = 50;
- attribute(readonly) int32u rxErrUnknownNeighborCount = 51;
- attribute(readonly) int32u rxErrInvalidSrcAddrCount = 52;
- attribute(readonly) int32u rxErrSecCount = 53;
- attribute(readonly) int32u rxErrFcsCount = 54;
- attribute(readonly) int32u rxErrOtherCount = 55;
- attribute(readonly) int64u activeTimestamp = 56;
- attribute(readonly) int64u pendingTimestamp = 57;
- attribute(readonly) int32u delay = 58;
- attribute(readonly) SecurityPolicy securityPolicy[] = 59;
- attribute(readonly) octet_string channelMask = 60;
- attribute(readonly) OperationalDatasetComponents operationalDatasetComponents[] = 61;
- attribute(readonly) NetworkFault activeNetworkFaultsList[] = 62;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16u channel = 0;
+ readonly attribute enum8 routingRole = 1;
+ readonly attribute octet_string networkName = 2;
+ readonly attribute int16u panId = 3;
+ readonly attribute int64u extendedPanId = 4;
+ readonly attribute octet_string 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 channelMask = 60;
+ readonly attribute OperationalDatasetComponents operationalDatasetComponents[] = 61;
+ readonly attribute NetworkFault activeNetworkFaultsList[] = 62;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster UserLabel = 65 {
- attribute(writable) LabelStruct labelList[] = 0;
- attribute(readonly) int16u clusterRevision = 65533;
+ attribute LabelStruct labelList[] = 0;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster WiFiNetworkDiagnostics = 54 {
@@ -1084,21 +1084,21 @@
WiFiConnectionStatus connectionStatus = 0;
}
- attribute(readonly) octet_string bssid = 0;
- attribute(readonly) enum8 securityType = 1;
- attribute(readonly) enum8 wiFiVersion = 2;
- attribute(readonly) int16u channelNumber = 3;
- attribute(readonly) int8s rssi = 4;
- attribute(readonly) int32u beaconLostCount = 5;
- attribute(readonly) int32u beaconRxCount = 6;
- attribute(readonly) int32u packetMulticastRxCount = 7;
- attribute(readonly) int32u packetMulticastTxCount = 8;
- attribute(readonly) int32u packetUnicastRxCount = 9;
- attribute(readonly) int32u packetUnicastTxCount = 10;
- attribute(readonly) int64u currentMaxRate = 11;
- attribute(readonly) int64u overrunCount = 12;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute octet_string 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 attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
}
diff --git a/examples/lighting-app/lighting-common/lighting-app.matter b/examples/lighting-app/lighting-common/lighting-app.matter
index 256b639..2567e30 100644
--- a/examples/lighting-app/lighting-common/lighting-app.matter
+++ b/examples/lighting-app/lighting-common/lighting-app.matter
@@ -19,10 +19,10 @@
kWindowNotOpen = 3;
}
- attribute(readonly) int8u windowStatus = 0;
- attribute(readonly) fabric_idx adminFabricIndex = 1;
- attribute(readonly) int16u adminVendorId = 2;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int8u windowStatus = 0;
+ readonly attribute fabric_idx adminFabricIndex = 1;
+ readonly attribute int16u adminVendorId = 2;
+ readonly attribute int16u clusterRevision = 65533;
request struct OpenBasicCommissioningWindowRequest {
INT16U commissioningTimeout = 0;
@@ -57,26 +57,26 @@
boolean reachableNewValue = 0;
}
- attribute(readonly) int16u interactionModelVersion = 0;
- attribute(readonly) char_string vendorName = 1;
- attribute(readonly) vendor_id vendorID = 2;
- attribute(readonly) char_string productName = 3;
- attribute(readonly) int16u productID = 4;
- attribute(writable) char_string nodeLabel = 5;
- attribute(writable) char_string location = 6;
- attribute(readonly) int16u hardwareVersion = 7;
- attribute(readonly) char_string hardwareVersionString = 8;
- attribute(readonly) int32u softwareVersion = 9;
- attribute(readonly) char_string softwareVersionString = 10;
- attribute(readonly) char_string manufacturingDate = 11;
- attribute(readonly) char_string partNumber = 12;
- attribute(readonly) long_char_string productURL = 13;
- attribute(readonly) char_string productLabel = 14;
- attribute(readonly) char_string serialNumber = 15;
- attribute(writable) boolean localConfigDisabled = 16;
- attribute(readonly) boolean reachable = 17;
- attribute(readonly) char_string uniqueID = 18;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16u interactionModelVersion = 0;
+ readonly attribute char_string vendorName = 1;
+ readonly attribute vendor_id vendorID = 2;
+ readonly attribute char_string productName = 3;
+ readonly attribute int16u productID = 4;
+ attribute char_string nodeLabel = 5;
+ attribute char_string location = 6;
+ readonly attribute int16u hardwareVersion = 7;
+ readonly attribute char_string hardwareVersionString = 8;
+ readonly attribute int32u softwareVersion = 9;
+ readonly attribute char_string softwareVersionString = 10;
+ readonly attribute char_string manufacturingDate = 11;
+ readonly attribute char_string partNumber = 12;
+ readonly attribute long_char_string productURL = 13;
+ readonly attribute char_string productLabel = 14;
+ readonly attribute char_string serialNumber = 15;
+ attribute boolean localConfigDisabled = 16;
+ readonly attribute boolean reachable = 17;
+ readonly attribute char_string uniqueID = 18;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster ColorControl = 768 {
@@ -126,28 +126,28 @@
kDown = 3;
}
- attribute(readonly) int8u currentHue = 0;
- attribute(readonly) int8u currentSaturation = 1;
- attribute(readonly) int16u remainingTime = 2;
- attribute(readonly) int16u currentX = 3;
- attribute(readonly) int16u currentY = 4;
- attribute(readonly) int16u colorTemperature = 7;
- attribute(readonly) enum8 colorMode = 8;
- attribute(writable) bitmap8 colorControlOptions = 15;
- attribute(readonly) int8u numberOfPrimaries = 16;
- attribute(readonly) int16u enhancedCurrentHue = 16384;
- attribute(readonly) enum8 enhancedColorMode = 16385;
- attribute(readonly) int8u colorLoopActive = 16386;
- attribute(readonly) int8u colorLoopDirection = 16387;
- attribute(readonly) int16u colorLoopTime = 16388;
- attribute(readonly) int16u colorLoopStartEnhancedHue = 16389;
- attribute(readonly) int16u colorLoopStoredEnhancedHue = 16390;
- attribute(readonly) bitmap16 colorCapabilities = 16394;
- attribute(readonly) int16u colorTempPhysicalMin = 16395;
- attribute(readonly) int16u colorTempPhysicalMax = 16396;
- attribute(readonly) int16u coupleColorTempToLevelMinMireds = 16397;
- attribute(writable) int16u startUpColorTemperatureMireds = 16400;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 int16u colorTemperature = 7;
+ readonly attribute enum8 colorMode = 8;
+ attribute bitmap8 colorControlOptions = 15;
+ readonly attribute int8u numberOfPrimaries = 16;
+ 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 int16u colorLoopStartEnhancedHue = 16389;
+ readonly attribute int16u colorLoopStoredEnhancedHue = 16390;
+ 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 attribute int16u clusterRevision = 65533;
request struct ColorLoopSetRequest {
ColorLoopUpdateFlags updateFlags = 0;
@@ -324,11 +324,11 @@
INT16U revision = 2;
}
- attribute(readonly) DeviceType deviceList[] = 0;
- attribute(readonly) CLUSTER_ID serverList[] = 1;
- attribute(readonly) CLUSTER_ID clientList[] = 2;
- attribute(readonly) ENDPOINT_NO partsList[] = 3;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute DeviceType deviceList[] = 0;
+ readonly attribute CLUSTER_ID serverList[] = 1;
+ readonly attribute CLUSTER_ID clientList[] = 2;
+ readonly attribute ENDPOINT_NO partsList[] = 3;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster DiagnosticLogs = 50 {
@@ -375,24 +375,24 @@
k400g = 9;
}
- attribute(readonly) enum8 PHYRate = 0;
- attribute(readonly) boolean fullDuplex = 1;
- attribute(readonly) int64u packetRxCount = 2;
- attribute(readonly) int64u packetTxCount = 3;
- attribute(readonly) int64u txErrCount = 4;
- attribute(readonly) int64u collisionCount = 5;
- attribute(readonly) int64u overrunCount = 6;
- attribute(readonly) boolean carrierDetect = 7;
- attribute(readonly) int64u timeSinceReset = 8;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
command ResetCounts(): DefaultSuccess = 0;
}
server cluster FixedLabel = 64 {
- attribute(readonly) LabelStruct labelList[] = 0;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute LabelStruct labelList[] = 0;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster GeneralCommissioning = 48 {
@@ -413,12 +413,12 @@
INT32U failSafeExpiryLengthMs = 1;
}
- attribute(writable) int64u breadcrumb = 0;
- attribute(readonly) BasicCommissioningInfoType basicCommissioningInfoList[] = 1;
- attribute(readonly) enum8 regulatoryConfig = 2;
- attribute(readonly) enum8 locationCapability = 3;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ attribute int64u breadcrumb = 0;
+ readonly attribute BasicCommissioningInfoType basicCommissioningInfoList[] = 1;
+ readonly attribute enum8 regulatoryConfig = 2;
+ readonly attribute enum8 locationCapability = 3;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
request struct ArmFailSafeRequest {
INT16U expiryLengthSeconds = 0;
@@ -531,15 +531,15 @@
BootReasonType bootReason = 0;
}
- attribute(readonly) NetworkInterfaceType networkInterfaces[] = 0;
- attribute(readonly) int16u rebootCount = 1;
- attribute(readonly) int64u upTime = 2;
- attribute(readonly) int32u totalOperationalHours = 3;
- attribute(readonly) enum8 bootReasons = 4;
- attribute(readonly) ENUM8 activeHardwareFaults[] = 5;
- attribute(readonly) ENUM8 activeRadioFaults[] = 6;
- attribute(readonly) ENUM8 activeNetworkFaults[] = 7;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 attribute int16u clusterRevision = 65533;
}
server cluster Identify = 3 {
@@ -565,9 +565,9 @@
kActuator = 5;
}
- attribute(writable) int16u identifyTime = 0;
- attribute(readonly) enum8 identifyType = 1;
- attribute(readonly) int16u clusterRevision = 65533;
+ attribute int16u identifyTime = 0;
+ readonly attribute enum8 identifyType = 1;
+ readonly attribute int16u clusterRevision = 65533;
request struct IdentifyRequest {
INT16U identifyTime = 0;
@@ -598,22 +598,22 @@
kDown = 1;
}
- attribute(readonly) int8u currentLevel = 0;
- attribute(readonly) int16u remainingTime = 1;
- attribute(readonly) int8u minLevel = 2;
- attribute(readonly) int8u maxLevel = 3;
- attribute(readonly) int16u currentFrequency = 4;
- attribute(readonly) int16u minFrequency = 5;
- attribute(readonly) int16u maxFrequency = 6;
- attribute(writable) bitmap8 options = 15;
- attribute(writable) int16u onOffTransitionTime = 16;
- attribute(writable) int8u onLevel = 17;
- attribute(writable) int16u onTransitionTime = 18;
- attribute(writable) int16u offTransitionTime = 19;
- attribute(writable) int8u defaultMoveRate = 20;
- attribute(writable) int8u startUpCurrentLevel = 16384;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 int8u onLevel = 17;
+ attribute int16u onTransitionTime = 18;
+ attribute int16u offTransitionTime = 19;
+ attribute int8u defaultMoveRate = 20;
+ attribute int8u startUpCurrentLevel = 16384;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
request struct MoveRequest {
MoveMode moveMode = 0;
@@ -669,8 +669,8 @@
}
server cluster LocalizationConfiguration = 43 {
- attribute(writable) char_string activeLocale = 1;
- attribute(readonly) CHAR_STRING supportedLocales[] = 2;
+ attribute char_string activeLocale = 1;
+ readonly attribute CHAR_STRING supportedLocales[] = 2;
}
server cluster NetworkCommissioning = 49 {
@@ -723,16 +723,16 @@
INT8U lqi = 8;
}
- attribute(readonly) int8u maxNetworks = 0;
- attribute(readonly) NetworkInfo networks[] = 1;
- attribute(readonly) int8u scanMaxTimeSeconds = 2;
- attribute(readonly) int8u connectMaxTimeSeconds = 3;
- attribute(writable) boolean interfaceEnabled = 4;
- attribute(readonly) NetworkCommissioningStatus lastNetworkingStatus = 5;
- attribute(readonly) octet_string lastNetworkID = 6;
- attribute(readonly) int32u lastConnectErrorValue = 7;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 lastNetworkID = 6;
+ readonly attribute int32u lastConnectErrorValue = 7;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
request struct AddOrUpdateThreadNetworkRequest {
OCTET_STRING operationalDataset = 0;
@@ -813,7 +813,7 @@
kDownloadProtocolNotSupported = 3;
}
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16u clusterRevision = 65533;
request struct ApplyUpdateRequestRequest {
OCTET_STRING updateToken = 0;
@@ -909,11 +909,11 @@
nullable INT64S platformCode = 3;
}
- attribute(writable) ProviderLocation defaultOtaProviders[] = 0;
- attribute(readonly) boolean updatePossible = 1;
- attribute(readonly) OTAUpdateStateEnum updateState = 2;
- attribute(readonly) int8u updateStateProgress = 3;
- attribute(readonly) int16u clusterRevision = 65533;
+ attribute ProviderLocation defaultOtaProviders[] = 0;
+ readonly attribute boolean updatePossible = 1;
+ readonly attribute OTAUpdateStateEnum updateState = 2;
+ readonly attribute int8u updateStateProgress = 3;
+ readonly attribute int16u clusterRevision = 65533;
request struct AnnounceOtaProviderRequest {
node_id providerNodeId = 0;
@@ -927,10 +927,10 @@
}
server cluster OccupancySensing = 1030 {
- attribute(readonly) bitmap8 occupancy = 0;
- attribute(readonly) enum8 occupancySensorType = 1;
- attribute(readonly) bitmap8 occupancySensorTypeBitmap = 2;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute bitmap8 occupancy = 0;
+ readonly attribute enum8 occupancySensorType = 1;
+ readonly attribute bitmap8 occupancySensorTypeBitmap = 2;
+ readonly attribute int16u clusterRevision = 65533;
}
client cluster OnOff = 6 {
@@ -949,13 +949,13 @@
kDyingLight = 1;
}
- attribute(readonly) boolean onOff = 0;
- attribute(readonly) boolean globalSceneControl = 16384;
- attribute(writable) int16u onTime = 16385;
- attribute(writable) int16u offWaitTime = 16386;
- attribute(writable) enum8 startUpOnOff = 16387;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute boolean onOff = 0;
+ readonly attribute boolean globalSceneControl = 16384;
+ attribute int16u onTime = 16385;
+ attribute int16u offWaitTime = 16386;
+ attribute enum8 startUpOnOff = 16387;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster OnOff = 6 {
@@ -974,13 +974,13 @@
kDyingLight = 1;
}
- attribute(readonly) boolean onOff = 0;
- attribute(readonly) boolean globalSceneControl = 16384;
- attribute(writable) int16u onTime = 16385;
- attribute(writable) int16u offWaitTime = 16386;
- attribute(writable) enum8 startUpOnOff = 16387;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute boolean onOff = 0;
+ readonly attribute boolean globalSceneControl = 16384;
+ attribute int16u onTime = 16385;
+ attribute int16u offWaitTime = 16386;
+ attribute enum8 startUpOnOff = 16387;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
request struct OffWithEffectRequest {
OnOffEffectIdentifier effectId = 0;
@@ -1002,9 +1002,9 @@
}
server cluster OnOffSwitchConfiguration = 7 {
- attribute(readonly) enum8 switchType = 0;
- attribute(writable) enum8 switchActions = 16;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute enum8 switchType = 0;
+ attribute enum8 switchActions = 16;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster OperationalCredentials = 62 {
@@ -1030,12 +1030,12 @@
CHAR_STRING label = 6;
}
- attribute(readonly) FabricDescriptor fabricsList[] = 1;
- attribute(readonly) int8u supportedFabrics = 2;
- attribute(readonly) int8u commissionedFabrics = 3;
- attribute(readonly) OCTET_STRING trustedRootCertificates[] = 4;
- attribute(readonly) fabric_idx currentFabricIndex = 5;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 attribute int16u clusterRevision = 65533;
request struct AddNOCRequest {
OCTET_STRING NOCValue = 0;
@@ -1122,12 +1122,12 @@
SoftwareFault softwareFault = 0;
}
- attribute(readonly) ThreadMetrics threadMetrics[] = 0;
- attribute(readonly) int64u currentHeapFree = 1;
- attribute(readonly) int64u currentHeapUsed = 2;
- attribute(readonly) int64u currentHeapHighWatermark = 3;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute ThreadMetrics threadMetrics[] = 0;
+ readonly attribute int64u currentHeapFree = 1;
+ readonly attribute int64u currentHeapUsed = 2;
+ readonly attribute int64u currentHeapHighWatermark = 3;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
command ResetWatermarks(): DefaultSuccess = 0;
}
@@ -1242,78 +1242,78 @@
ThreadConnectionStatus connectionStatus = 0;
}
- attribute(readonly) int16u channel = 0;
- attribute(readonly) enum8 routingRole = 1;
- attribute(readonly) octet_string networkName = 2;
- attribute(readonly) int16u panId = 3;
- attribute(readonly) int64u extendedPanId = 4;
- attribute(readonly) octet_string meshLocalPrefix = 5;
- attribute(readonly) int64u overrunCount = 6;
- attribute(readonly) NeighborTable neighborTableList[] = 7;
- attribute(readonly) RouteTable routeTableList[] = 8;
- attribute(readonly) int32u partitionId = 9;
- attribute(readonly) int8u weighting = 10;
- attribute(readonly) int8u dataVersion = 11;
- attribute(readonly) int8u stableDataVersion = 12;
- attribute(readonly) int8u leaderRouterId = 13;
- attribute(readonly) int16u detachedRoleCount = 14;
- attribute(readonly) int16u childRoleCount = 15;
- attribute(readonly) int16u routerRoleCount = 16;
- attribute(readonly) int16u leaderRoleCount = 17;
- attribute(readonly) int16u attachAttemptCount = 18;
- attribute(readonly) int16u partitionIdChangeCount = 19;
- attribute(readonly) int16u betterPartitionAttachAttemptCount = 20;
- attribute(readonly) int16u parentChangeCount = 21;
- attribute(readonly) int32u txTotalCount = 22;
- attribute(readonly) int32u txUnicastCount = 23;
- attribute(readonly) int32u txBroadcastCount = 24;
- attribute(readonly) int32u txAckRequestedCount = 25;
- attribute(readonly) int32u txAckedCount = 26;
- attribute(readonly) int32u txNoAckRequestedCount = 27;
- attribute(readonly) int32u txDataCount = 28;
- attribute(readonly) int32u txDataPollCount = 29;
- attribute(readonly) int32u txBeaconCount = 30;
- attribute(readonly) int32u txBeaconRequestCount = 31;
- attribute(readonly) int32u txOtherCount = 32;
- attribute(readonly) int32u txRetryCount = 33;
- attribute(readonly) int32u txDirectMaxRetryExpiryCount = 34;
- attribute(readonly) int32u txIndirectMaxRetryExpiryCount = 35;
- attribute(readonly) int32u txErrCcaCount = 36;
- attribute(readonly) int32u txErrAbortCount = 37;
- attribute(readonly) int32u txErrBusyChannelCount = 38;
- attribute(readonly) int32u rxTotalCount = 39;
- attribute(readonly) int32u rxUnicastCount = 40;
- attribute(readonly) int32u rxBroadcastCount = 41;
- attribute(readonly) int32u rxDataCount = 42;
- attribute(readonly) int32u rxDataPollCount = 43;
- attribute(readonly) int32u rxBeaconCount = 44;
- attribute(readonly) int32u rxBeaconRequestCount = 45;
- attribute(readonly) int32u rxOtherCount = 46;
- attribute(readonly) int32u rxAddressFilteredCount = 47;
- attribute(readonly) int32u rxDestAddrFilteredCount = 48;
- attribute(readonly) int32u rxDuplicatedCount = 49;
- attribute(readonly) int32u rxErrNoFrameCount = 50;
- attribute(readonly) int32u rxErrUnknownNeighborCount = 51;
- attribute(readonly) int32u rxErrInvalidSrcAddrCount = 52;
- attribute(readonly) int32u rxErrSecCount = 53;
- attribute(readonly) int32u rxErrFcsCount = 54;
- attribute(readonly) int32u rxErrOtherCount = 55;
- attribute(readonly) int64u activeTimestamp = 56;
- attribute(readonly) int64u pendingTimestamp = 57;
- attribute(readonly) int32u delay = 58;
- attribute(readonly) SecurityPolicy securityPolicy[] = 59;
- attribute(readonly) octet_string channelMask = 60;
- attribute(readonly) OperationalDatasetComponents operationalDatasetComponents[] = 61;
- attribute(readonly) NetworkFault activeNetworkFaultsList[] = 62;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16u channel = 0;
+ readonly attribute enum8 routingRole = 1;
+ readonly attribute octet_string networkName = 2;
+ readonly attribute int16u panId = 3;
+ readonly attribute int64u extendedPanId = 4;
+ readonly attribute octet_string 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 channelMask = 60;
+ readonly attribute OperationalDatasetComponents operationalDatasetComponents[] = 61;
+ readonly attribute NetworkFault activeNetworkFaultsList[] = 62;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
command ResetCounts(): DefaultSuccess = 0;
}
server cluster UserLabel = 65 {
- attribute(writable) LabelStruct labelList[] = 0;
- attribute(readonly) int16u clusterRevision = 65533;
+ attribute LabelStruct labelList[] = 0;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster WiFiNetworkDiagnostics = 54 {
@@ -1360,21 +1360,21 @@
WiFiConnectionStatus connectionStatus = 0;
}
- attribute(readonly) octet_string bssid = 0;
- attribute(readonly) enum8 securityType = 1;
- attribute(readonly) enum8 wiFiVersion = 2;
- attribute(readonly) int16u channelNumber = 3;
- attribute(readonly) int8s rssi = 4;
- attribute(readonly) int32u beaconLostCount = 5;
- attribute(readonly) int32u beaconRxCount = 6;
- attribute(readonly) int32u packetMulticastRxCount = 7;
- attribute(readonly) int32u packetMulticastTxCount = 8;
- attribute(readonly) int32u packetUnicastRxCount = 9;
- attribute(readonly) int32u packetUnicastTxCount = 10;
- attribute(readonly) int64u currentMaxRate = 11;
- attribute(readonly) int64u overrunCount = 12;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute octet_string 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 attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
command ResetCounts(): DefaultSuccess = 0;
}
diff --git a/examples/lock-app/lock-common/lock-app.matter b/examples/lock-app/lock-common/lock-app.matter
index f1a12df..1e4cc77 100644
--- a/examples/lock-app/lock-common/lock-app.matter
+++ b/examples/lock-app/lock-common/lock-app.matter
@@ -19,10 +19,10 @@
kWindowNotOpen = 3;
}
- attribute(readonly) int8u windowStatus = 0;
- attribute(readonly) fabric_idx adminFabricIndex = 1;
- attribute(readonly) int16u adminVendorId = 2;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int8u windowStatus = 0;
+ readonly attribute fabric_idx adminFabricIndex = 1;
+ readonly attribute int16u adminVendorId = 2;
+ readonly attribute int16u clusterRevision = 65533;
request struct OpenBasicCommissioningWindowRequest {
INT16U commissioningTimeout = 0;
@@ -57,18 +57,18 @@
boolean reachableNewValue = 0;
}
- attribute(readonly) int16u interactionModelVersion = 0;
- attribute(readonly) char_string vendorName = 1;
- attribute(readonly) vendor_id vendorID = 2;
- attribute(readonly) char_string productName = 3;
- attribute(readonly) int16u productID = 4;
- attribute(writable) char_string nodeLabel = 5;
- attribute(writable) char_string location = 6;
- attribute(readonly) int16u hardwareVersion = 7;
- attribute(readonly) char_string hardwareVersionString = 8;
- attribute(readonly) int32u softwareVersion = 9;
- attribute(readonly) char_string softwareVersionString = 10;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16u interactionModelVersion = 0;
+ readonly attribute char_string vendorName = 1;
+ readonly attribute vendor_id vendorID = 2;
+ readonly attribute char_string productName = 3;
+ readonly attribute int16u productID = 4;
+ attribute char_string nodeLabel = 5;
+ attribute char_string location = 6;
+ readonly attribute int16u hardwareVersion = 7;
+ readonly attribute char_string hardwareVersionString = 8;
+ readonly attribute int32u softwareVersion = 9;
+ readonly attribute char_string softwareVersionString = 10;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster Descriptor = 29 {
@@ -77,11 +77,11 @@
INT16U revision = 2;
}
- attribute(readonly) DeviceType deviceList[] = 0;
- attribute(readonly) CLUSTER_ID serverList[] = 1;
- attribute(readonly) CLUSTER_ID clientList[] = 2;
- attribute(readonly) ENDPOINT_NO partsList[] = 3;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute DeviceType deviceList[] = 0;
+ readonly attribute CLUSTER_ID serverList[] = 1;
+ readonly attribute CLUSTER_ID clientList[] = 2;
+ readonly attribute ENDPOINT_NO partsList[] = 3;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster DiagnosticLogs = 50 {
@@ -128,22 +128,22 @@
k400g = 9;
}
- attribute(readonly) enum8 PHYRate = 0;
- attribute(readonly) boolean fullDuplex = 1;
- attribute(readonly) int64u packetRxCount = 2;
- attribute(readonly) int64u packetTxCount = 3;
- attribute(readonly) int64u txErrCount = 4;
- attribute(readonly) int64u collisionCount = 5;
- attribute(readonly) int64u overrunCount = 6;
- attribute(readonly) boolean carrierDetect = 7;
- attribute(readonly) int64u timeSinceReset = 8;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster FixedLabel = 64 {
- attribute(readonly) LabelStruct labelList[] = 0;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute LabelStruct labelList[] = 0;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster GeneralCommissioning = 48 {
@@ -164,12 +164,12 @@
INT32U failSafeExpiryLengthMs = 1;
}
- attribute(writable) int64u breadcrumb = 0;
- attribute(readonly) BasicCommissioningInfoType basicCommissioningInfoList[] = 1;
- attribute(readonly) enum8 regulatoryConfig = 2;
- attribute(readonly) enum8 locationCapability = 3;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ attribute int64u breadcrumb = 0;
+ readonly attribute BasicCommissioningInfoType basicCommissioningInfoList[] = 1;
+ readonly attribute enum8 regulatoryConfig = 2;
+ readonly attribute enum8 locationCapability = 3;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
request struct ArmFailSafeRequest {
INT16U expiryLengthSeconds = 0;
@@ -282,20 +282,20 @@
BootReasonType bootReason = 0;
}
- attribute(readonly) NetworkInterfaceType networkInterfaces[] = 0;
- attribute(readonly) int16u rebootCount = 1;
- attribute(readonly) int64u upTime = 2;
- attribute(readonly) int32u totalOperationalHours = 3;
- attribute(readonly) enum8 bootReasons = 4;
- attribute(readonly) ENUM8 activeHardwareFaults[] = 5;
- attribute(readonly) ENUM8 activeRadioFaults[] = 6;
- attribute(readonly) ENUM8 activeNetworkFaults[] = 7;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 attribute int16u clusterRevision = 65533;
}
server cluster LocalizationConfiguration = 43 {
- attribute(writable) char_string activeLocale = 1;
- attribute(readonly) CHAR_STRING supportedLocales[] = 2;
+ attribute char_string activeLocale = 1;
+ readonly attribute CHAR_STRING supportedLocales[] = 2;
}
server cluster NetworkCommissioning = 49 {
@@ -348,16 +348,16 @@
INT8U lqi = 8;
}
- attribute(readonly) int8u maxNetworks = 0;
- attribute(readonly) NetworkInfo networks[] = 1;
- attribute(readonly) int8u scanMaxTimeSeconds = 2;
- attribute(readonly) int8u connectMaxTimeSeconds = 3;
- attribute(writable) boolean interfaceEnabled = 4;
- attribute(readonly) NetworkCommissioningStatus lastNetworkingStatus = 5;
- attribute(readonly) octet_string lastNetworkID = 6;
- attribute(readonly) int32u lastConnectErrorValue = 7;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 lastNetworkID = 6;
+ readonly attribute int32u lastConnectErrorValue = 7;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
request struct AddOrUpdateThreadNetworkRequest {
OCTET_STRING operationalDataset = 0;
@@ -433,13 +433,13 @@
kDyingLight = 1;
}
- attribute(readonly) boolean onOff = 0;
- attribute(readonly) boolean globalSceneControl = 16384;
- attribute(writable) int16u onTime = 16385;
- attribute(writable) int16u offWaitTime = 16386;
- attribute(writable) enum8 startUpOnOff = 16387;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute boolean onOff = 0;
+ readonly attribute boolean globalSceneControl = 16384;
+ attribute int16u onTime = 16385;
+ attribute int16u offWaitTime = 16386;
+ attribute enum8 startUpOnOff = 16387;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
command Off(): DefaultSuccess = 0;
command On(): DefaultSuccess = 1;
@@ -469,12 +469,12 @@
CHAR_STRING label = 6;
}
- attribute(readonly) FabricDescriptor fabricsList[] = 1;
- attribute(readonly) int8u supportedFabrics = 2;
- attribute(readonly) int8u commissionedFabrics = 3;
- attribute(readonly) OCTET_STRING trustedRootCertificates[] = 4;
- attribute(readonly) fabric_idx currentFabricIndex = 5;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 attribute int16u clusterRevision = 65533;
request struct AddNOCRequest {
OCTET_STRING NOCValue = 0;
@@ -549,21 +549,21 @@
}
server cluster PowerSource = 47 {
- attribute(readonly) enum8 status = 0;
- attribute(readonly) int8u order = 1;
- attribute(readonly) char_string description = 2;
- attribute(readonly) int32u wiredAssessedCurrent = 6;
- attribute(readonly) enum8 batteryChargeLevel = 14;
- attribute(readonly) boolean batteryReplacementNeeded = 15;
- attribute(readonly) enum8 batteryReplaceability = 16;
- attribute(readonly) char_string batteryReplacementDescription = 19;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute enum8 status = 0;
+ readonly attribute int8u order = 1;
+ readonly attribute char_string description = 2;
+ readonly attribute int32u wiredAssessedCurrent = 6;
+ readonly attribute enum8 batteryChargeLevel = 14;
+ readonly attribute boolean batteryReplacementNeeded = 15;
+ readonly attribute enum8 batteryReplaceability = 16;
+ readonly attribute char_string batteryReplacementDescription = 19;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster PowerSourceConfiguration = 46 {
- attribute(readonly) INT8U sources[] = 0;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute INT8U sources[] = 0;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster SoftwareDiagnostics = 52 {
@@ -579,12 +579,12 @@
SoftwareFault softwareFault = 0;
}
- attribute(readonly) ThreadMetrics threadMetrics[] = 0;
- attribute(readonly) int64u currentHeapFree = 1;
- attribute(readonly) int64u currentHeapUsed = 2;
- attribute(readonly) int64u currentHeapHighWatermark = 3;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute ThreadMetrics threadMetrics[] = 0;
+ readonly attribute int64u currentHeapFree = 1;
+ readonly attribute int64u currentHeapUsed = 2;
+ readonly attribute int64u currentHeapHighWatermark = 3;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster ThreadNetworkDiagnostics = 53 {
@@ -664,76 +664,76 @@
ThreadConnectionStatus connectionStatus = 0;
}
- attribute(readonly) int16u channel = 0;
- attribute(readonly) enum8 routingRole = 1;
- attribute(readonly) octet_string networkName = 2;
- attribute(readonly) int16u panId = 3;
- attribute(readonly) int64u extendedPanId = 4;
- attribute(readonly) octet_string meshLocalPrefix = 5;
- attribute(readonly) int64u overrunCount = 6;
- attribute(readonly) NeighborTable neighborTableList[] = 7;
- attribute(readonly) RouteTable routeTableList[] = 8;
- attribute(readonly) int32u partitionId = 9;
- attribute(readonly) int8u weighting = 10;
- attribute(readonly) int8u dataVersion = 11;
- attribute(readonly) int8u stableDataVersion = 12;
- attribute(readonly) int8u leaderRouterId = 13;
- attribute(readonly) int16u detachedRoleCount = 14;
- attribute(readonly) int16u childRoleCount = 15;
- attribute(readonly) int16u routerRoleCount = 16;
- attribute(readonly) int16u leaderRoleCount = 17;
- attribute(readonly) int16u attachAttemptCount = 18;
- attribute(readonly) int16u partitionIdChangeCount = 19;
- attribute(readonly) int16u betterPartitionAttachAttemptCount = 20;
- attribute(readonly) int16u parentChangeCount = 21;
- attribute(readonly) int32u txTotalCount = 22;
- attribute(readonly) int32u txUnicastCount = 23;
- attribute(readonly) int32u txBroadcastCount = 24;
- attribute(readonly) int32u txAckRequestedCount = 25;
- attribute(readonly) int32u txAckedCount = 26;
- attribute(readonly) int32u txNoAckRequestedCount = 27;
- attribute(readonly) int32u txDataCount = 28;
- attribute(readonly) int32u txDataPollCount = 29;
- attribute(readonly) int32u txBeaconCount = 30;
- attribute(readonly) int32u txBeaconRequestCount = 31;
- attribute(readonly) int32u txOtherCount = 32;
- attribute(readonly) int32u txRetryCount = 33;
- attribute(readonly) int32u txDirectMaxRetryExpiryCount = 34;
- attribute(readonly) int32u txIndirectMaxRetryExpiryCount = 35;
- attribute(readonly) int32u txErrCcaCount = 36;
- attribute(readonly) int32u txErrAbortCount = 37;
- attribute(readonly) int32u txErrBusyChannelCount = 38;
- attribute(readonly) int32u rxTotalCount = 39;
- attribute(readonly) int32u rxUnicastCount = 40;
- attribute(readonly) int32u rxBroadcastCount = 41;
- attribute(readonly) int32u rxDataCount = 42;
- attribute(readonly) int32u rxDataPollCount = 43;
- attribute(readonly) int32u rxBeaconCount = 44;
- attribute(readonly) int32u rxBeaconRequestCount = 45;
- attribute(readonly) int32u rxOtherCount = 46;
- attribute(readonly) int32u rxAddressFilteredCount = 47;
- attribute(readonly) int32u rxDestAddrFilteredCount = 48;
- attribute(readonly) int32u rxDuplicatedCount = 49;
- attribute(readonly) int32u rxErrNoFrameCount = 50;
- attribute(readonly) int32u rxErrUnknownNeighborCount = 51;
- attribute(readonly) int32u rxErrInvalidSrcAddrCount = 52;
- attribute(readonly) int32u rxErrSecCount = 53;
- attribute(readonly) int32u rxErrFcsCount = 54;
- attribute(readonly) int32u rxErrOtherCount = 55;
- attribute(readonly) int64u activeTimestamp = 56;
- attribute(readonly) int64u pendingTimestamp = 57;
- attribute(readonly) int32u delay = 58;
- attribute(readonly) SecurityPolicy securityPolicy[] = 59;
- attribute(readonly) octet_string channelMask = 60;
- attribute(readonly) OperationalDatasetComponents operationalDatasetComponents[] = 61;
- attribute(readonly) NetworkFault activeNetworkFaultsList[] = 62;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16u channel = 0;
+ readonly attribute enum8 routingRole = 1;
+ readonly attribute octet_string networkName = 2;
+ readonly attribute int16u panId = 3;
+ readonly attribute int64u extendedPanId = 4;
+ readonly attribute octet_string 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 channelMask = 60;
+ readonly attribute OperationalDatasetComponents operationalDatasetComponents[] = 61;
+ readonly attribute NetworkFault activeNetworkFaultsList[] = 62;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster UserLabel = 65 {
- attribute(writable) LabelStruct labelList[] = 0;
- attribute(readonly) int16u clusterRevision = 65533;
+ attribute LabelStruct labelList[] = 0;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster WiFiNetworkDiagnostics = 54 {
@@ -780,21 +780,21 @@
WiFiConnectionStatus connectionStatus = 0;
}
- attribute(readonly) octet_string bssid = 0;
- attribute(readonly) enum8 securityType = 1;
- attribute(readonly) enum8 wiFiVersion = 2;
- attribute(readonly) int16u channelNumber = 3;
- attribute(readonly) int8s rssi = 4;
- attribute(readonly) int32u beaconLostCount = 5;
- attribute(readonly) int32u beaconRxCount = 6;
- attribute(readonly) int32u packetMulticastRxCount = 7;
- attribute(readonly) int32u packetMulticastTxCount = 8;
- attribute(readonly) int32u packetUnicastRxCount = 9;
- attribute(readonly) int32u packetUnicastTxCount = 10;
- attribute(readonly) int64u currentMaxRate = 11;
- attribute(readonly) int64u overrunCount = 12;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute octet_string 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 attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
}
diff --git a/examples/log-source-app/log-source-common/log-source-app.matter b/examples/log-source-app/log-source-common/log-source-app.matter
index 3f3fd8d..cb0ab78 100644
--- a/examples/log-source-app/log-source-common/log-source-app.matter
+++ b/examples/log-source-app/log-source-common/log-source-app.matter
@@ -78,9 +78,9 @@
INT32U failSafeExpiryLengthMs = 1;
}
- attribute(writable) int64u breadcrumb = 0;
- attribute(readonly) BasicCommissioningInfoType basicCommissioningInfoList[] = 1;
- attribute(readonly) int16u clusterRevision = 65533;
+ attribute int64u breadcrumb = 0;
+ readonly attribute BasicCommissioningInfoType basicCommissioningInfoList[] = 1;
+ readonly attribute int16u clusterRevision = 65533;
request struct ArmFailSafeRequest {
INT16U expiryLengthSeconds = 0;
@@ -160,7 +160,7 @@
INT8U lqi = 8;
}
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16u clusterRevision = 65533;
request struct AddOrUpdateThreadNetworkRequest {
OCTET_STRING operationalDataset = 0;
@@ -243,11 +243,11 @@
CHAR_STRING label = 6;
}
- attribute(readonly) FabricDescriptor fabricsList[] = 1;
- attribute(readonly) int8u supportedFabrics = 2;
- attribute(readonly) int8u commissionedFabrics = 3;
- attribute(readonly) OCTET_STRING trustedRootCertificates[] = 4;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute FabricDescriptor fabricsList[] = 1;
+ readonly attribute int8u supportedFabrics = 2;
+ readonly attribute int8u commissionedFabrics = 3;
+ readonly attribute OCTET_STRING trustedRootCertificates[] = 4;
+ readonly attribute int16u clusterRevision = 65533;
request struct AddNOCRequest {
OCTET_STRING NOCValue = 0;
diff --git a/examples/ota-provider-app/ota-provider-common/ota-provider-app.matter b/examples/ota-provider-app/ota-provider-common/ota-provider-app.matter
index 163b3d3..127426e 100644
--- a/examples/ota-provider-app/ota-provider-common/ota-provider-app.matter
+++ b/examples/ota-provider-app/ota-provider-common/ota-provider-app.matter
@@ -7,8 +7,8 @@
}
server cluster FixedLabel = 64 {
- attribute(readonly) LabelStruct labelList[] = 0;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute LabelStruct labelList[] = 0;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster GeneralCommissioning = 48 {
@@ -29,12 +29,12 @@
INT32U failSafeExpiryLengthMs = 1;
}
- attribute(writable) int64u breadcrumb = 0;
- attribute(readonly) BasicCommissioningInfoType basicCommissioningInfoList[] = 1;
- attribute(readonly) enum8 regulatoryConfig = 2;
- attribute(readonly) enum8 locationCapability = 3;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ attribute int64u breadcrumb = 0;
+ readonly attribute BasicCommissioningInfoType basicCommissioningInfoList[] = 1;
+ readonly attribute enum8 regulatoryConfig = 2;
+ readonly attribute enum8 locationCapability = 3;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
request struct ArmFailSafeRequest {
INT16U expiryLengthSeconds = 0;
@@ -70,8 +70,8 @@
}
server cluster LocalizationConfiguration = 43 {
- attribute(writable) char_string activeLocale = 1;
- attribute(readonly) CHAR_STRING supportedLocales[] = 2;
+ attribute char_string activeLocale = 1;
+ readonly attribute CHAR_STRING supportedLocales[] = 2;
}
server cluster NetworkCommissioning = 49 {
@@ -124,16 +124,16 @@
INT8U lqi = 8;
}
- attribute(readonly) int8u maxNetworks = 0;
- attribute(readonly) NetworkInfo networks[] = 1;
- attribute(readonly) int8u scanMaxTimeSeconds = 2;
- attribute(readonly) int8u connectMaxTimeSeconds = 3;
- attribute(writable) boolean interfaceEnabled = 4;
- attribute(readonly) NetworkCommissioningStatus lastNetworkingStatus = 5;
- attribute(readonly) octet_string lastNetworkID = 6;
- attribute(readonly) int32u lastConnectErrorValue = 7;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 lastNetworkID = 6;
+ readonly attribute int32u lastConnectErrorValue = 7;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
request struct AddOrUpdateThreadNetworkRequest {
OCTET_STRING operationalDataset = 0;
@@ -214,7 +214,7 @@
kDownloadProtocolNotSupported = 3;
}
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16u clusterRevision = 65533;
request struct ApplyUpdateRequestRequest {
OCTET_STRING updateToken = 0;
@@ -281,12 +281,12 @@
CHAR_STRING label = 6;
}
- attribute(readonly) FabricDescriptor fabricsList[] = 1;
- attribute(readonly) int8u supportedFabrics = 2;
- attribute(readonly) int8u commissionedFabrics = 3;
- attribute(readonly) OCTET_STRING trustedRootCertificates[] = 4;
- attribute(readonly) fabric_idx currentFabricIndex = 5;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 attribute int16u clusterRevision = 65533;
request struct AddNOCRequest {
OCTET_STRING NOCValue = 0;
@@ -350,8 +350,8 @@
}
server cluster UserLabel = 65 {
- attribute(writable) LabelStruct labelList[] = 0;
- attribute(readonly) int16u clusterRevision = 65533;
+ attribute LabelStruct labelList[] = 0;
+ readonly attribute int16u clusterRevision = 65533;
}
diff --git a/examples/ota-requestor-app/ota-requestor-common/ota-requestor-app.matter b/examples/ota-requestor-app/ota-requestor-common/ota-requestor-app.matter
index b7e711b..35533af 100644
--- a/examples/ota-requestor-app/ota-requestor-common/ota-requestor-app.matter
+++ b/examples/ota-requestor-app/ota-requestor-common/ota-requestor-app.matter
@@ -21,25 +21,25 @@
boolean reachableNewValue = 0;
}
- attribute(readonly) int16u interactionModelVersion = 0;
- attribute(readonly) char_string vendorName = 1;
- attribute(readonly) vendor_id vendorID = 2;
- attribute(readonly) char_string productName = 3;
- attribute(readonly) int16u productID = 4;
- attribute(writable) char_string nodeLabel = 5;
- attribute(writable) char_string location = 6;
- attribute(readonly) int16u hardwareVersion = 7;
- attribute(readonly) char_string hardwareVersionString = 8;
- attribute(readonly) int32u softwareVersion = 9;
- attribute(readonly) char_string softwareVersionString = 10;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16u interactionModelVersion = 0;
+ readonly attribute char_string vendorName = 1;
+ readonly attribute vendor_id vendorID = 2;
+ readonly attribute char_string productName = 3;
+ readonly attribute int16u productID = 4;
+ attribute char_string nodeLabel = 5;
+ attribute char_string location = 6;
+ readonly attribute int16u hardwareVersion = 7;
+ readonly attribute char_string hardwareVersionString = 8;
+ readonly attribute int32u softwareVersion = 9;
+ readonly attribute char_string softwareVersionString = 10;
+ readonly attribute int16u clusterRevision = 65533;
command MfgSpecificPing(): DefaultSuccess = 0;
}
server cluster FixedLabel = 64 {
- attribute(readonly) LabelStruct labelList[] = 0;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute LabelStruct labelList[] = 0;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster GeneralCommissioning = 48 {
@@ -60,12 +60,12 @@
INT32U failSafeExpiryLengthMs = 1;
}
- attribute(writable) int64u breadcrumb = 0;
- attribute(readonly) BasicCommissioningInfoType basicCommissioningInfoList[] = 1;
- attribute(readonly) enum8 regulatoryConfig = 2;
- attribute(readonly) enum8 locationCapability = 3;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ attribute int64u breadcrumb = 0;
+ readonly attribute BasicCommissioningInfoType basicCommissioningInfoList[] = 1;
+ readonly attribute enum8 regulatoryConfig = 2;
+ readonly attribute enum8 locationCapability = 3;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
request struct ArmFailSafeRequest {
INT16U expiryLengthSeconds = 0;
@@ -101,8 +101,8 @@
}
server cluster LocalizationConfiguration = 43 {
- attribute(writable) char_string activeLocale = 1;
- attribute(readonly) CHAR_STRING supportedLocales[] = 2;
+ attribute char_string activeLocale = 1;
+ readonly attribute CHAR_STRING supportedLocales[] = 2;
}
server cluster NetworkCommissioning = 49 {
@@ -155,16 +155,16 @@
INT8U lqi = 8;
}
- attribute(readonly) int8u maxNetworks = 0;
- attribute(readonly) NetworkInfo networks[] = 1;
- attribute(readonly) int8u scanMaxTimeSeconds = 2;
- attribute(readonly) int8u connectMaxTimeSeconds = 3;
- attribute(writable) boolean interfaceEnabled = 4;
- attribute(readonly) NetworkCommissioningStatus lastNetworkingStatus = 5;
- attribute(readonly) octet_string lastNetworkID = 6;
- attribute(readonly) int32u lastConnectErrorValue = 7;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 lastNetworkID = 6;
+ readonly attribute int32u lastConnectErrorValue = 7;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
request struct AddOrUpdateThreadNetworkRequest {
OCTET_STRING operationalDataset = 0;
@@ -245,7 +245,7 @@
kDownloadProtocolNotSupported = 3;
}
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16u clusterRevision = 65533;
request struct ApplyUpdateRequestRequest {
OCTET_STRING updateToken = 0;
@@ -341,11 +341,11 @@
nullable INT64S platformCode = 3;
}
- attribute(writable) ProviderLocation defaultOtaProviders[] = 0;
- attribute(readonly) boolean updatePossible = 1;
- attribute(readonly) OTAUpdateStateEnum updateState = 2;
- attribute(readonly) int8u updateStateProgress = 3;
- attribute(readonly) int16u clusterRevision = 65533;
+ attribute ProviderLocation defaultOtaProviders[] = 0;
+ readonly attribute boolean updatePossible = 1;
+ readonly attribute OTAUpdateStateEnum updateState = 2;
+ readonly attribute int8u updateStateProgress = 3;
+ readonly attribute int16u clusterRevision = 65533;
request struct AnnounceOtaProviderRequest {
node_id providerNodeId = 0;
@@ -381,12 +381,12 @@
CHAR_STRING label = 6;
}
- attribute(readonly) FabricDescriptor fabricsList[] = 1;
- attribute(readonly) int8u supportedFabrics = 2;
- attribute(readonly) int8u commissionedFabrics = 3;
- attribute(readonly) OCTET_STRING trustedRootCertificates[] = 4;
- attribute(readonly) fabric_idx currentFabricIndex = 5;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 attribute int16u clusterRevision = 65533;
request struct AddNOCRequest {
OCTET_STRING NOCValue = 0;
@@ -461,8 +461,8 @@
}
server cluster UserLabel = 65 {
- attribute(writable) LabelStruct labelList[] = 0;
- attribute(readonly) int16u clusterRevision = 65533;
+ attribute LabelStruct labelList[] = 0;
+ readonly attribute int16u clusterRevision = 65533;
}
diff --git a/examples/placeholder/linux/apps/app1/config.matter b/examples/placeholder/linux/apps/app1/config.matter
index 4be14a2..67d215f 100644
--- a/examples/placeholder/linux/apps/app1/config.matter
+++ b/examples/placeholder/linux/apps/app1/config.matter
@@ -16,26 +16,26 @@
boolean reachableNewValue = 0;
}
- attribute(readonly) int16u interactionModelVersion = 0;
- attribute(readonly) char_string vendorName = 1;
- attribute(readonly) vendor_id vendorID = 2;
- attribute(readonly) char_string productName = 3;
- attribute(readonly) int16u productID = 4;
- attribute(writable) char_string nodeLabel = 5;
- attribute(writable) char_string location = 6;
- attribute(readonly) int16u hardwareVersion = 7;
- attribute(readonly) char_string hardwareVersionString = 8;
- attribute(readonly) int32u softwareVersion = 9;
- attribute(readonly) char_string softwareVersionString = 10;
- attribute(readonly) char_string manufacturingDate = 11;
- attribute(readonly) char_string partNumber = 12;
- attribute(readonly) long_char_string productURL = 13;
- attribute(readonly) char_string productLabel = 14;
- attribute(readonly) char_string serialNumber = 15;
- attribute(writable) boolean localConfigDisabled = 16;
- attribute(readonly) boolean reachable = 17;
- attribute(readonly) char_string uniqueID = 18;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16u interactionModelVersion = 0;
+ readonly attribute char_string vendorName = 1;
+ readonly attribute vendor_id vendorID = 2;
+ readonly attribute char_string productName = 3;
+ readonly attribute int16u productID = 4;
+ attribute char_string nodeLabel = 5;
+ attribute char_string location = 6;
+ readonly attribute int16u hardwareVersion = 7;
+ readonly attribute char_string hardwareVersionString = 8;
+ readonly attribute int32u softwareVersion = 9;
+ readonly attribute char_string softwareVersionString = 10;
+ readonly attribute char_string manufacturingDate = 11;
+ readonly attribute char_string partNumber = 12;
+ readonly attribute long_char_string productURL = 13;
+ readonly attribute char_string productLabel = 14;
+ readonly attribute char_string serialNumber = 15;
+ attribute boolean localConfigDisabled = 16;
+ readonly attribute boolean reachable = 17;
+ readonly attribute char_string uniqueID = 18;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster ColorControl = 768 {
@@ -85,12 +85,12 @@
kDown = 3;
}
- attribute(readonly) int16u currentX = 3;
- attribute(readonly) int16u currentY = 4;
- attribute(writable) bitmap8 colorControlOptions = 15;
- attribute(readonly) int16u coupleColorTempToLevelMinMireds = 16397;
- attribute(writable) int16u startUpColorTemperatureMireds = 16400;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16u currentX = 3;
+ readonly attribute int16u currentY = 4;
+ attribute bitmap8 colorControlOptions = 15;
+ readonly attribute int16u coupleColorTempToLevelMinMireds = 16397;
+ attribute int16u startUpColorTemperatureMireds = 16400;
+ readonly attribute int16u clusterRevision = 65533;
request struct MoveColorRequest {
INT16S rateX = 0;
@@ -126,11 +126,11 @@
INT16U revision = 2;
}
- attribute(readonly) DeviceType deviceList[] = 0;
- attribute(readonly) CLUSTER_ID serverList[] = 1;
- attribute(readonly) CLUSTER_ID clientList[] = 2;
- attribute(readonly) ENDPOINT_NO partsList[] = 3;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute DeviceType deviceList[] = 0;
+ readonly attribute CLUSTER_ID serverList[] = 1;
+ readonly attribute CLUSTER_ID clientList[] = 2;
+ readonly attribute ENDPOINT_NO partsList[] = 3;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster GeneralCommissioning = 48 {
@@ -151,9 +151,9 @@
INT32U failSafeExpiryLengthMs = 1;
}
- attribute(writable) int64u breadcrumb = 0;
- attribute(readonly) BasicCommissioningInfoType basicCommissioningInfoList[] = 1;
- attribute(readonly) int16u clusterRevision = 65533;
+ attribute int64u breadcrumb = 0;
+ readonly attribute BasicCommissioningInfoType basicCommissioningInfoList[] = 1;
+ readonly attribute int16u clusterRevision = 65533;
request struct ArmFailSafeRequest {
INT16U expiryLengthSeconds = 0;
@@ -189,8 +189,8 @@
}
server cluster Groups = 4 {
- attribute(readonly) bitmap8 nameSupport = 0;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute bitmap8 nameSupport = 0;
+ readonly attribute int16u clusterRevision = 65533;
request struct AddGroupRequest {
INT16U groupId = 0;
@@ -266,9 +266,9 @@
kActuator = 5;
}
- attribute(writable) int16u identifyTime = 0;
- attribute(readonly) enum8 identifyType = 1;
- attribute(readonly) int16u clusterRevision = 65533;
+ attribute int16u identifyTime = 0;
+ readonly attribute enum8 identifyType = 1;
+ readonly attribute int16u clusterRevision = 65533;
request struct IdentifyRequest {
INT16U identifyTime = 0;
@@ -293,8 +293,8 @@
kDown = 1;
}
- attribute(readonly) int8u currentLevel = 0;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int8u currentLevel = 0;
+ readonly attribute int16u clusterRevision = 65533;
request struct MoveRequest {
MoveMode moveMode = 0;
@@ -399,16 +399,16 @@
INT8U lqi = 8;
}
- attribute(readonly) int8u maxNetworks = 0;
- attribute(readonly) NetworkInfo networks[] = 1;
- attribute(readonly) int8u scanMaxTimeSeconds = 2;
- attribute(readonly) int8u connectMaxTimeSeconds = 3;
- attribute(writable) boolean interfaceEnabled = 4;
- attribute(readonly) NetworkCommissioningStatus lastNetworkingStatus = 5;
- attribute(readonly) octet_string lastNetworkID = 6;
- attribute(readonly) int32u lastConnectErrorValue = 7;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 lastNetworkID = 6;
+ readonly attribute int32u lastConnectErrorValue = 7;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
request struct AddOrUpdateThreadNetworkRequest {
OCTET_STRING operationalDataset = 0;
@@ -484,8 +484,8 @@
kDyingLight = 1;
}
- attribute(readonly) boolean onOff = 0;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute boolean onOff = 0;
+ readonly attribute int16u clusterRevision = 65533;
command Off(): DefaultSuccess = 0;
command On(): DefaultSuccess = 1;
@@ -515,12 +515,12 @@
CHAR_STRING label = 6;
}
- attribute(readonly) FabricDescriptor fabricsList[] = 1;
- attribute(readonly) int8u supportedFabrics = 2;
- attribute(readonly) int8u commissionedFabrics = 3;
- attribute(readonly) OCTET_STRING trustedRootCertificates[] = 4;
- attribute(readonly) fabric_idx currentFabricIndex = 5;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 attribute int16u clusterRevision = 65533;
request struct AddNOCRequest {
OCTET_STRING NOCValue = 0;
@@ -601,12 +601,12 @@
INT8U value = 3;
}
- attribute(readonly) int8u sceneCount = 0;
- attribute(readonly) int8u currentScene = 1;
- attribute(readonly) int16u currentGroup = 2;
- attribute(readonly) boolean sceneValid = 3;
- attribute(readonly) bitmap8 nameSupport = 4;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 attribute int16u clusterRevision = 65533;
request struct AddSceneRequest {
INT16U groupId = 0;
@@ -695,17 +695,17 @@
}
client cluster TemperatureMeasurement = 1026 {
- attribute(readonly) int16s measuredValue = 0;
- attribute(readonly) int16s minMeasuredValue = 1;
- attribute(readonly) int16s maxMeasuredValue = 2;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16s measuredValue = 0;
+ readonly attribute int16s minMeasuredValue = 1;
+ readonly attribute int16s maxMeasuredValue = 2;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster TemperatureMeasurement = 1026 {
- attribute(readonly) int16s measuredValue = 0;
- attribute(readonly) int16s minMeasuredValue = 1;
- attribute(readonly) int16s maxMeasuredValue = 2;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16s measuredValue = 0;
+ readonly attribute int16s minMeasuredValue = 1;
+ readonly attribute int16s maxMeasuredValue = 2;
+ readonly attribute int16u clusterRevision = 65533;
}
diff --git a/examples/placeholder/linux/apps/app2/config.matter b/examples/placeholder/linux/apps/app2/config.matter
index 4be14a2..67d215f 100644
--- a/examples/placeholder/linux/apps/app2/config.matter
+++ b/examples/placeholder/linux/apps/app2/config.matter
@@ -16,26 +16,26 @@
boolean reachableNewValue = 0;
}
- attribute(readonly) int16u interactionModelVersion = 0;
- attribute(readonly) char_string vendorName = 1;
- attribute(readonly) vendor_id vendorID = 2;
- attribute(readonly) char_string productName = 3;
- attribute(readonly) int16u productID = 4;
- attribute(writable) char_string nodeLabel = 5;
- attribute(writable) char_string location = 6;
- attribute(readonly) int16u hardwareVersion = 7;
- attribute(readonly) char_string hardwareVersionString = 8;
- attribute(readonly) int32u softwareVersion = 9;
- attribute(readonly) char_string softwareVersionString = 10;
- attribute(readonly) char_string manufacturingDate = 11;
- attribute(readonly) char_string partNumber = 12;
- attribute(readonly) long_char_string productURL = 13;
- attribute(readonly) char_string productLabel = 14;
- attribute(readonly) char_string serialNumber = 15;
- attribute(writable) boolean localConfigDisabled = 16;
- attribute(readonly) boolean reachable = 17;
- attribute(readonly) char_string uniqueID = 18;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16u interactionModelVersion = 0;
+ readonly attribute char_string vendorName = 1;
+ readonly attribute vendor_id vendorID = 2;
+ readonly attribute char_string productName = 3;
+ readonly attribute int16u productID = 4;
+ attribute char_string nodeLabel = 5;
+ attribute char_string location = 6;
+ readonly attribute int16u hardwareVersion = 7;
+ readonly attribute char_string hardwareVersionString = 8;
+ readonly attribute int32u softwareVersion = 9;
+ readonly attribute char_string softwareVersionString = 10;
+ readonly attribute char_string manufacturingDate = 11;
+ readonly attribute char_string partNumber = 12;
+ readonly attribute long_char_string productURL = 13;
+ readonly attribute char_string productLabel = 14;
+ readonly attribute char_string serialNumber = 15;
+ attribute boolean localConfigDisabled = 16;
+ readonly attribute boolean reachable = 17;
+ readonly attribute char_string uniqueID = 18;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster ColorControl = 768 {
@@ -85,12 +85,12 @@
kDown = 3;
}
- attribute(readonly) int16u currentX = 3;
- attribute(readonly) int16u currentY = 4;
- attribute(writable) bitmap8 colorControlOptions = 15;
- attribute(readonly) int16u coupleColorTempToLevelMinMireds = 16397;
- attribute(writable) int16u startUpColorTemperatureMireds = 16400;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16u currentX = 3;
+ readonly attribute int16u currentY = 4;
+ attribute bitmap8 colorControlOptions = 15;
+ readonly attribute int16u coupleColorTempToLevelMinMireds = 16397;
+ attribute int16u startUpColorTemperatureMireds = 16400;
+ readonly attribute int16u clusterRevision = 65533;
request struct MoveColorRequest {
INT16S rateX = 0;
@@ -126,11 +126,11 @@
INT16U revision = 2;
}
- attribute(readonly) DeviceType deviceList[] = 0;
- attribute(readonly) CLUSTER_ID serverList[] = 1;
- attribute(readonly) CLUSTER_ID clientList[] = 2;
- attribute(readonly) ENDPOINT_NO partsList[] = 3;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute DeviceType deviceList[] = 0;
+ readonly attribute CLUSTER_ID serverList[] = 1;
+ readonly attribute CLUSTER_ID clientList[] = 2;
+ readonly attribute ENDPOINT_NO partsList[] = 3;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster GeneralCommissioning = 48 {
@@ -151,9 +151,9 @@
INT32U failSafeExpiryLengthMs = 1;
}
- attribute(writable) int64u breadcrumb = 0;
- attribute(readonly) BasicCommissioningInfoType basicCommissioningInfoList[] = 1;
- attribute(readonly) int16u clusterRevision = 65533;
+ attribute int64u breadcrumb = 0;
+ readonly attribute BasicCommissioningInfoType basicCommissioningInfoList[] = 1;
+ readonly attribute int16u clusterRevision = 65533;
request struct ArmFailSafeRequest {
INT16U expiryLengthSeconds = 0;
@@ -189,8 +189,8 @@
}
server cluster Groups = 4 {
- attribute(readonly) bitmap8 nameSupport = 0;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute bitmap8 nameSupport = 0;
+ readonly attribute int16u clusterRevision = 65533;
request struct AddGroupRequest {
INT16U groupId = 0;
@@ -266,9 +266,9 @@
kActuator = 5;
}
- attribute(writable) int16u identifyTime = 0;
- attribute(readonly) enum8 identifyType = 1;
- attribute(readonly) int16u clusterRevision = 65533;
+ attribute int16u identifyTime = 0;
+ readonly attribute enum8 identifyType = 1;
+ readonly attribute int16u clusterRevision = 65533;
request struct IdentifyRequest {
INT16U identifyTime = 0;
@@ -293,8 +293,8 @@
kDown = 1;
}
- attribute(readonly) int8u currentLevel = 0;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int8u currentLevel = 0;
+ readonly attribute int16u clusterRevision = 65533;
request struct MoveRequest {
MoveMode moveMode = 0;
@@ -399,16 +399,16 @@
INT8U lqi = 8;
}
- attribute(readonly) int8u maxNetworks = 0;
- attribute(readonly) NetworkInfo networks[] = 1;
- attribute(readonly) int8u scanMaxTimeSeconds = 2;
- attribute(readonly) int8u connectMaxTimeSeconds = 3;
- attribute(writable) boolean interfaceEnabled = 4;
- attribute(readonly) NetworkCommissioningStatus lastNetworkingStatus = 5;
- attribute(readonly) octet_string lastNetworkID = 6;
- attribute(readonly) int32u lastConnectErrorValue = 7;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 lastNetworkID = 6;
+ readonly attribute int32u lastConnectErrorValue = 7;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
request struct AddOrUpdateThreadNetworkRequest {
OCTET_STRING operationalDataset = 0;
@@ -484,8 +484,8 @@
kDyingLight = 1;
}
- attribute(readonly) boolean onOff = 0;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute boolean onOff = 0;
+ readonly attribute int16u clusterRevision = 65533;
command Off(): DefaultSuccess = 0;
command On(): DefaultSuccess = 1;
@@ -515,12 +515,12 @@
CHAR_STRING label = 6;
}
- attribute(readonly) FabricDescriptor fabricsList[] = 1;
- attribute(readonly) int8u supportedFabrics = 2;
- attribute(readonly) int8u commissionedFabrics = 3;
- attribute(readonly) OCTET_STRING trustedRootCertificates[] = 4;
- attribute(readonly) fabric_idx currentFabricIndex = 5;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 attribute int16u clusterRevision = 65533;
request struct AddNOCRequest {
OCTET_STRING NOCValue = 0;
@@ -601,12 +601,12 @@
INT8U value = 3;
}
- attribute(readonly) int8u sceneCount = 0;
- attribute(readonly) int8u currentScene = 1;
- attribute(readonly) int16u currentGroup = 2;
- attribute(readonly) boolean sceneValid = 3;
- attribute(readonly) bitmap8 nameSupport = 4;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 attribute int16u clusterRevision = 65533;
request struct AddSceneRequest {
INT16U groupId = 0;
@@ -695,17 +695,17 @@
}
client cluster TemperatureMeasurement = 1026 {
- attribute(readonly) int16s measuredValue = 0;
- attribute(readonly) int16s minMeasuredValue = 1;
- attribute(readonly) int16s maxMeasuredValue = 2;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16s measuredValue = 0;
+ readonly attribute int16s minMeasuredValue = 1;
+ readonly attribute int16s maxMeasuredValue = 2;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster TemperatureMeasurement = 1026 {
- attribute(readonly) int16s measuredValue = 0;
- attribute(readonly) int16s minMeasuredValue = 1;
- attribute(readonly) int16s maxMeasuredValue = 2;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16s measuredValue = 0;
+ readonly attribute int16s minMeasuredValue = 1;
+ readonly attribute int16s maxMeasuredValue = 2;
+ readonly attribute int16u clusterRevision = 65533;
}
diff --git a/examples/pump-app/pump-common/pump-app.matter b/examples/pump-app/pump-common/pump-app.matter
index ff9570c..12c1484 100644
--- a/examples/pump-app/pump-common/pump-app.matter
+++ b/examples/pump-app/pump-common/pump-app.matter
@@ -19,10 +19,10 @@
kWindowNotOpen = 3;
}
- attribute(readonly) int8u windowStatus = 0;
- attribute(readonly) fabric_idx adminFabricIndex = 1;
- attribute(readonly) int16u adminVendorId = 2;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int8u windowStatus = 0;
+ readonly attribute fabric_idx adminFabricIndex = 1;
+ readonly attribute int16u adminVendorId = 2;
+ readonly attribute int16u clusterRevision = 65533;
request struct OpenBasicCommissioningWindowRequest {
INT16U commissioningTimeout = 0;
@@ -57,18 +57,18 @@
boolean reachableNewValue = 0;
}
- attribute(readonly) int16u interactionModelVersion = 0;
- attribute(readonly) char_string vendorName = 1;
- attribute(readonly) vendor_id vendorID = 2;
- attribute(readonly) char_string productName = 3;
- attribute(readonly) int16u productID = 4;
- attribute(writable) char_string nodeLabel = 5;
- attribute(writable) char_string location = 6;
- attribute(readonly) int16u hardwareVersion = 7;
- attribute(readonly) char_string hardwareVersionString = 8;
- attribute(readonly) int32u softwareVersion = 9;
- attribute(readonly) char_string softwareVersionString = 10;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16u interactionModelVersion = 0;
+ readonly attribute char_string vendorName = 1;
+ readonly attribute vendor_id vendorID = 2;
+ readonly attribute char_string productName = 3;
+ readonly attribute int16u productID = 4;
+ attribute char_string nodeLabel = 5;
+ attribute char_string location = 6;
+ readonly attribute int16u hardwareVersion = 7;
+ readonly attribute char_string hardwareVersionString = 8;
+ readonly attribute int32u softwareVersion = 9;
+ readonly attribute char_string softwareVersionString = 10;
+ readonly attribute int16u clusterRevision = 65533;
command MfgSpecificPing(): DefaultSuccess = 0;
}
@@ -79,11 +79,11 @@
INT16U revision = 2;
}
- attribute(readonly) DeviceType deviceList[] = 0;
- attribute(readonly) CLUSTER_ID serverList[] = 1;
- attribute(readonly) CLUSTER_ID clientList[] = 2;
- attribute(readonly) ENDPOINT_NO partsList[] = 3;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute DeviceType deviceList[] = 0;
+ readonly attribute CLUSTER_ID serverList[] = 1;
+ readonly attribute CLUSTER_ID clientList[] = 2;
+ readonly attribute ENDPOINT_NO partsList[] = 3;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster DiagnosticLogs = 50 {
@@ -117,22 +117,22 @@
}
server cluster FixedLabel = 64 {
- attribute(readonly) LabelStruct labelList[] = 0;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute LabelStruct labelList[] = 0;
+ readonly attribute int16u clusterRevision = 65533;
}
client cluster FlowMeasurement = 1028 {
- attribute(readonly) int16s measuredValue = 0;
- attribute(readonly) int16s minMeasuredValue = 1;
- attribute(readonly) int16s maxMeasuredValue = 2;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16s measuredValue = 0;
+ readonly attribute int16s minMeasuredValue = 1;
+ readonly attribute int16s maxMeasuredValue = 2;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster FlowMeasurement = 1028 {
- attribute(readonly) int16s measuredValue = 0;
- attribute(readonly) int16s minMeasuredValue = 1;
- attribute(readonly) int16s maxMeasuredValue = 2;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16s measuredValue = 0;
+ readonly attribute int16s minMeasuredValue = 1;
+ readonly attribute int16s maxMeasuredValue = 2;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster GeneralCommissioning = 48 {
@@ -153,12 +153,12 @@
INT32U failSafeExpiryLengthMs = 1;
}
- attribute(writable) int64u breadcrumb = 0;
- attribute(readonly) BasicCommissioningInfoType basicCommissioningInfoList[] = 1;
- attribute(readonly) enum8 regulatoryConfig = 2;
- attribute(readonly) enum8 locationCapability = 3;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ attribute int64u breadcrumb = 0;
+ readonly attribute BasicCommissioningInfoType basicCommissioningInfoList[] = 1;
+ readonly attribute enum8 regulatoryConfig = 2;
+ readonly attribute enum8 locationCapability = 3;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
request struct ArmFailSafeRequest {
INT16U expiryLengthSeconds = 0;
@@ -271,15 +271,15 @@
BootReasonType bootReason = 0;
}
- attribute(readonly) NetworkInterfaceType networkInterfaces[] = 0;
- attribute(readonly) int16u rebootCount = 1;
- attribute(readonly) int64u upTime = 2;
- attribute(readonly) int32u totalOperationalHours = 3;
- attribute(readonly) enum8 bootReasons = 4;
- attribute(readonly) ENUM8 activeHardwareFaults[] = 5;
- attribute(readonly) ENUM8 activeRadioFaults[] = 6;
- attribute(readonly) ENUM8 activeNetworkFaults[] = 7;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 attribute int16u clusterRevision = 65533;
}
server cluster LevelControl = 8 {
@@ -293,8 +293,8 @@
kDown = 1;
}
- attribute(readonly) int8u currentLevel = 0;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int8u currentLevel = 0;
+ readonly attribute int16u clusterRevision = 65533;
request struct MoveRequest {
MoveMode moveMode = 0;
@@ -350,8 +350,8 @@
}
server cluster LocalizationConfiguration = 43 {
- attribute(writable) char_string activeLocale = 1;
- attribute(readonly) CHAR_STRING supportedLocales[] = 2;
+ attribute char_string activeLocale = 1;
+ readonly attribute CHAR_STRING supportedLocales[] = 2;
}
server cluster NetworkCommissioning = 49 {
@@ -404,16 +404,16 @@
INT8U lqi = 8;
}
- attribute(readonly) int8u maxNetworks = 0;
- attribute(readonly) NetworkInfo networks[] = 1;
- attribute(readonly) int8u scanMaxTimeSeconds = 2;
- attribute(readonly) int8u connectMaxTimeSeconds = 3;
- attribute(writable) boolean interfaceEnabled = 4;
- attribute(readonly) NetworkCommissioningStatus lastNetworkingStatus = 5;
- attribute(readonly) octet_string lastNetworkID = 6;
- attribute(readonly) int32u lastConnectErrorValue = 7;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 lastNetworkID = 6;
+ readonly attribute int32u lastConnectErrorValue = 7;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
request struct AddOrUpdateThreadNetworkRequest {
OCTET_STRING operationalDataset = 0;
@@ -489,8 +489,8 @@
kDyingLight = 1;
}
- attribute(readonly) boolean onOff = 0;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute boolean onOff = 0;
+ readonly attribute int16u clusterRevision = 65533;
command Off(): DefaultSuccess = 0;
command On(): DefaultSuccess = 1;
@@ -520,12 +520,12 @@
CHAR_STRING label = 6;
}
- attribute(readonly) FabricDescriptor fabricsList[] = 1;
- attribute(readonly) int8u supportedFabrics = 2;
- attribute(readonly) int8u commissionedFabrics = 3;
- attribute(readonly) OCTET_STRING trustedRootCertificates[] = 4;
- attribute(readonly) fabric_idx currentFabricIndex = 5;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 attribute int16u clusterRevision = 65533;
request struct AddNOCRequest {
OCTET_STRING NOCValue = 0;
@@ -600,17 +600,17 @@
}
client cluster PressureMeasurement = 1027 {
- attribute(readonly) int16s measuredValue = 0;
- attribute(readonly) int16s minMeasuredValue = 1;
- attribute(readonly) int16s maxMeasuredValue = 2;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16s measuredValue = 0;
+ readonly attribute int16s minMeasuredValue = 1;
+ readonly attribute int16s maxMeasuredValue = 2;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster PressureMeasurement = 1027 {
- attribute(readonly) int16s measuredValue = 0;
- attribute(readonly) int16s minMeasuredValue = 1;
- attribute(readonly) int16s maxMeasuredValue = 2;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16s measuredValue = 0;
+ readonly attribute int16s minMeasuredValue = 1;
+ readonly attribute int16s maxMeasuredValue = 2;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster PumpConfigurationAndControl = 512 {
@@ -681,32 +681,32 @@
info event TurbineOperation = 16 {
}
- attribute(readonly) int16s maxPressure = 0;
- attribute(readonly) int16u maxSpeed = 1;
- attribute(readonly) int16u maxFlow = 2;
- attribute(readonly) int16s minConstPressure = 3;
- attribute(readonly) int16s maxConstPressure = 4;
- attribute(readonly) int16s minCompPressure = 5;
- attribute(readonly) int16s maxCompPressure = 6;
- attribute(readonly) int16u minConstSpeed = 7;
- attribute(readonly) int16u maxConstSpeed = 8;
- attribute(readonly) int16u minConstFlow = 9;
- attribute(readonly) int16u maxConstFlow = 10;
- attribute(readonly) int16s minConstTemp = 11;
- attribute(readonly) int16s maxConstTemp = 12;
- attribute(readonly) bitmap16 pumpStatus = 16;
- attribute(readonly) enum8 effectiveOperationMode = 17;
- attribute(readonly) enum8 effectiveControlMode = 18;
- attribute(readonly) int16s capacity = 19;
- attribute(readonly) int16u speed = 20;
- attribute(writable) int24u lifetimeRunningHours = 21;
- attribute(readonly) int24u power = 22;
- attribute(writable) int32u lifetimeEnergyConsumed = 23;
- attribute(writable) enum8 operationMode = 32;
- attribute(writable) enum8 controlMode = 33;
- attribute(readonly) bitmap16 alarmMask = 34;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16s maxPressure = 0;
+ readonly attribute int16u maxSpeed = 1;
+ readonly attribute int16u maxFlow = 2;
+ readonly attribute int16s minConstPressure = 3;
+ readonly attribute int16s maxConstPressure = 4;
+ readonly attribute int16s minCompPressure = 5;
+ readonly attribute int16s maxCompPressure = 6;
+ readonly attribute int16u minConstSpeed = 7;
+ readonly attribute int16u maxConstSpeed = 8;
+ readonly attribute int16u minConstFlow = 9;
+ readonly attribute int16u maxConstFlow = 10;
+ readonly attribute int16s minConstTemp = 11;
+ readonly attribute int16s maxConstTemp = 12;
+ readonly attribute bitmap16 pumpStatus = 16;
+ readonly attribute enum8 effectiveOperationMode = 17;
+ readonly attribute enum8 effectiveControlMode = 18;
+ readonly attribute int16s capacity = 19;
+ readonly attribute int16u speed = 20;
+ attribute int24u lifetimeRunningHours = 21;
+ readonly attribute int24u power = 22;
+ attribute int32u lifetimeEnergyConsumed = 23;
+ attribute enum8 operationMode = 32;
+ attribute enum8 controlMode = 33;
+ readonly attribute bitmap16 alarmMask = 34;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster SoftwareDiagnostics = 52 {
@@ -722,26 +722,26 @@
SoftwareFault softwareFault = 0;
}
- attribute(readonly) ThreadMetrics threadMetrics[] = 0;
- attribute(readonly) int64u currentHeapFree = 1;
- attribute(readonly) int64u currentHeapUsed = 2;
- attribute(readonly) int64u currentHeapHighWatermark = 3;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute ThreadMetrics threadMetrics[] = 0;
+ readonly attribute int64u currentHeapFree = 1;
+ readonly attribute int64u currentHeapUsed = 2;
+ readonly attribute int64u currentHeapHighWatermark = 3;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
}
client cluster TemperatureMeasurement = 1026 {
- attribute(readonly) int16s measuredValue = 0;
- attribute(readonly) int16s minMeasuredValue = 1;
- attribute(readonly) int16s maxMeasuredValue = 2;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16s measuredValue = 0;
+ readonly attribute int16s minMeasuredValue = 1;
+ readonly attribute int16s maxMeasuredValue = 2;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster TemperatureMeasurement = 1026 {
- attribute(readonly) int16s measuredValue = 0;
- attribute(readonly) int16s minMeasuredValue = 1;
- attribute(readonly) int16s maxMeasuredValue = 2;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16s measuredValue = 0;
+ readonly attribute int16s minMeasuredValue = 1;
+ readonly attribute int16s maxMeasuredValue = 2;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster ThreadNetworkDiagnostics = 53 {
@@ -821,76 +821,76 @@
ThreadConnectionStatus connectionStatus = 0;
}
- attribute(readonly) int16u channel = 0;
- attribute(readonly) enum8 routingRole = 1;
- attribute(readonly) octet_string networkName = 2;
- attribute(readonly) int16u panId = 3;
- attribute(readonly) int64u extendedPanId = 4;
- attribute(readonly) octet_string meshLocalPrefix = 5;
- attribute(readonly) int64u overrunCount = 6;
- attribute(readonly) NeighborTable neighborTableList[] = 7;
- attribute(readonly) RouteTable routeTableList[] = 8;
- attribute(readonly) int32u partitionId = 9;
- attribute(readonly) int8u weighting = 10;
- attribute(readonly) int8u dataVersion = 11;
- attribute(readonly) int8u stableDataVersion = 12;
- attribute(readonly) int8u leaderRouterId = 13;
- attribute(readonly) int16u detachedRoleCount = 14;
- attribute(readonly) int16u childRoleCount = 15;
- attribute(readonly) int16u routerRoleCount = 16;
- attribute(readonly) int16u leaderRoleCount = 17;
- attribute(readonly) int16u attachAttemptCount = 18;
- attribute(readonly) int16u partitionIdChangeCount = 19;
- attribute(readonly) int16u betterPartitionAttachAttemptCount = 20;
- attribute(readonly) int16u parentChangeCount = 21;
- attribute(readonly) int32u txTotalCount = 22;
- attribute(readonly) int32u txUnicastCount = 23;
- attribute(readonly) int32u txBroadcastCount = 24;
- attribute(readonly) int32u txAckRequestedCount = 25;
- attribute(readonly) int32u txAckedCount = 26;
- attribute(readonly) int32u txNoAckRequestedCount = 27;
- attribute(readonly) int32u txDataCount = 28;
- attribute(readonly) int32u txDataPollCount = 29;
- attribute(readonly) int32u txBeaconCount = 30;
- attribute(readonly) int32u txBeaconRequestCount = 31;
- attribute(readonly) int32u txOtherCount = 32;
- attribute(readonly) int32u txRetryCount = 33;
- attribute(readonly) int32u txDirectMaxRetryExpiryCount = 34;
- attribute(readonly) int32u txIndirectMaxRetryExpiryCount = 35;
- attribute(readonly) int32u txErrCcaCount = 36;
- attribute(readonly) int32u txErrAbortCount = 37;
- attribute(readonly) int32u txErrBusyChannelCount = 38;
- attribute(readonly) int32u rxTotalCount = 39;
- attribute(readonly) int32u rxUnicastCount = 40;
- attribute(readonly) int32u rxBroadcastCount = 41;
- attribute(readonly) int32u rxDataCount = 42;
- attribute(readonly) int32u rxDataPollCount = 43;
- attribute(readonly) int32u rxBeaconCount = 44;
- attribute(readonly) int32u rxBeaconRequestCount = 45;
- attribute(readonly) int32u rxOtherCount = 46;
- attribute(readonly) int32u rxAddressFilteredCount = 47;
- attribute(readonly) int32u rxDestAddrFilteredCount = 48;
- attribute(readonly) int32u rxDuplicatedCount = 49;
- attribute(readonly) int32u rxErrNoFrameCount = 50;
- attribute(readonly) int32u rxErrUnknownNeighborCount = 51;
- attribute(readonly) int32u rxErrInvalidSrcAddrCount = 52;
- attribute(readonly) int32u rxErrSecCount = 53;
- attribute(readonly) int32u rxErrFcsCount = 54;
- attribute(readonly) int32u rxErrOtherCount = 55;
- attribute(readonly) int64u activeTimestamp = 56;
- attribute(readonly) int64u pendingTimestamp = 57;
- attribute(readonly) int32u delay = 58;
- attribute(readonly) SecurityPolicy securityPolicy[] = 59;
- attribute(readonly) octet_string channelMask = 60;
- attribute(readonly) OperationalDatasetComponents operationalDatasetComponents[] = 61;
- attribute(readonly) NetworkFault activeNetworkFaultsList[] = 62;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16u channel = 0;
+ readonly attribute enum8 routingRole = 1;
+ readonly attribute octet_string networkName = 2;
+ readonly attribute int16u panId = 3;
+ readonly attribute int64u extendedPanId = 4;
+ readonly attribute octet_string 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 channelMask = 60;
+ readonly attribute OperationalDatasetComponents operationalDatasetComponents[] = 61;
+ readonly attribute NetworkFault activeNetworkFaultsList[] = 62;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster UserLabel = 65 {
- attribute(writable) LabelStruct labelList[] = 0;
- attribute(readonly) int16u clusterRevision = 65533;
+ attribute LabelStruct labelList[] = 0;
+ readonly attribute int16u clusterRevision = 65533;
}
diff --git a/examples/pump-controller-app/pump-controller-common/pump-controller-app.matter b/examples/pump-controller-app/pump-controller-common/pump-controller-app.matter
index 0408853..929d225 100644
--- a/examples/pump-controller-app/pump-controller-common/pump-controller-app.matter
+++ b/examples/pump-controller-app/pump-controller-common/pump-controller-app.matter
@@ -19,10 +19,10 @@
kWindowNotOpen = 3;
}
- attribute(readonly) int8u windowStatus = 0;
- attribute(readonly) fabric_idx adminFabricIndex = 1;
- attribute(readonly) int16u adminVendorId = 2;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int8u windowStatus = 0;
+ readonly attribute fabric_idx adminFabricIndex = 1;
+ readonly attribute int16u adminVendorId = 2;
+ readonly attribute int16u clusterRevision = 65533;
request struct OpenBasicCommissioningWindowRequest {
INT16U commissioningTimeout = 0;
@@ -57,18 +57,18 @@
boolean reachableNewValue = 0;
}
- attribute(readonly) int16u interactionModelVersion = 0;
- attribute(readonly) char_string vendorName = 1;
- attribute(readonly) vendor_id vendorID = 2;
- attribute(readonly) char_string productName = 3;
- attribute(readonly) int16u productID = 4;
- attribute(writable) char_string nodeLabel = 5;
- attribute(writable) char_string location = 6;
- attribute(readonly) int16u hardwareVersion = 7;
- attribute(readonly) char_string hardwareVersionString = 8;
- attribute(readonly) int32u softwareVersion = 9;
- attribute(readonly) char_string softwareVersionString = 10;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16u interactionModelVersion = 0;
+ readonly attribute char_string vendorName = 1;
+ readonly attribute vendor_id vendorID = 2;
+ readonly attribute char_string productName = 3;
+ readonly attribute int16u productID = 4;
+ attribute char_string nodeLabel = 5;
+ attribute char_string location = 6;
+ readonly attribute int16u hardwareVersion = 7;
+ readonly attribute char_string hardwareVersionString = 8;
+ readonly attribute int32u softwareVersion = 9;
+ readonly attribute char_string softwareVersionString = 10;
+ readonly attribute int16u clusterRevision = 65533;
command MfgSpecificPing(): DefaultSuccess = 0;
}
@@ -79,11 +79,11 @@
INT16U revision = 2;
}
- attribute(readonly) DeviceType deviceList[] = 0;
- attribute(readonly) CLUSTER_ID serverList[] = 1;
- attribute(readonly) CLUSTER_ID clientList[] = 2;
- attribute(readonly) ENDPOINT_NO partsList[] = 3;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute DeviceType deviceList[] = 0;
+ readonly attribute CLUSTER_ID serverList[] = 1;
+ readonly attribute CLUSTER_ID clientList[] = 2;
+ readonly attribute ENDPOINT_NO partsList[] = 3;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster DiagnosticLogs = 50 {
@@ -130,29 +130,29 @@
k400g = 9;
}
- attribute(readonly) enum8 PHYRate = 0;
- attribute(readonly) boolean fullDuplex = 1;
- attribute(readonly) int64u packetRxCount = 2;
- attribute(readonly) int64u packetTxCount = 3;
- attribute(readonly) int64u txErrCount = 4;
- attribute(readonly) int64u collisionCount = 5;
- attribute(readonly) int64u overrunCount = 6;
- attribute(readonly) boolean carrierDetect = 7;
- attribute(readonly) int64u timeSinceReset = 8;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster FixedLabel = 64 {
- attribute(readonly) LabelStruct labelList[] = 0;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute LabelStruct labelList[] = 0;
+ readonly attribute int16u clusterRevision = 65533;
}
client cluster FlowMeasurement = 1028 {
- attribute(readonly) int16s measuredValue = 0;
- attribute(readonly) int16s minMeasuredValue = 1;
- attribute(readonly) int16s maxMeasuredValue = 2;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16s measuredValue = 0;
+ readonly attribute int16s minMeasuredValue = 1;
+ readonly attribute int16s maxMeasuredValue = 2;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster GeneralCommissioning = 48 {
@@ -173,12 +173,12 @@
INT32U failSafeExpiryLengthMs = 1;
}
- attribute(writable) int64u breadcrumb = 0;
- attribute(readonly) BasicCommissioningInfoType basicCommissioningInfoList[] = 1;
- attribute(readonly) enum8 regulatoryConfig = 2;
- attribute(readonly) enum8 locationCapability = 3;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ attribute int64u breadcrumb = 0;
+ readonly attribute BasicCommissioningInfoType basicCommissioningInfoList[] = 1;
+ readonly attribute enum8 regulatoryConfig = 2;
+ readonly attribute enum8 locationCapability = 3;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
request struct ArmFailSafeRequest {
INT16U expiryLengthSeconds = 0;
@@ -291,15 +291,15 @@
BootReasonType bootReason = 0;
}
- attribute(readonly) NetworkInterfaceType networkInterfaces[] = 0;
- attribute(readonly) int16u rebootCount = 1;
- attribute(readonly) int64u upTime = 2;
- attribute(readonly) int32u totalOperationalHours = 3;
- attribute(readonly) enum8 bootReasons = 4;
- attribute(readonly) ENUM8 activeHardwareFaults[] = 5;
- attribute(readonly) ENUM8 activeRadioFaults[] = 6;
- attribute(readonly) ENUM8 activeNetworkFaults[] = 7;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 attribute int16u clusterRevision = 65533;
}
client cluster LevelControl = 8 {
@@ -313,8 +313,8 @@
kDown = 1;
}
- attribute(readonly) int8u currentLevel = 0;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int8u currentLevel = 0;
+ readonly attribute int16u clusterRevision = 65533;
request struct MoveRequest {
MoveMode moveMode = 0;
@@ -370,8 +370,8 @@
}
server cluster LocalizationConfiguration = 43 {
- attribute(writable) char_string activeLocale = 1;
- attribute(readonly) CHAR_STRING supportedLocales[] = 2;
+ attribute char_string activeLocale = 1;
+ readonly attribute CHAR_STRING supportedLocales[] = 2;
}
server cluster NetworkCommissioning = 49 {
@@ -424,16 +424,16 @@
INT8U lqi = 8;
}
- attribute(readonly) int8u maxNetworks = 0;
- attribute(readonly) NetworkInfo networks[] = 1;
- attribute(readonly) int8u scanMaxTimeSeconds = 2;
- attribute(readonly) int8u connectMaxTimeSeconds = 3;
- attribute(writable) boolean interfaceEnabled = 4;
- attribute(readonly) NetworkCommissioningStatus lastNetworkingStatus = 5;
- attribute(readonly) octet_string lastNetworkID = 6;
- attribute(readonly) int32u lastConnectErrorValue = 7;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 lastNetworkID = 6;
+ readonly attribute int32u lastConnectErrorValue = 7;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
request struct AddOrUpdateThreadNetworkRequest {
OCTET_STRING operationalDataset = 0;
@@ -509,8 +509,8 @@
kDyingLight = 1;
}
- attribute(readonly) boolean onOff = 0;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute boolean onOff = 0;
+ readonly attribute int16u clusterRevision = 65533;
command Off(): DefaultSuccess = 0;
command On(): DefaultSuccess = 1;
@@ -540,12 +540,12 @@
CHAR_STRING label = 6;
}
- attribute(readonly) FabricDescriptor fabricsList[] = 1;
- attribute(readonly) int8u supportedFabrics = 2;
- attribute(readonly) int8u commissionedFabrics = 3;
- attribute(readonly) OCTET_STRING trustedRootCertificates[] = 4;
- attribute(readonly) fabric_idx currentFabricIndex = 5;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 attribute int16u clusterRevision = 65533;
request struct AddNOCRequest {
OCTET_STRING NOCValue = 0;
@@ -620,10 +620,10 @@
}
client cluster PressureMeasurement = 1027 {
- attribute(readonly) int16s measuredValue = 0;
- attribute(readonly) int16s minMeasuredValue = 1;
- attribute(readonly) int16s maxMeasuredValue = 2;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16s measuredValue = 0;
+ readonly attribute int16s minMeasuredValue = 1;
+ readonly attribute int16s maxMeasuredValue = 2;
+ readonly attribute int16u clusterRevision = 65533;
}
client cluster PumpConfigurationAndControl = 512 {
@@ -694,14 +694,14 @@
info event TurbineOperation = 16 {
}
- attribute(readonly) int16s maxPressure = 0;
- attribute(readonly) int16u maxSpeed = 1;
- attribute(readonly) int16u maxFlow = 2;
- attribute(readonly) enum8 effectiveOperationMode = 17;
- attribute(readonly) enum8 effectiveControlMode = 18;
- attribute(readonly) int16s capacity = 19;
- attribute(writable) enum8 operationMode = 32;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16s maxPressure = 0;
+ readonly attribute int16u maxSpeed = 1;
+ readonly attribute int16u maxFlow = 2;
+ readonly attribute enum8 effectiveOperationMode = 17;
+ readonly attribute enum8 effectiveControlMode = 18;
+ readonly attribute int16s capacity = 19;
+ attribute enum8 operationMode = 32;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster SoftwareDiagnostics = 52 {
@@ -717,19 +717,19 @@
SoftwareFault softwareFault = 0;
}
- attribute(readonly) ThreadMetrics threadMetrics[] = 0;
- attribute(readonly) int64u currentHeapFree = 1;
- attribute(readonly) int64u currentHeapUsed = 2;
- attribute(readonly) int64u currentHeapHighWatermark = 3;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute ThreadMetrics threadMetrics[] = 0;
+ readonly attribute int64u currentHeapFree = 1;
+ readonly attribute int64u currentHeapUsed = 2;
+ readonly attribute int64u currentHeapHighWatermark = 3;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
}
client cluster TemperatureMeasurement = 1026 {
- attribute(readonly) int16s measuredValue = 0;
- attribute(readonly) int16s minMeasuredValue = 1;
- attribute(readonly) int16s maxMeasuredValue = 2;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16s measuredValue = 0;
+ readonly attribute int16s minMeasuredValue = 1;
+ readonly attribute int16s maxMeasuredValue = 2;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster ThreadNetworkDiagnostics = 53 {
@@ -809,76 +809,76 @@
ThreadConnectionStatus connectionStatus = 0;
}
- attribute(readonly) int16u channel = 0;
- attribute(readonly) enum8 routingRole = 1;
- attribute(readonly) octet_string networkName = 2;
- attribute(readonly) int16u panId = 3;
- attribute(readonly) int64u extendedPanId = 4;
- attribute(readonly) octet_string meshLocalPrefix = 5;
- attribute(readonly) int64u overrunCount = 6;
- attribute(readonly) NeighborTable neighborTableList[] = 7;
- attribute(readonly) RouteTable routeTableList[] = 8;
- attribute(readonly) int32u partitionId = 9;
- attribute(readonly) int8u weighting = 10;
- attribute(readonly) int8u dataVersion = 11;
- attribute(readonly) int8u stableDataVersion = 12;
- attribute(readonly) int8u leaderRouterId = 13;
- attribute(readonly) int16u detachedRoleCount = 14;
- attribute(readonly) int16u childRoleCount = 15;
- attribute(readonly) int16u routerRoleCount = 16;
- attribute(readonly) int16u leaderRoleCount = 17;
- attribute(readonly) int16u attachAttemptCount = 18;
- attribute(readonly) int16u partitionIdChangeCount = 19;
- attribute(readonly) int16u betterPartitionAttachAttemptCount = 20;
- attribute(readonly) int16u parentChangeCount = 21;
- attribute(readonly) int32u txTotalCount = 22;
- attribute(readonly) int32u txUnicastCount = 23;
- attribute(readonly) int32u txBroadcastCount = 24;
- attribute(readonly) int32u txAckRequestedCount = 25;
- attribute(readonly) int32u txAckedCount = 26;
- attribute(readonly) int32u txNoAckRequestedCount = 27;
- attribute(readonly) int32u txDataCount = 28;
- attribute(readonly) int32u txDataPollCount = 29;
- attribute(readonly) int32u txBeaconCount = 30;
- attribute(readonly) int32u txBeaconRequestCount = 31;
- attribute(readonly) int32u txOtherCount = 32;
- attribute(readonly) int32u txRetryCount = 33;
- attribute(readonly) int32u txDirectMaxRetryExpiryCount = 34;
- attribute(readonly) int32u txIndirectMaxRetryExpiryCount = 35;
- attribute(readonly) int32u txErrCcaCount = 36;
- attribute(readonly) int32u txErrAbortCount = 37;
- attribute(readonly) int32u txErrBusyChannelCount = 38;
- attribute(readonly) int32u rxTotalCount = 39;
- attribute(readonly) int32u rxUnicastCount = 40;
- attribute(readonly) int32u rxBroadcastCount = 41;
- attribute(readonly) int32u rxDataCount = 42;
- attribute(readonly) int32u rxDataPollCount = 43;
- attribute(readonly) int32u rxBeaconCount = 44;
- attribute(readonly) int32u rxBeaconRequestCount = 45;
- attribute(readonly) int32u rxOtherCount = 46;
- attribute(readonly) int32u rxAddressFilteredCount = 47;
- attribute(readonly) int32u rxDestAddrFilteredCount = 48;
- attribute(readonly) int32u rxDuplicatedCount = 49;
- attribute(readonly) int32u rxErrNoFrameCount = 50;
- attribute(readonly) int32u rxErrUnknownNeighborCount = 51;
- attribute(readonly) int32u rxErrInvalidSrcAddrCount = 52;
- attribute(readonly) int32u rxErrSecCount = 53;
- attribute(readonly) int32u rxErrFcsCount = 54;
- attribute(readonly) int32u rxErrOtherCount = 55;
- attribute(readonly) int64u activeTimestamp = 56;
- attribute(readonly) int64u pendingTimestamp = 57;
- attribute(readonly) int32u delay = 58;
- attribute(readonly) SecurityPolicy securityPolicy[] = 59;
- attribute(readonly) octet_string channelMask = 60;
- attribute(readonly) OperationalDatasetComponents operationalDatasetComponents[] = 61;
- attribute(readonly) NetworkFault activeNetworkFaultsList[] = 62;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16u channel = 0;
+ readonly attribute enum8 routingRole = 1;
+ readonly attribute octet_string networkName = 2;
+ readonly attribute int16u panId = 3;
+ readonly attribute int64u extendedPanId = 4;
+ readonly attribute octet_string 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 channelMask = 60;
+ readonly attribute OperationalDatasetComponents operationalDatasetComponents[] = 61;
+ readonly attribute NetworkFault activeNetworkFaultsList[] = 62;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster UserLabel = 65 {
- attribute(writable) LabelStruct labelList[] = 0;
- attribute(readonly) int16u clusterRevision = 65533;
+ attribute LabelStruct labelList[] = 0;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster WiFiNetworkDiagnostics = 54 {
@@ -925,21 +925,21 @@
WiFiConnectionStatus connectionStatus = 0;
}
- attribute(readonly) octet_string bssid = 0;
- attribute(readonly) enum8 securityType = 1;
- attribute(readonly) enum8 wiFiVersion = 2;
- attribute(readonly) int16u channelNumber = 3;
- attribute(readonly) int8s rssi = 4;
- attribute(readonly) int32u beaconLostCount = 5;
- attribute(readonly) int32u beaconRxCount = 6;
- attribute(readonly) int32u packetMulticastRxCount = 7;
- attribute(readonly) int32u packetMulticastTxCount = 8;
- attribute(readonly) int32u packetUnicastRxCount = 9;
- attribute(readonly) int32u packetUnicastTxCount = 10;
- attribute(readonly) int64u currentMaxRate = 11;
- attribute(readonly) int64u overrunCount = 12;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute octet_string 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 attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
}
diff --git a/examples/temperature-measurement-app/esp32/main/temperature-measurement.matter b/examples/temperature-measurement-app/esp32/main/temperature-measurement.matter
index 42d02bc..689ac8d 100644
--- a/examples/temperature-measurement-app/esp32/main/temperature-measurement.matter
+++ b/examples/temperature-measurement-app/esp32/main/temperature-measurement.matter
@@ -19,10 +19,10 @@
kWindowNotOpen = 3;
}
- attribute(readonly) int8u windowStatus = 0;
- attribute(readonly) fabric_idx adminFabricIndex = 1;
- attribute(readonly) int16u adminVendorId = 2;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int8u windowStatus = 0;
+ readonly attribute fabric_idx adminFabricIndex = 1;
+ readonly attribute int16u adminVendorId = 2;
+ readonly attribute int16u clusterRevision = 65533;
request struct OpenBasicCommissioningWindowRequest {
INT16U commissioningTimeout = 0;
@@ -57,18 +57,18 @@
boolean reachableNewValue = 0;
}
- attribute(readonly) int16u interactionModelVersion = 0;
- attribute(readonly) char_string vendorName = 1;
- attribute(readonly) vendor_id vendorID = 2;
- attribute(readonly) char_string productName = 3;
- attribute(readonly) int16u productID = 4;
- attribute(writable) char_string nodeLabel = 5;
- attribute(writable) char_string location = 6;
- attribute(readonly) int16u hardwareVersion = 7;
- attribute(readonly) char_string hardwareVersionString = 8;
- attribute(readonly) int32u softwareVersion = 9;
- attribute(readonly) char_string softwareVersionString = 10;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16u interactionModelVersion = 0;
+ readonly attribute char_string vendorName = 1;
+ readonly attribute vendor_id vendorID = 2;
+ readonly attribute char_string productName = 3;
+ readonly attribute int16u productID = 4;
+ attribute char_string nodeLabel = 5;
+ attribute char_string location = 6;
+ readonly attribute int16u hardwareVersion = 7;
+ readonly attribute char_string hardwareVersionString = 8;
+ readonly attribute int32u softwareVersion = 9;
+ readonly attribute char_string softwareVersionString = 10;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster Descriptor = 29 {
@@ -77,11 +77,11 @@
INT16U revision = 2;
}
- attribute(readonly) DeviceType deviceList[] = 0;
- attribute(readonly) CLUSTER_ID serverList[] = 1;
- attribute(readonly) CLUSTER_ID clientList[] = 2;
- attribute(readonly) ENDPOINT_NO partsList[] = 3;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute DeviceType deviceList[] = 0;
+ readonly attribute CLUSTER_ID serverList[] = 1;
+ readonly attribute CLUSTER_ID clientList[] = 2;
+ readonly attribute ENDPOINT_NO partsList[] = 3;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster DiagnosticLogs = 50 {
@@ -128,22 +128,22 @@
k400g = 9;
}
- attribute(readonly) enum8 PHYRate = 0;
- attribute(readonly) boolean fullDuplex = 1;
- attribute(readonly) int64u packetRxCount = 2;
- attribute(readonly) int64u packetTxCount = 3;
- attribute(readonly) int64u txErrCount = 4;
- attribute(readonly) int64u collisionCount = 5;
- attribute(readonly) int64u overrunCount = 6;
- attribute(readonly) boolean carrierDetect = 7;
- attribute(readonly) int64u timeSinceReset = 8;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster FixedLabel = 64 {
- attribute(readonly) LabelStruct labelList[] = 0;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute LabelStruct labelList[] = 0;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster GeneralCommissioning = 48 {
@@ -164,12 +164,12 @@
INT32U failSafeExpiryLengthMs = 1;
}
- attribute(writable) int64u breadcrumb = 0;
- attribute(readonly) BasicCommissioningInfoType basicCommissioningInfoList[] = 1;
- attribute(readonly) enum8 regulatoryConfig = 2;
- attribute(readonly) enum8 locationCapability = 3;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ attribute int64u breadcrumb = 0;
+ readonly attribute BasicCommissioningInfoType basicCommissioningInfoList[] = 1;
+ readonly attribute enum8 regulatoryConfig = 2;
+ readonly attribute enum8 locationCapability = 3;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
request struct ArmFailSafeRequest {
INT16U expiryLengthSeconds = 0;
@@ -282,20 +282,20 @@
BootReasonType bootReason = 0;
}
- attribute(readonly) NetworkInterfaceType networkInterfaces[] = 0;
- attribute(readonly) int16u rebootCount = 1;
- attribute(readonly) int64u upTime = 2;
- attribute(readonly) int32u totalOperationalHours = 3;
- attribute(readonly) enum8 bootReasons = 4;
- attribute(readonly) ENUM8 activeHardwareFaults[] = 5;
- attribute(readonly) ENUM8 activeRadioFaults[] = 6;
- attribute(readonly) ENUM8 activeNetworkFaults[] = 7;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 attribute int16u clusterRevision = 65533;
}
server cluster LocalizationConfiguration = 43 {
- attribute(writable) char_string activeLocale = 1;
- attribute(readonly) CHAR_STRING supportedLocales[] = 2;
+ attribute char_string activeLocale = 1;
+ readonly attribute CHAR_STRING supportedLocales[] = 2;
}
server cluster NetworkCommissioning = 49 {
@@ -348,16 +348,16 @@
INT8U lqi = 8;
}
- attribute(readonly) int8u maxNetworks = 0;
- attribute(readonly) NetworkInfo networks[] = 1;
- attribute(readonly) int8u scanMaxTimeSeconds = 2;
- attribute(readonly) int8u connectMaxTimeSeconds = 3;
- attribute(writable) boolean interfaceEnabled = 4;
- attribute(readonly) NetworkCommissioningStatus lastNetworkingStatus = 5;
- attribute(readonly) octet_string lastNetworkID = 6;
- attribute(readonly) int32u lastConnectErrorValue = 7;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 lastNetworkID = 6;
+ readonly attribute int32u lastConnectErrorValue = 7;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
request struct AddOrUpdateWiFiNetworkRequest {
OCTET_STRING ssid = 0;
@@ -434,12 +434,12 @@
CHAR_STRING label = 6;
}
- attribute(readonly) FabricDescriptor fabricsList[] = 1;
- attribute(readonly) int8u supportedFabrics = 2;
- attribute(readonly) int8u commissionedFabrics = 3;
- attribute(readonly) OCTET_STRING trustedRootCertificates[] = 4;
- attribute(readonly) fabric_idx currentFabricIndex = 5;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 attribute int16u clusterRevision = 65533;
request struct AddNOCRequest {
OCTET_STRING NOCValue = 0;
@@ -518,21 +518,21 @@
SoftwareFault softwareFault = 0;
}
- attribute(readonly) int64u currentHeapHighWatermark = 3;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int64u currentHeapHighWatermark = 3;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster TemperatureMeasurement = 1026 {
- attribute(readonly) int16s measuredValue = 0;
- attribute(readonly) int16s minMeasuredValue = 1;
- attribute(readonly) int16s maxMeasuredValue = 2;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16s measuredValue = 0;
+ readonly attribute int16s minMeasuredValue = 1;
+ readonly attribute int16s maxMeasuredValue = 2;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster UserLabel = 65 {
- attribute(writable) LabelStruct labelList[] = 0;
- attribute(readonly) int16u clusterRevision = 65533;
+ attribute LabelStruct labelList[] = 0;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster WiFiNetworkDiagnostics = 54 {
@@ -579,21 +579,21 @@
WiFiConnectionStatus connectionStatus = 0;
}
- attribute(readonly) octet_string bssid = 0;
- attribute(readonly) enum8 securityType = 1;
- attribute(readonly) enum8 wiFiVersion = 2;
- attribute(readonly) int16u channelNumber = 3;
- attribute(readonly) int8s rssi = 4;
- attribute(readonly) int32u beaconLostCount = 5;
- attribute(readonly) int32u beaconRxCount = 6;
- attribute(readonly) int32u packetMulticastRxCount = 7;
- attribute(readonly) int32u packetMulticastTxCount = 8;
- attribute(readonly) int32u packetUnicastRxCount = 9;
- attribute(readonly) int32u packetUnicastTxCount = 10;
- attribute(readonly) int64u currentMaxRate = 11;
- attribute(readonly) int64u overrunCount = 12;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute octet_string 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 attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
}
diff --git a/examples/thermostat/thermostat-common/thermostat.matter b/examples/thermostat/thermostat-common/thermostat.matter
index d18513d..dbb441e 100644
--- a/examples/thermostat/thermostat-common/thermostat.matter
+++ b/examples/thermostat/thermostat-common/thermostat.matter
@@ -19,10 +19,10 @@
kWindowNotOpen = 3;
}
- attribute(readonly) int8u windowStatus = 0;
- attribute(readonly) fabric_idx adminFabricIndex = 1;
- attribute(readonly) int16u adminVendorId = 2;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int8u windowStatus = 0;
+ readonly attribute fabric_idx adminFabricIndex = 1;
+ readonly attribute int16u adminVendorId = 2;
+ readonly attribute int16u clusterRevision = 65533;
request struct OpenBasicCommissioningWindowRequest {
INT16U commissioningTimeout = 0;
@@ -57,32 +57,32 @@
boolean reachableNewValue = 0;
}
- attribute(readonly) int16u interactionModelVersion = 0;
- attribute(readonly) char_string vendorName = 1;
- attribute(readonly) vendor_id vendorID = 2;
- attribute(readonly) char_string productName = 3;
- attribute(readonly) int16u productID = 4;
- attribute(writable) char_string nodeLabel = 5;
- attribute(writable) char_string location = 6;
- attribute(readonly) int16u hardwareVersion = 7;
- attribute(readonly) char_string hardwareVersionString = 8;
- attribute(readonly) int32u softwareVersion = 9;
- attribute(readonly) char_string softwareVersionString = 10;
- attribute(readonly) char_string manufacturingDate = 11;
- attribute(readonly) char_string partNumber = 12;
- attribute(readonly) long_char_string productURL = 13;
- attribute(readonly) char_string productLabel = 14;
- attribute(readonly) char_string serialNumber = 15;
- attribute(writable) boolean localConfigDisabled = 16;
- attribute(readonly) boolean reachable = 17;
- attribute(readonly) char_string uniqueID = 18;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16u interactionModelVersion = 0;
+ readonly attribute char_string vendorName = 1;
+ readonly attribute vendor_id vendorID = 2;
+ readonly attribute char_string productName = 3;
+ readonly attribute int16u productID = 4;
+ attribute char_string nodeLabel = 5;
+ attribute char_string location = 6;
+ readonly attribute int16u hardwareVersion = 7;
+ readonly attribute char_string hardwareVersionString = 8;
+ readonly attribute int32u softwareVersion = 9;
+ readonly attribute char_string softwareVersionString = 10;
+ readonly attribute char_string manufacturingDate = 11;
+ readonly attribute char_string partNumber = 12;
+ readonly attribute long_char_string productURL = 13;
+ readonly attribute char_string productLabel = 14;
+ readonly attribute char_string serialNumber = 15;
+ attribute boolean localConfigDisabled = 16;
+ readonly attribute boolean reachable = 17;
+ readonly attribute char_string uniqueID = 18;
+ readonly attribute int16u clusterRevision = 65533;
command MfgSpecificPing(): DefaultSuccess = 0;
}
server cluster Binding = 30 {
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16u clusterRevision = 65533;
request struct BindRequest {
NODE_ID nodeId = 0;
@@ -108,11 +108,11 @@
INT16U revision = 2;
}
- attribute(readonly) DeviceType deviceList[] = 0;
- attribute(readonly) CLUSTER_ID serverList[] = 1;
- attribute(readonly) CLUSTER_ID clientList[] = 2;
- attribute(readonly) ENDPOINT_NO partsList[] = 3;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute DeviceType deviceList[] = 0;
+ readonly attribute CLUSTER_ID serverList[] = 1;
+ readonly attribute CLUSTER_ID clientList[] = 2;
+ readonly attribute ENDPOINT_NO partsList[] = 3;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster DiagnosticLogs = 50 {
@@ -159,22 +159,22 @@
k400g = 9;
}
- attribute(readonly) enum8 PHYRate = 0;
- attribute(readonly) boolean fullDuplex = 1;
- attribute(readonly) int64u packetRxCount = 2;
- attribute(readonly) int64u packetTxCount = 3;
- attribute(readonly) int64u txErrCount = 4;
- attribute(readonly) int64u collisionCount = 5;
- attribute(readonly) int64u overrunCount = 6;
- attribute(readonly) boolean carrierDetect = 7;
- attribute(readonly) int64u timeSinceReset = 8;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster FixedLabel = 64 {
- attribute(readonly) LabelStruct labelList[] = 0;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute LabelStruct labelList[] = 0;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster GeneralCommissioning = 48 {
@@ -195,12 +195,12 @@
INT32U failSafeExpiryLengthMs = 1;
}
- attribute(writable) int64u breadcrumb = 0;
- attribute(readonly) BasicCommissioningInfoType basicCommissioningInfoList[] = 1;
- attribute(readonly) enum8 regulatoryConfig = 2;
- attribute(readonly) enum8 locationCapability = 3;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ attribute int64u breadcrumb = 0;
+ readonly attribute BasicCommissioningInfoType basicCommissioningInfoList[] = 1;
+ readonly attribute enum8 regulatoryConfig = 2;
+ readonly attribute enum8 locationCapability = 3;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
request struct ArmFailSafeRequest {
INT16U expiryLengthSeconds = 0;
@@ -313,15 +313,15 @@
BootReasonType bootReason = 0;
}
- attribute(readonly) NetworkInterfaceType networkInterfaces[] = 0;
- attribute(readonly) int16u rebootCount = 1;
- attribute(readonly) int64u upTime = 2;
- attribute(readonly) int32u totalOperationalHours = 3;
- attribute(readonly) enum8 bootReasons = 4;
- attribute(readonly) ENUM8 activeHardwareFaults[] = 5;
- attribute(readonly) ENUM8 activeRadioFaults[] = 6;
- attribute(readonly) ENUM8 activeNetworkFaults[] = 7;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 attribute int16u clusterRevision = 65533;
}
server cluster GroupKeyManagement = 63 {
@@ -343,14 +343,14 @@
CHAR_STRING groupName = 3;
}
- attribute(readonly) GroupKey groupKeyMap[] = 0;
- attribute(readonly) GroupInfo groupTable[] = 1;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute GroupKey groupKeyMap[] = 0;
+ readonly attribute GroupInfo groupTable[] = 1;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster Groups = 4 {
- attribute(readonly) bitmap8 nameSupport = 0;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute bitmap8 nameSupport = 0;
+ readonly attribute int16u clusterRevision = 65533;
request struct AddGroupRequest {
INT16U groupId = 0;
@@ -426,9 +426,9 @@
kActuator = 5;
}
- attribute(writable) int16u identifyTime = 0;
- attribute(readonly) enum8 identifyType = 1;
- attribute(readonly) int16u clusterRevision = 65533;
+ attribute int16u identifyTime = 0;
+ readonly attribute enum8 identifyType = 1;
+ readonly attribute int16u clusterRevision = 65533;
request struct IdentifyRequest {
INT16U identifyTime = 0;
@@ -465,9 +465,9 @@
kActuator = 5;
}
- attribute(writable) int16u identifyTime = 0;
- attribute(readonly) enum8 identifyType = 1;
- attribute(readonly) int16u clusterRevision = 65533;
+ attribute int16u identifyTime = 0;
+ readonly attribute enum8 identifyType = 1;
+ readonly attribute int16u clusterRevision = 65533;
request struct IdentifyRequest {
INT16U identifyTime = 0;
@@ -482,8 +482,8 @@
}
server cluster LocalizationConfiguration = 43 {
- attribute(writable) char_string activeLocale = 1;
- attribute(readonly) CHAR_STRING supportedLocales[] = 2;
+ attribute char_string activeLocale = 1;
+ readonly attribute CHAR_STRING supportedLocales[] = 2;
}
server cluster NetworkCommissioning = 49 {
@@ -536,16 +536,16 @@
INT8U lqi = 8;
}
- attribute(readonly) int8u maxNetworks = 0;
- attribute(readonly) NetworkInfo networks[] = 1;
- attribute(readonly) int8u scanMaxTimeSeconds = 2;
- attribute(readonly) int8u connectMaxTimeSeconds = 3;
- attribute(writable) boolean interfaceEnabled = 4;
- attribute(readonly) NetworkCommissioningStatus lastNetworkingStatus = 5;
- attribute(readonly) octet_string lastNetworkID = 6;
- attribute(readonly) int32u lastConnectErrorValue = 7;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 lastNetworkID = 6;
+ readonly attribute int32u lastConnectErrorValue = 7;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
request struct AddOrUpdateThreadNetworkRequest {
OCTET_STRING operationalDataset = 0;
@@ -626,7 +626,7 @@
kDownloadProtocolNotSupported = 3;
}
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16u clusterRevision = 65533;
request struct ApplyUpdateRequestRequest {
OCTET_STRING updateToken = 0;
@@ -693,12 +693,12 @@
CHAR_STRING label = 6;
}
- attribute(readonly) FabricDescriptor fabricsList[] = 1;
- attribute(readonly) int8u supportedFabrics = 2;
- attribute(readonly) int8u commissionedFabrics = 3;
- attribute(readonly) OCTET_STRING trustedRootCertificates[] = 4;
- attribute(readonly) fabric_idx currentFabricIndex = 5;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 attribute int16u clusterRevision = 65533;
request struct AddNOCRequest {
OCTET_STRING NOCValue = 0;
@@ -779,12 +779,12 @@
INT8U value = 3;
}
- attribute(readonly) int8u sceneCount = 0;
- attribute(readonly) int8u currentScene = 1;
- attribute(readonly) int16u currentGroup = 2;
- attribute(readonly) boolean sceneValid = 3;
- attribute(readonly) bitmap8 nameSupport = 4;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 attribute int16u clusterRevision = 65533;
request struct AddSceneRequest {
INT16U groupId = 0;
@@ -885,12 +885,12 @@
SoftwareFault softwareFault = 0;
}
- attribute(readonly) ThreadMetrics threadMetrics[] = 0;
- attribute(readonly) int64u currentHeapFree = 1;
- attribute(readonly) int64u currentHeapUsed = 2;
- attribute(readonly) int64u currentHeapHighWatermark = 3;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute ThreadMetrics threadMetrics[] = 0;
+ readonly attribute int64u currentHeapFree = 1;
+ readonly attribute int64u currentHeapUsed = 2;
+ readonly attribute int64u currentHeapHighWatermark = 3;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster Thermostat = 513 {
@@ -900,25 +900,25 @@
kHeatAndCoolSetpoints = 2;
}
- attribute(readonly) int16s localTemperature = 0;
- attribute(readonly) int16s absMinHeatSetpointLimit = 3;
- attribute(readonly) int16s absMaxHeatSetpointLimit = 4;
- attribute(readonly) int16s absMinCoolSetpointLimit = 5;
- attribute(readonly) int16s absMaxCoolSetpointLimit = 6;
- attribute(writable) int16s occupiedCoolingSetpoint = 17;
- attribute(writable) int16s occupiedHeatingSetpoint = 18;
- attribute(writable) int16s minHeatSetpointLimit = 21;
- attribute(writable) int16s maxHeatSetpointLimit = 22;
- attribute(writable) int16s minCoolSetpointLimit = 23;
- attribute(writable) int16s maxCoolSetpointLimit = 24;
- attribute(writable) int8s minSetpointDeadBand = 25;
- attribute(writable) enum8 controlSequenceOfOperation = 27;
- attribute(writable) enum8 systemMode = 28;
- attribute(readonly) enum8 startOfWeek = 32;
- attribute(readonly) int8u numberOfWeeklyTransitions = 33;
- attribute(readonly) int8u numberOfDailyTransitions = 34;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16s localTemperature = 0;
+ readonly attribute int16s absMinHeatSetpointLimit = 3;
+ readonly attribute int16s absMaxHeatSetpointLimit = 4;
+ readonly attribute int16s absMinCoolSetpointLimit = 5;
+ readonly attribute int16s absMaxCoolSetpointLimit = 6;
+ attribute int16s occupiedCoolingSetpoint = 17;
+ attribute int16s occupiedHeatingSetpoint = 18;
+ attribute int16s minHeatSetpointLimit = 21;
+ attribute int16s maxHeatSetpointLimit = 22;
+ attribute int16s minCoolSetpointLimit = 23;
+ attribute int16s maxCoolSetpointLimit = 24;
+ attribute int8s minSetpointDeadBand = 25;
+ attribute enum8 controlSequenceOfOperation = 27;
+ attribute enum8 systemMode = 28;
+ readonly attribute enum8 startOfWeek = 32;
+ readonly attribute int8u numberOfWeeklyTransitions = 33;
+ readonly attribute int8u numberOfDailyTransitions = 34;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
request struct GetWeeklyScheduleRequest {
DayOfWeek daysToReturn = 0;
@@ -1037,76 +1037,76 @@
ThreadConnectionStatus connectionStatus = 0;
}
- attribute(readonly) int16u channel = 0;
- attribute(readonly) enum8 routingRole = 1;
- attribute(readonly) octet_string networkName = 2;
- attribute(readonly) int16u panId = 3;
- attribute(readonly) int64u extendedPanId = 4;
- attribute(readonly) octet_string meshLocalPrefix = 5;
- attribute(readonly) int64u overrunCount = 6;
- attribute(readonly) NeighborTable neighborTableList[] = 7;
- attribute(readonly) RouteTable routeTableList[] = 8;
- attribute(readonly) int32u partitionId = 9;
- attribute(readonly) int8u weighting = 10;
- attribute(readonly) int8u dataVersion = 11;
- attribute(readonly) int8u stableDataVersion = 12;
- attribute(readonly) int8u leaderRouterId = 13;
- attribute(readonly) int16u detachedRoleCount = 14;
- attribute(readonly) int16u childRoleCount = 15;
- attribute(readonly) int16u routerRoleCount = 16;
- attribute(readonly) int16u leaderRoleCount = 17;
- attribute(readonly) int16u attachAttemptCount = 18;
- attribute(readonly) int16u partitionIdChangeCount = 19;
- attribute(readonly) int16u betterPartitionAttachAttemptCount = 20;
- attribute(readonly) int16u parentChangeCount = 21;
- attribute(readonly) int32u txTotalCount = 22;
- attribute(readonly) int32u txUnicastCount = 23;
- attribute(readonly) int32u txBroadcastCount = 24;
- attribute(readonly) int32u txAckRequestedCount = 25;
- attribute(readonly) int32u txAckedCount = 26;
- attribute(readonly) int32u txNoAckRequestedCount = 27;
- attribute(readonly) int32u txDataCount = 28;
- attribute(readonly) int32u txDataPollCount = 29;
- attribute(readonly) int32u txBeaconCount = 30;
- attribute(readonly) int32u txBeaconRequestCount = 31;
- attribute(readonly) int32u txOtherCount = 32;
- attribute(readonly) int32u txRetryCount = 33;
- attribute(readonly) int32u txDirectMaxRetryExpiryCount = 34;
- attribute(readonly) int32u txIndirectMaxRetryExpiryCount = 35;
- attribute(readonly) int32u txErrCcaCount = 36;
- attribute(readonly) int32u txErrAbortCount = 37;
- attribute(readonly) int32u txErrBusyChannelCount = 38;
- attribute(readonly) int32u rxTotalCount = 39;
- attribute(readonly) int32u rxUnicastCount = 40;
- attribute(readonly) int32u rxBroadcastCount = 41;
- attribute(readonly) int32u rxDataCount = 42;
- attribute(readonly) int32u rxDataPollCount = 43;
- attribute(readonly) int32u rxBeaconCount = 44;
- attribute(readonly) int32u rxBeaconRequestCount = 45;
- attribute(readonly) int32u rxOtherCount = 46;
- attribute(readonly) int32u rxAddressFilteredCount = 47;
- attribute(readonly) int32u rxDestAddrFilteredCount = 48;
- attribute(readonly) int32u rxDuplicatedCount = 49;
- attribute(readonly) int32u rxErrNoFrameCount = 50;
- attribute(readonly) int32u rxErrUnknownNeighborCount = 51;
- attribute(readonly) int32u rxErrInvalidSrcAddrCount = 52;
- attribute(readonly) int32u rxErrSecCount = 53;
- attribute(readonly) int32u rxErrFcsCount = 54;
- attribute(readonly) int32u rxErrOtherCount = 55;
- attribute(readonly) int64u activeTimestamp = 56;
- attribute(readonly) int64u pendingTimestamp = 57;
- attribute(readonly) int32u delay = 58;
- attribute(readonly) SecurityPolicy securityPolicy[] = 59;
- attribute(readonly) octet_string channelMask = 60;
- attribute(readonly) OperationalDatasetComponents operationalDatasetComponents[] = 61;
- attribute(readonly) NetworkFault activeNetworkFaultsList[] = 62;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16u channel = 0;
+ readonly attribute enum8 routingRole = 1;
+ readonly attribute octet_string networkName = 2;
+ readonly attribute int16u panId = 3;
+ readonly attribute int64u extendedPanId = 4;
+ readonly attribute octet_string 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 channelMask = 60;
+ readonly attribute OperationalDatasetComponents operationalDatasetComponents[] = 61;
+ readonly attribute NetworkFault activeNetworkFaultsList[] = 62;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster UserLabel = 65 {
- attribute(writable) LabelStruct labelList[] = 0;
- attribute(readonly) int16u clusterRevision = 65533;
+ attribute LabelStruct labelList[] = 0;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster WiFiNetworkDiagnostics = 54 {
@@ -1153,21 +1153,21 @@
WiFiConnectionStatus connectionStatus = 0;
}
- attribute(readonly) octet_string bssid = 0;
- attribute(readonly) enum8 securityType = 1;
- attribute(readonly) enum8 wiFiVersion = 2;
- attribute(readonly) int16u channelNumber = 3;
- attribute(readonly) int8s rssi = 4;
- attribute(readonly) int32u beaconLostCount = 5;
- attribute(readonly) int32u beaconRxCount = 6;
- attribute(readonly) int32u packetMulticastRxCount = 7;
- attribute(readonly) int32u packetMulticastTxCount = 8;
- attribute(readonly) int32u packetUnicastRxCount = 9;
- attribute(readonly) int32u packetUnicastTxCount = 10;
- attribute(readonly) int64u currentMaxRate = 11;
- attribute(readonly) int64u overrunCount = 12;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute octet_string 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 attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
}
diff --git a/examples/tv-app/tv-common/tv-app.matter b/examples/tv-app/tv-common/tv-app.matter
index 0881c0b..b85ad7d 100644
--- a/examples/tv-app/tv-common/tv-app.matter
+++ b/examples/tv-app/tv-common/tv-app.matter
@@ -7,7 +7,7 @@
}
server cluster AccountLogin = 1294 {
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16u clusterRevision = 65533;
request struct GetSetupPINRequestRequest {
CHAR_STRING tempAccountIdentifier = 0;
@@ -40,10 +40,10 @@
kWindowNotOpen = 3;
}
- attribute(readonly) int8u windowStatus = 0;
- attribute(readonly) fabric_idx adminFabricIndex = 1;
- attribute(readonly) int16u adminVendorId = 2;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int8u windowStatus = 0;
+ readonly attribute fabric_idx adminFabricIndex = 1;
+ readonly attribute int16u adminVendorId = 2;
+ readonly attribute int16u clusterRevision = 65533;
request struct OpenBasicCommissioningWindowRequest {
INT16U commissioningTimeout = 0;
@@ -76,15 +76,15 @@
CHAR_STRING applicationId = 2;
}
- attribute(readonly) char_string vendorName = 0;
- attribute(readonly) int16u vendorId = 1;
- attribute(readonly) char_string applicationName = 2;
- attribute(readonly) int16u productId = 3;
- attribute(writable) ApplicationBasicApplication applicationApp = 4;
- attribute(readonly) ApplicationStatusEnum applicationStatus = 5;
- attribute(readonly) char_string applicationVersion = 6;
- attribute(readonly) vendor_id allowedVendorList[] = 7;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute char_string vendorName = 0;
+ readonly attribute int16u vendorId = 1;
+ readonly attribute char_string applicationName = 2;
+ readonly attribute int16u productId = 3;
+ attribute ApplicationBasicApplication applicationApp = 4;
+ readonly attribute ApplicationStatusEnum applicationStatus = 5;
+ readonly attribute char_string applicationVersion = 6;
+ readonly attribute vendor_id allowedVendorList[] = 7;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster ApplicationLauncher = 1292 {
@@ -104,9 +104,9 @@
CHAR_STRING applicationId = 2;
}
- attribute(readonly) INT16U applicationLauncherList[] = 0;
- attribute(writable) ApplicationEP applicationLauncherApp = 1;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute INT16U applicationLauncherList[] = 0;
+ attribute ApplicationEP applicationLauncherApp = 1;
+ readonly attribute int16u clusterRevision = 65533;
request struct HideAppRequestRequest {
ApplicationLauncherApplication application = 0;
@@ -147,9 +147,9 @@
CHAR_STRING name = 3;
}
- attribute(readonly) OutputInfo audioOutputList[] = 0;
- attribute(readonly) int8u currentAudioOutput = 1;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute OutputInfo audioOutputList[] = 0;
+ readonly attribute int8u currentAudioOutput = 1;
+ readonly attribute int16u clusterRevision = 65533;
request struct RenameOutputRequestRequest {
INT8U index = 0;
@@ -179,31 +179,31 @@
boolean reachableNewValue = 0;
}
- attribute(readonly) int16u interactionModelVersion = 0;
- attribute(readonly) char_string vendorName = 1;
- attribute(readonly) vendor_id vendorID = 2;
- attribute(readonly) char_string productName = 3;
- attribute(readonly) int16u productID = 4;
- attribute(writable) char_string nodeLabel = 5;
- attribute(writable) char_string location = 6;
- attribute(readonly) int16u hardwareVersion = 7;
- attribute(readonly) char_string hardwareVersionString = 8;
- attribute(readonly) int32u softwareVersion = 9;
- attribute(readonly) char_string softwareVersionString = 10;
- attribute(readonly) char_string manufacturingDate = 11;
- attribute(readonly) char_string partNumber = 12;
- attribute(readonly) long_char_string productURL = 13;
- attribute(readonly) char_string productLabel = 14;
- attribute(readonly) char_string serialNumber = 15;
- attribute(writable) boolean localConfigDisabled = 16;
- attribute(readonly) char_string uniqueID = 18;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16u interactionModelVersion = 0;
+ readonly attribute char_string vendorName = 1;
+ readonly attribute vendor_id vendorID = 2;
+ readonly attribute char_string productName = 3;
+ readonly attribute int16u productID = 4;
+ attribute char_string nodeLabel = 5;
+ attribute char_string location = 6;
+ readonly attribute int16u hardwareVersion = 7;
+ readonly attribute char_string hardwareVersionString = 8;
+ readonly attribute int32u softwareVersion = 9;
+ readonly attribute char_string softwareVersionString = 10;
+ readonly attribute char_string manufacturingDate = 11;
+ readonly attribute char_string partNumber = 12;
+ readonly attribute long_char_string productURL = 13;
+ readonly attribute char_string productLabel = 14;
+ readonly attribute char_string serialNumber = 15;
+ attribute boolean localConfigDisabled = 16;
+ readonly attribute char_string uniqueID = 18;
+ readonly attribute int16u clusterRevision = 65533;
command MfgSpecificPing(): DefaultSuccess = 0;
}
client cluster Binding = 30 {
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16u clusterRevision = 65533;
request struct BindRequest {
NODE_ID nodeId = 0;
@@ -224,7 +224,7 @@
}
server cluster Binding = 30 {
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16u clusterRevision = 65533;
request struct BindRequest {
NODE_ID nodeId = 0;
@@ -269,10 +269,10 @@
LineupInfoTypeEnum lineupInfoType = 4;
}
- attribute(readonly) ChannelInfo channelList[] = 0;
- attribute(writable) LineupInfo channelLineup = 1;
- attribute(writable) ChannelInfo currentChannel = 2;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute ChannelInfo channelList[] = 0;
+ attribute LineupInfo channelLineup = 1;
+ attribute ChannelInfo currentChannel = 2;
+ readonly attribute int16u clusterRevision = 65533;
request struct ChangeChannelByNumberRequestRequest {
INT16U majorNumber = 0;
@@ -361,9 +361,9 @@
MetricTypeEnum metric = 3;
}
- attribute(readonly) CHAR_STRING acceptHeaderList[] = 0;
- attribute(writable) bitmap32 supportedStreamingProtocols = 1;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute CHAR_STRING acceptHeaderList[] = 0;
+ attribute bitmap32 supportedStreamingProtocols = 1;
+ readonly attribute int16u clusterRevision = 65533;
request struct LaunchContentRequestRequest {
BOOLEAN autoPlay = 0;
@@ -392,11 +392,11 @@
INT16U revision = 2;
}
- attribute(readonly) DeviceType deviceList[] = 0;
- attribute(readonly) CLUSTER_ID serverList[] = 1;
- attribute(readonly) CLUSTER_ID clientList[] = 2;
- attribute(readonly) ENDPOINT_NO partsList[] = 3;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute DeviceType deviceList[] = 0;
+ readonly attribute CLUSTER_ID serverList[] = 1;
+ readonly attribute CLUSTER_ID clientList[] = 2;
+ readonly attribute ENDPOINT_NO partsList[] = 3;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster DiagnosticLogs = 50 {
@@ -443,22 +443,22 @@
k400g = 9;
}
- attribute(readonly) enum8 PHYRate = 0;
- attribute(readonly) boolean fullDuplex = 1;
- attribute(readonly) int64u packetRxCount = 2;
- attribute(readonly) int64u packetTxCount = 3;
- attribute(readonly) int64u txErrCount = 4;
- attribute(readonly) int64u collisionCount = 5;
- attribute(readonly) int64u overrunCount = 6;
- attribute(readonly) boolean carrierDetect = 7;
- attribute(readonly) int64u timeSinceReset = 8;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster FixedLabel = 64 {
- attribute(readonly) LabelStruct labelList[] = 0;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute LabelStruct labelList[] = 0;
+ readonly attribute int16u clusterRevision = 65533;
}
client cluster GeneralCommissioning = 48 {
@@ -479,12 +479,12 @@
INT32U failSafeExpiryLengthMs = 1;
}
- attribute(writable) int64u breadcrumb = 0;
- attribute(readonly) BasicCommissioningInfoType basicCommissioningInfoList[] = 1;
- attribute(readonly) enum8 regulatoryConfig = 2;
- attribute(readonly) enum8 locationCapability = 3;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ attribute int64u breadcrumb = 0;
+ readonly attribute BasicCommissioningInfoType basicCommissioningInfoList[] = 1;
+ readonly attribute enum8 regulatoryConfig = 2;
+ readonly attribute enum8 locationCapability = 3;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
request struct ArmFailSafeRequest {
INT16U expiryLengthSeconds = 0;
@@ -537,12 +537,12 @@
INT32U failSafeExpiryLengthMs = 1;
}
- attribute(writable) int64u breadcrumb = 0;
- attribute(readonly) BasicCommissioningInfoType basicCommissioningInfoList[] = 1;
- attribute(readonly) enum8 regulatoryConfig = 2;
- attribute(readonly) enum8 locationCapability = 3;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ attribute int64u breadcrumb = 0;
+ readonly attribute BasicCommissioningInfoType basicCommissioningInfoList[] = 1;
+ readonly attribute enum8 regulatoryConfig = 2;
+ readonly attribute enum8 locationCapability = 3;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
request struct ArmFailSafeRequest {
INT16U expiryLengthSeconds = 0;
@@ -655,15 +655,15 @@
BootReasonType bootReason = 0;
}
- attribute(readonly) NetworkInterfaceType networkInterfaces[] = 0;
- attribute(readonly) int16u rebootCount = 1;
- attribute(readonly) int64u upTime = 2;
- attribute(readonly) int32u totalOperationalHours = 3;
- attribute(readonly) enum8 bootReasons = 4;
- attribute(readonly) ENUM8 activeHardwareFaults[] = 5;
- attribute(readonly) ENUM8 activeRadioFaults[] = 6;
- attribute(readonly) ENUM8 activeNetworkFaults[] = 7;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 attribute int16u clusterRevision = 65533;
}
server cluster GroupKeyManagement = 63 {
@@ -685,9 +685,9 @@
CHAR_STRING groupName = 3;
}
- attribute(readonly) GroupKey groupKeyMap[] = 0;
- attribute(readonly) GroupInfo groupTable[] = 1;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute GroupKey groupKeyMap[] = 0;
+ readonly attribute GroupInfo groupTable[] = 1;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster KeypadInput = 1289 {
@@ -786,7 +786,7 @@
kInvalidKeyInCurrentState = 2;
}
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16u clusterRevision = 65533;
request struct SendKeyRequestRequest {
CecKeyCode keyCode = 0;
@@ -806,22 +806,22 @@
kDown = 1;
}
- attribute(readonly) int8u currentLevel = 0;
- attribute(readonly) int16u remainingTime = 1;
- attribute(readonly) int8u minLevel = 2;
- attribute(readonly) int8u maxLevel = 3;
- attribute(readonly) int16u currentFrequency = 4;
- attribute(readonly) int16u minFrequency = 5;
- attribute(readonly) int16u maxFrequency = 6;
- attribute(writable) bitmap8 options = 15;
- attribute(writable) int16u onOffTransitionTime = 16;
- attribute(writable) int8u onLevel = 17;
- attribute(writable) int16u onTransitionTime = 18;
- attribute(writable) int16u offTransitionTime = 19;
- attribute(writable) int8u defaultMoveRate = 20;
- attribute(writable) int8u startUpCurrentLevel = 16384;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 int8u onLevel = 17;
+ attribute int16u onTransitionTime = 18;
+ attribute int16u offTransitionTime = 19;
+ attribute int8u defaultMoveRate = 20;
+ attribute int8u startUpCurrentLevel = 16384;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
request struct MoveRequest {
MoveMode moveMode = 0;
@@ -877,12 +877,12 @@
}
server cluster LocalizationConfiguration = 43 {
- attribute(writable) char_string activeLocale = 1;
- attribute(readonly) CHAR_STRING supportedLocales[] = 2;
+ attribute char_string activeLocale = 1;
+ readonly attribute CHAR_STRING supportedLocales[] = 2;
}
server cluster LowPower = 1288 {
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16u clusterRevision = 65533;
command Sleep(): DefaultSuccess = 0;
}
@@ -910,9 +910,9 @@
CHAR_STRING description = 4;
}
- attribute(readonly) InputInfo mediaInputList[] = 0;
- attribute(readonly) int8u currentMediaInput = 1;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute InputInfo mediaInputList[] = 0;
+ readonly attribute int8u currentMediaInput = 1;
+ readonly attribute int16u clusterRevision = 65533;
request struct RenameInputRequestRequest {
INT8U index = 0;
@@ -951,14 +951,14 @@
INT64U position = 2;
}
- attribute(readonly) PlaybackStateEnum playbackState = 0;
- attribute(readonly) epoch_us startTime = 1;
- attribute(readonly) int64u duration = 2;
- attribute(writable) PlaybackPosition position = 3;
- attribute(readonly) single playbackSpeed = 4;
- attribute(readonly) int64u seekRangeEnd = 5;
- attribute(readonly) int64u seekRangeStart = 6;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute PlaybackStateEnum playbackState = 0;
+ readonly attribute epoch_us startTime = 1;
+ readonly attribute int64u duration = 2;
+ attribute PlaybackPosition position = 3;
+ readonly attribute single playbackSpeed = 4;
+ readonly attribute int64u seekRangeEnd = 5;
+ readonly attribute int64u seekRangeStart = 6;
+ readonly attribute int16u clusterRevision = 65533;
request struct SeekRequestRequest {
INT64U position = 0;
@@ -1039,16 +1039,16 @@
INT8U lqi = 8;
}
- attribute(readonly) int8u maxNetworks = 0;
- attribute(readonly) NetworkInfo networks[] = 1;
- attribute(readonly) int8u scanMaxTimeSeconds = 2;
- attribute(readonly) int8u connectMaxTimeSeconds = 3;
- attribute(writable) boolean interfaceEnabled = 4;
- attribute(readonly) NetworkCommissioningStatus lastNetworkingStatus = 5;
- attribute(readonly) octet_string lastNetworkID = 6;
- attribute(readonly) int32u lastConnectErrorValue = 7;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 lastNetworkID = 6;
+ readonly attribute int32u lastConnectErrorValue = 7;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
request struct AddOrUpdateThreadNetworkRequest {
OCTET_STRING operationalDataset = 0;
@@ -1158,16 +1158,16 @@
INT8U lqi = 8;
}
- attribute(readonly) int8u maxNetworks = 0;
- attribute(readonly) NetworkInfo networks[] = 1;
- attribute(readonly) int8u scanMaxTimeSeconds = 2;
- attribute(readonly) int8u connectMaxTimeSeconds = 3;
- attribute(writable) boolean interfaceEnabled = 4;
- attribute(readonly) NetworkCommissioningStatus lastNetworkingStatus = 5;
- attribute(readonly) octet_string lastNetworkID = 6;
- attribute(readonly) int32u lastConnectErrorValue = 7;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 lastNetworkID = 6;
+ readonly attribute int32u lastConnectErrorValue = 7;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
request struct AddOrUpdateThreadNetworkRequest {
OCTET_STRING operationalDataset = 0;
@@ -1248,7 +1248,7 @@
kDownloadProtocolNotSupported = 3;
}
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16u clusterRevision = 65533;
request struct ApplyUpdateRequestRequest {
OCTET_STRING updateToken = 0;
@@ -1308,8 +1308,8 @@
kDyingLight = 1;
}
- attribute(readonly) boolean onOff = 0;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute boolean onOff = 0;
+ readonly attribute int16u clusterRevision = 65533;
command Off(): DefaultSuccess = 0;
command On(): DefaultSuccess = 1;
@@ -1339,12 +1339,12 @@
CHAR_STRING label = 6;
}
- attribute(readonly) FabricDescriptor fabricsList[] = 1;
- attribute(readonly) int8u supportedFabrics = 2;
- attribute(readonly) int8u commissionedFabrics = 3;
- attribute(readonly) OCTET_STRING trustedRootCertificates[] = 4;
- attribute(readonly) fabric_idx currentFabricIndex = 5;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 attribute int16u clusterRevision = 65533;
request struct AddNOCRequest {
OCTET_STRING NOCValue = 0;
@@ -1430,12 +1430,12 @@
CHAR_STRING label = 6;
}
- attribute(readonly) FabricDescriptor fabricsList[] = 1;
- attribute(readonly) int8u supportedFabrics = 2;
- attribute(readonly) int8u commissionedFabrics = 3;
- attribute(readonly) OCTET_STRING trustedRootCertificates[] = 4;
- attribute(readonly) fabric_idx currentFabricIndex = 5;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 attribute int16u clusterRevision = 65533;
request struct AddNOCRequest {
OCTET_STRING NOCValue = 0;
@@ -1510,10 +1510,10 @@
}
server cluster RelativeHumidityMeasurement = 1029 {
- attribute(readonly) int16u measuredValue = 0;
- attribute(readonly) int16u minMeasuredValue = 1;
- attribute(readonly) int16u maxMeasuredValue = 2;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16u measuredValue = 0;
+ readonly attribute int16u minMeasuredValue = 1;
+ readonly attribute int16u maxMeasuredValue = 2;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster SoftwareDiagnostics = 52 {
@@ -1529,12 +1529,12 @@
SoftwareFault softwareFault = 0;
}
- attribute(readonly) ThreadMetrics threadMetrics[] = 0;
- attribute(readonly) int64u currentHeapFree = 1;
- attribute(readonly) int64u currentHeapUsed = 2;
- attribute(readonly) int64u currentHeapHighWatermark = 3;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute ThreadMetrics threadMetrics[] = 0;
+ readonly attribute int64u currentHeapFree = 1;
+ readonly attribute int64u currentHeapUsed = 2;
+ readonly attribute int64u currentHeapHighWatermark = 3;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster TargetNavigator = 1285 {
@@ -1549,9 +1549,9 @@
CHAR_STRING name = 2;
}
- attribute(readonly) TargetInfo targetNavigatorList[] = 0;
- attribute(readonly) int8u currentNavigatorTarget = 1;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute TargetInfo targetNavigatorList[] = 0;
+ readonly attribute int8u currentNavigatorTarget = 1;
+ readonly attribute int16u clusterRevision = 65533;
request struct NavigateTargetRequestRequest {
INT8U target = 0;
@@ -1643,81 +1643,81 @@
ThreadConnectionStatus connectionStatus = 0;
}
- attribute(readonly) int16u channel = 0;
- attribute(readonly) enum8 routingRole = 1;
- attribute(readonly) octet_string networkName = 2;
- attribute(readonly) int16u panId = 3;
- attribute(readonly) int64u extendedPanId = 4;
- attribute(readonly) octet_string meshLocalPrefix = 5;
- attribute(readonly) int64u overrunCount = 6;
- attribute(readonly) NeighborTable neighborTableList[] = 7;
- attribute(readonly) RouteTable routeTableList[] = 8;
- attribute(readonly) int32u partitionId = 9;
- attribute(readonly) int8u weighting = 10;
- attribute(readonly) int8u dataVersion = 11;
- attribute(readonly) int8u stableDataVersion = 12;
- attribute(readonly) int8u leaderRouterId = 13;
- attribute(readonly) int16u detachedRoleCount = 14;
- attribute(readonly) int16u childRoleCount = 15;
- attribute(readonly) int16u routerRoleCount = 16;
- attribute(readonly) int16u leaderRoleCount = 17;
- attribute(readonly) int16u attachAttemptCount = 18;
- attribute(readonly) int16u partitionIdChangeCount = 19;
- attribute(readonly) int16u betterPartitionAttachAttemptCount = 20;
- attribute(readonly) int16u parentChangeCount = 21;
- attribute(readonly) int32u txTotalCount = 22;
- attribute(readonly) int32u txUnicastCount = 23;
- attribute(readonly) int32u txBroadcastCount = 24;
- attribute(readonly) int32u txAckRequestedCount = 25;
- attribute(readonly) int32u txAckedCount = 26;
- attribute(readonly) int32u txNoAckRequestedCount = 27;
- attribute(readonly) int32u txDataCount = 28;
- attribute(readonly) int32u txDataPollCount = 29;
- attribute(readonly) int32u txBeaconCount = 30;
- attribute(readonly) int32u txBeaconRequestCount = 31;
- attribute(readonly) int32u txOtherCount = 32;
- attribute(readonly) int32u txRetryCount = 33;
- attribute(readonly) int32u txDirectMaxRetryExpiryCount = 34;
- attribute(readonly) int32u txIndirectMaxRetryExpiryCount = 35;
- attribute(readonly) int32u txErrCcaCount = 36;
- attribute(readonly) int32u txErrAbortCount = 37;
- attribute(readonly) int32u txErrBusyChannelCount = 38;
- attribute(readonly) int32u rxTotalCount = 39;
- attribute(readonly) int32u rxUnicastCount = 40;
- attribute(readonly) int32u rxBroadcastCount = 41;
- attribute(readonly) int32u rxDataCount = 42;
- attribute(readonly) int32u rxDataPollCount = 43;
- attribute(readonly) int32u rxBeaconCount = 44;
- attribute(readonly) int32u rxBeaconRequestCount = 45;
- attribute(readonly) int32u rxOtherCount = 46;
- attribute(readonly) int32u rxAddressFilteredCount = 47;
- attribute(readonly) int32u rxDestAddrFilteredCount = 48;
- attribute(readonly) int32u rxDuplicatedCount = 49;
- attribute(readonly) int32u rxErrNoFrameCount = 50;
- attribute(readonly) int32u rxErrUnknownNeighborCount = 51;
- attribute(readonly) int32u rxErrInvalidSrcAddrCount = 52;
- attribute(readonly) int32u rxErrSecCount = 53;
- attribute(readonly) int32u rxErrFcsCount = 54;
- attribute(readonly) int32u rxErrOtherCount = 55;
- attribute(readonly) int64u activeTimestamp = 56;
- attribute(readonly) int64u pendingTimestamp = 57;
- attribute(readonly) int32u delay = 58;
- attribute(readonly) SecurityPolicy securityPolicy[] = 59;
- attribute(readonly) octet_string channelMask = 60;
- attribute(readonly) OperationalDatasetComponents operationalDatasetComponents[] = 61;
- attribute(readonly) NetworkFault activeNetworkFaultsList[] = 62;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16u channel = 0;
+ readonly attribute enum8 routingRole = 1;
+ readonly attribute octet_string networkName = 2;
+ readonly attribute int16u panId = 3;
+ readonly attribute int64u extendedPanId = 4;
+ readonly attribute octet_string 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 channelMask = 60;
+ readonly attribute OperationalDatasetComponents operationalDatasetComponents[] = 61;
+ readonly attribute NetworkFault activeNetworkFaultsList[] = 62;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster UserLabel = 65 {
- attribute(writable) LabelStruct labelList[] = 0;
- attribute(readonly) int16u clusterRevision = 65533;
+ attribute LabelStruct labelList[] = 0;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster WakeOnLan = 1283 {
- attribute(readonly) char_string wakeOnLanMacAddress = 0;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute char_string wakeOnLanMacAddress = 0;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster WiFiNetworkDiagnostics = 54 {
@@ -1764,21 +1764,21 @@
WiFiConnectionStatus connectionStatus = 0;
}
- attribute(readonly) octet_string bssid = 0;
- attribute(readonly) enum8 securityType = 1;
- attribute(readonly) enum8 wiFiVersion = 2;
- attribute(readonly) int16u channelNumber = 3;
- attribute(readonly) int8s rssi = 4;
- attribute(readonly) int32u beaconLostCount = 5;
- attribute(readonly) int32u beaconRxCount = 6;
- attribute(readonly) int32u packetMulticastRxCount = 7;
- attribute(readonly) int32u packetMulticastTxCount = 8;
- attribute(readonly) int32u packetUnicastRxCount = 9;
- attribute(readonly) int32u packetUnicastTxCount = 10;
- attribute(readonly) int64u currentMaxRate = 11;
- attribute(readonly) int64u overrunCount = 12;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute octet_string 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 attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
}
diff --git a/examples/tv-casting-app/tv-casting-common/tv-casting-app.matter b/examples/tv-casting-app/tv-casting-common/tv-casting-app.matter
index d798228..c45abe4 100644
--- a/examples/tv-casting-app/tv-casting-common/tv-casting-app.matter
+++ b/examples/tv-casting-app/tv-casting-common/tv-casting-app.matter
@@ -7,7 +7,7 @@
}
client cluster AccountLogin = 1294 {
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16u clusterRevision = 65533;
request struct GetSetupPINRequestRequest {
CHAR_STRING tempAccountIdentifier = 0;
@@ -36,10 +36,10 @@
kWindowNotOpen = 3;
}
- attribute(readonly) int8u windowStatus = 0;
- attribute(readonly) fabric_idx adminFabricIndex = 1;
- attribute(readonly) int16u adminVendorId = 2;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int8u windowStatus = 0;
+ readonly attribute fabric_idx adminFabricIndex = 1;
+ readonly attribute int16u adminVendorId = 2;
+ readonly attribute int16u clusterRevision = 65533;
request struct OpenBasicCommissioningWindowRequest {
INT16U commissioningTimeout = 0;
@@ -67,13 +67,13 @@
kActiveVisibleNotFocus = 3;
}
- attribute(readonly) char_string vendorName = 0;
- attribute(readonly) int16u vendorId = 1;
- attribute(readonly) char_string applicationName = 2;
- attribute(readonly) int16u productId = 3;
- attribute(readonly) ApplicationStatusEnum applicationStatus = 5;
- attribute(readonly) char_string applicationVersion = 6;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute char_string vendorName = 0;
+ readonly attribute int16u vendorId = 1;
+ readonly attribute char_string applicationName = 2;
+ readonly attribute int16u productId = 3;
+ readonly attribute ApplicationStatusEnum applicationStatus = 5;
+ readonly attribute char_string applicationVersion = 6;
+ readonly attribute int16u clusterRevision = 65533;
}
client cluster ApplicationLauncher = 1292 {
@@ -88,8 +88,8 @@
CHAR_STRING applicationId = 2;
}
- attribute(readonly) INT16U applicationLauncherList[] = 0;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute INT16U applicationLauncherList[] = 0;
+ readonly attribute int16u clusterRevision = 65533;
request struct HideAppRequestRequest {
ApplicationLauncherApplication application = 0;
@@ -125,8 +125,8 @@
CHAR_STRING name = 3;
}
- attribute(readonly) OutputInfo audioOutputList[] = 0;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute OutputInfo audioOutputList[] = 0;
+ readonly attribute int16u clusterRevision = 65533;
request struct RenameOutputRequestRequest {
INT8U index = 0;
@@ -142,11 +142,11 @@
}
server cluster BarrierControl = 259 {
- attribute(readonly) enum8 barrierMovingState = 1;
- attribute(readonly) bitmap16 barrierSafetyStatus = 2;
- attribute(readonly) bitmap8 barrierCapabilities = 3;
- attribute(readonly) int8u barrierPosition = 10;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute enum8 barrierMovingState = 1;
+ readonly attribute bitmap16 barrierSafetyStatus = 2;
+ readonly attribute bitmap8 barrierCapabilities = 3;
+ readonly attribute int8u barrierPosition = 10;
+ readonly attribute int16u clusterRevision = 65533;
request struct BarrierControlGoToPercentRequest {
INT8U percentOpen = 0;
@@ -171,39 +171,39 @@
boolean reachableNewValue = 0;
}
- attribute(readonly) int16u interactionModelVersion = 0;
- attribute(readonly) char_string vendorName = 1;
- attribute(readonly) vendor_id vendorID = 2;
- attribute(readonly) char_string productName = 3;
- attribute(readonly) int16u productID = 4;
- attribute(writable) char_string nodeLabel = 5;
- attribute(writable) char_string location = 6;
- attribute(readonly) int16u hardwareVersion = 7;
- attribute(readonly) char_string hardwareVersionString = 8;
- attribute(readonly) int32u softwareVersion = 9;
- attribute(readonly) char_string softwareVersionString = 10;
- attribute(readonly) char_string manufacturingDate = 11;
- attribute(readonly) char_string partNumber = 12;
- attribute(readonly) long_char_string productURL = 13;
- attribute(readonly) char_string productLabel = 14;
- attribute(readonly) char_string serialNumber = 15;
- attribute(writable) boolean localConfigDisabled = 16;
- attribute(readonly) boolean reachable = 17;
- attribute(readonly) char_string uniqueID = 18;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16u interactionModelVersion = 0;
+ readonly attribute char_string vendorName = 1;
+ readonly attribute vendor_id vendorID = 2;
+ readonly attribute char_string productName = 3;
+ readonly attribute int16u productID = 4;
+ attribute char_string nodeLabel = 5;
+ attribute char_string location = 6;
+ readonly attribute int16u hardwareVersion = 7;
+ readonly attribute char_string hardwareVersionString = 8;
+ readonly attribute int32u softwareVersion = 9;
+ readonly attribute char_string softwareVersionString = 10;
+ readonly attribute char_string manufacturingDate = 11;
+ readonly attribute char_string partNumber = 12;
+ readonly attribute long_char_string productURL = 13;
+ readonly attribute char_string productLabel = 14;
+ readonly attribute char_string serialNumber = 15;
+ attribute boolean localConfigDisabled = 16;
+ readonly attribute boolean reachable = 17;
+ readonly attribute char_string uniqueID = 18;
+ readonly attribute int16u clusterRevision = 65533;
command MfgSpecificPing(): DefaultSuccess = 0;
}
server cluster BinaryInputBasic = 15 {
- attribute(writable) boolean outOfService = 81;
- attribute(writable) boolean presentValue = 85;
- attribute(readonly) bitmap8 statusFlags = 111;
- attribute(readonly) int16u clusterRevision = 65533;
+ attribute boolean outOfService = 81;
+ attribute boolean presentValue = 85;
+ readonly attribute bitmap8 statusFlags = 111;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster Binding = 30 {
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16u clusterRevision = 65533;
request struct BindRequest {
NODE_ID nodeId = 0;
@@ -224,21 +224,21 @@
}
server cluster BridgedDeviceBasic = 57 {
- attribute(readonly) char_string vendorName = 1;
- attribute(readonly) int16u vendorID = 2;
- attribute(readonly) char_string productName = 3;
- attribute(writable) char_string nodeLabel = 5;
- attribute(readonly) int16u hardwareVersion = 7;
- attribute(readonly) char_string hardwareVersionString = 8;
- attribute(readonly) int32u softwareVersion = 9;
- attribute(readonly) char_string softwareVersionString = 10;
- attribute(readonly) char_string manufacturingDate = 11;
- attribute(readonly) char_string partNumber = 12;
- attribute(readonly) long_char_string productURL = 13;
- attribute(readonly) char_string productLabel = 14;
- attribute(readonly) char_string serialNumber = 15;
- attribute(readonly) boolean reachable = 17;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute char_string vendorName = 1;
+ readonly attribute int16u vendorID = 2;
+ readonly attribute char_string productName = 3;
+ attribute char_string nodeLabel = 5;
+ readonly attribute int16u hardwareVersion = 7;
+ readonly attribute char_string hardwareVersionString = 8;
+ readonly attribute int32u softwareVersion = 9;
+ readonly attribute char_string softwareVersionString = 10;
+ readonly attribute char_string manufacturingDate = 11;
+ readonly attribute char_string partNumber = 12;
+ readonly attribute long_char_string productURL = 13;
+ readonly attribute char_string productLabel = 14;
+ readonly attribute char_string serialNumber = 15;
+ readonly attribute boolean reachable = 17;
+ readonly attribute int16u clusterRevision = 65533;
command Leave(): DefaultSuccess = 2;
command ReachableChanged(): DefaultSuccess = 3;
@@ -271,10 +271,10 @@
LineupInfoTypeEnum lineupInfoType = 4;
}
- attribute(readonly) ChannelInfo channelList[] = 0;
- attribute(writable) LineupInfo channelLineup = 1;
- attribute(writable) ChannelInfo currentChannel = 2;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute ChannelInfo channelList[] = 0;
+ attribute LineupInfo channelLineup = 1;
+ attribute ChannelInfo currentChannel = 2;
+ readonly attribute int16u clusterRevision = 65533;
request struct ChangeChannelByNumberRequestRequest {
INT16U majorNumber = 0;
@@ -341,57 +341,57 @@
kDown = 3;
}
- attribute(readonly) int8u currentHue = 0;
- attribute(readonly) int8u currentSaturation = 1;
- attribute(readonly) int16u remainingTime = 2;
- attribute(readonly) int16u currentX = 3;
- attribute(readonly) int16u currentY = 4;
- attribute(readonly) enum8 driftCompensation = 5;
- attribute(readonly) char_string compensationText = 6;
- attribute(readonly) int16u colorTemperature = 7;
- attribute(readonly) enum8 colorMode = 8;
- attribute(writable) bitmap8 colorControlOptions = 15;
- attribute(readonly) int8u numberOfPrimaries = 16;
- attribute(readonly) int16u primary1X = 17;
- attribute(readonly) int16u primary1Y = 18;
- attribute(readonly) int8u primary1Intensity = 19;
- attribute(readonly) int16u primary2X = 21;
- attribute(readonly) int16u primary2Y = 22;
- attribute(readonly) int8u primary2Intensity = 23;
- attribute(readonly) int16u primary3X = 25;
- attribute(readonly) int16u primary3Y = 26;
- attribute(readonly) int8u primary3Intensity = 27;
- attribute(readonly) int16u primary4X = 32;
- attribute(readonly) int16u primary4Y = 33;
- attribute(readonly) int8u primary4Intensity = 34;
- attribute(readonly) int16u primary5X = 36;
- attribute(readonly) int16u primary5Y = 37;
- attribute(readonly) int8u primary5Intensity = 38;
- attribute(readonly) int16u primary6X = 40;
- attribute(readonly) int16u primary6Y = 41;
- attribute(readonly) int8u primary6Intensity = 42;
- attribute(writable) int16u whitePointX = 48;
- attribute(writable) int16u whitePointY = 49;
- attribute(writable) int16u colorPointRX = 50;
- attribute(writable) int16u colorPointRY = 51;
- attribute(writable) int8u colorPointRIntensity = 52;
- attribute(writable) int16u colorPointGX = 54;
- attribute(writable) int16u colorPointGY = 55;
- attribute(writable) int8u colorPointGIntensity = 56;
- attribute(writable) int16u colorPointBX = 58;
- attribute(writable) int16u colorPointBY = 59;
- attribute(writable) int8u colorPointBIntensity = 60;
- attribute(readonly) int16u enhancedCurrentHue = 16384;
- attribute(readonly) enum8 enhancedColorMode = 16385;
- attribute(readonly) int8u colorLoopActive = 16386;
- attribute(readonly) int8u colorLoopDirection = 16387;
- attribute(readonly) int16u colorLoopTime = 16388;
- attribute(readonly) bitmap16 colorCapabilities = 16394;
- attribute(readonly) int16u colorTempPhysicalMin = 16395;
- attribute(readonly) int16u colorTempPhysicalMax = 16396;
- attribute(readonly) int16u coupleColorTempToLevelMinMireds = 16397;
- attribute(writable) int16u startUpColorTemperatureMireds = 16400;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 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 attribute int16u clusterRevision = 65533;
request struct MoveColorRequest {
INT16S rateX = 0;
@@ -580,9 +580,9 @@
MetricTypeEnum metric = 3;
}
- attribute(readonly) CHAR_STRING acceptHeaderList[] = 0;
- attribute(writable) bitmap32 supportedStreamingProtocols = 1;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute CHAR_STRING acceptHeaderList[] = 0;
+ attribute bitmap32 supportedStreamingProtocols = 1;
+ readonly attribute int16u clusterRevision = 65533;
request struct LaunchContentRequestRequest {
BOOLEAN autoPlay = 0;
@@ -606,11 +606,11 @@
INT16U revision = 2;
}
- attribute(readonly) DeviceType deviceList[] = 0;
- attribute(readonly) CLUSTER_ID serverList[] = 1;
- attribute(readonly) CLUSTER_ID clientList[] = 2;
- attribute(readonly) ENDPOINT_NO partsList[] = 3;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute DeviceType deviceList[] = 0;
+ readonly attribute CLUSTER_ID serverList[] = 1;
+ readonly attribute CLUSTER_ID clientList[] = 2;
+ readonly attribute ENDPOINT_NO partsList[] = 3;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster DiagnosticLogs = 50 {
@@ -879,34 +879,34 @@
nullable INT16U dataIndex = 6;
}
- attribute(readonly) DlLockState lockState = 0;
- attribute(readonly) DlLockType lockType = 1;
- attribute(readonly) boolean actuatorEnabled = 2;
- attribute(readonly) DlDoorState doorState = 3;
- attribute(writable) int32u doorOpenEvents = 4;
- attribute(writable) int32u doorClosedEvents = 5;
- attribute(writable) int16u openPeriod = 6;
- attribute(readonly) int16u numberOfTotalUsersSupported = 17;
- attribute(readonly) int16u numberOfPINUsersSupported = 18;
- attribute(readonly) int16u numberOfWeekDaySchedulesSupportedPerUser = 20;
- attribute(readonly) int16u numberOfYearDaySchedulesSupportedPerUser = 21;
- attribute(readonly) int16u numberOfHolidaySchedulesSupported = 22;
- attribute(readonly) int8u maxPINCodeLength = 23;
- attribute(readonly) int8u minPINCodeLength = 24;
- attribute(readonly) bitmap8 credentialRulesSupport = 27;
- attribute(writable) char_string language = 33;
- attribute(writable) int32u autoRelockTime = 35;
- attribute(writable) int8u soundVolume = 36;
- attribute(writable) DlOperatingMode operatingMode = 37;
- attribute(readonly) bitmap16 supportedOperatingModes = 38;
- attribute(readonly) bitmap16 defaultConfigurationRegister = 39;
- attribute(writable) boolean enableOneTouchLocking = 41;
- attribute(writable) boolean enableInsideStatusLED = 42;
- attribute(writable) boolean enablePrivacyModeButton = 43;
- attribute(writable) int8u wrongCodeEntryLimit = 48;
- attribute(writable) int8u userCodeTemporaryDisableTime = 49;
- attribute(writable) boolean requirePINforRemoteOperation = 51;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute DlLockState lockState = 0;
+ readonly attribute DlLockType lockType = 1;
+ readonly attribute boolean actuatorEnabled = 2;
+ readonly attribute 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 int16u numberOfWeekDaySchedulesSupportedPerUser = 20;
+ readonly attribute int16u numberOfYearDaySchedulesSupportedPerUser = 21;
+ readonly attribute int16u numberOfHolidaySchedulesSupported = 22;
+ readonly attribute int8u maxPINCodeLength = 23;
+ readonly attribute int8u minPINCodeLength = 24;
+ readonly attribute bitmap8 credentialRulesSupport = 27;
+ attribute char_string 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 attribute int16u clusterRevision = 65533;
request struct ClearCredentialRequest {
DlCredential credential = 0;
@@ -999,29 +999,29 @@
k400g = 9;
}
- attribute(readonly) enum8 PHYRate = 0;
- attribute(readonly) boolean fullDuplex = 1;
- attribute(readonly) int64u packetRxCount = 2;
- attribute(readonly) int64u packetTxCount = 3;
- attribute(readonly) int64u txErrCount = 4;
- attribute(readonly) int64u collisionCount = 5;
- attribute(readonly) int64u overrunCount = 6;
- attribute(readonly) boolean carrierDetect = 7;
- attribute(readonly) int64u timeSinceReset = 8;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster FixedLabel = 64 {
- attribute(readonly) LabelStruct labelList[] = 0;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute LabelStruct labelList[] = 0;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster FlowMeasurement = 1028 {
- attribute(readonly) int16s measuredValue = 0;
- attribute(readonly) int16s minMeasuredValue = 1;
- attribute(readonly) int16s maxMeasuredValue = 2;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16s measuredValue = 0;
+ readonly attribute int16s minMeasuredValue = 1;
+ readonly attribute int16s maxMeasuredValue = 2;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster GeneralCommissioning = 48 {
@@ -1042,12 +1042,12 @@
INT32U failSafeExpiryLengthMs = 1;
}
- attribute(writable) int64u breadcrumb = 0;
- attribute(readonly) BasicCommissioningInfoType basicCommissioningInfoList[] = 1;
- attribute(readonly) enum8 regulatoryConfig = 2;
- attribute(readonly) enum8 locationCapability = 3;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ attribute int64u breadcrumb = 0;
+ readonly attribute BasicCommissioningInfoType basicCommissioningInfoList[] = 1;
+ readonly attribute enum8 regulatoryConfig = 2;
+ readonly attribute enum8 locationCapability = 3;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
request struct ArmFailSafeRequest {
INT16U expiryLengthSeconds = 0;
@@ -1160,15 +1160,15 @@
BootReasonType bootReason = 0;
}
- attribute(readonly) NetworkInterfaceType networkInterfaces[] = 0;
- attribute(readonly) int16u rebootCount = 1;
- attribute(readonly) int64u upTime = 2;
- attribute(readonly) int32u totalOperationalHours = 3;
- attribute(readonly) enum8 bootReasons = 4;
- attribute(readonly) ENUM8 activeHardwareFaults[] = 5;
- attribute(readonly) ENUM8 activeRadioFaults[] = 6;
- attribute(readonly) ENUM8 activeNetworkFaults[] = 7;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 attribute int16u clusterRevision = 65533;
}
server cluster GroupKeyManagement = 63 {
@@ -1190,14 +1190,14 @@
CHAR_STRING groupName = 3;
}
- attribute(readonly) GroupKey groupKeyMap[] = 0;
- attribute(readonly) GroupInfo groupTable[] = 1;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute GroupKey groupKeyMap[] = 0;
+ readonly attribute GroupInfo groupTable[] = 1;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster Groups = 4 {
- attribute(readonly) bitmap8 nameSupport = 0;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute bitmap8 nameSupport = 0;
+ readonly attribute int16u clusterRevision = 65533;
request struct AddGroupRequest {
INT16U groupId = 0;
@@ -1277,12 +1277,12 @@
kInvalidZoneType = 65535;
}
- attribute(readonly) enum8 zoneState = 0;
- attribute(readonly) enum16 zoneType = 1;
- attribute(readonly) bitmap16 zoneStatus = 2;
- attribute(writable) node_id iasCieAddress = 16;
- attribute(readonly) int8u zoneId = 17;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 attribute int16u clusterRevision = 65533;
request struct ZoneEnrollRequestRequest {
IasZoneType zoneType = 0;
@@ -1328,8 +1328,8 @@
kActuator = 5;
}
- attribute(writable) int16u identifyTime = 0;
- attribute(readonly) int16u clusterRevision = 65533;
+ attribute int16u identifyTime = 0;
+ readonly attribute int16u clusterRevision = 65533;
request struct IdentifyRequest {
INT16U identifyTime = 0;
@@ -1439,7 +1439,7 @@
kInvalidKeyInCurrentState = 2;
}
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16u clusterRevision = 65533;
request struct SendKeyRequestRequest {
CecKeyCode keyCode = 0;
@@ -1459,21 +1459,21 @@
kDown = 1;
}
- attribute(readonly) int8u currentLevel = 0;
- attribute(readonly) int16u remainingTime = 1;
- attribute(readonly) int8u minLevel = 2;
- attribute(readonly) int8u maxLevel = 3;
- attribute(readonly) int16u currentFrequency = 4;
- attribute(readonly) int16u minFrequency = 5;
- attribute(readonly) int16u maxFrequency = 6;
- attribute(writable) bitmap8 options = 15;
- attribute(writable) int16u onOffTransitionTime = 16;
- attribute(writable) int8u onLevel = 17;
- attribute(writable) int16u onTransitionTime = 18;
- attribute(writable) int16u offTransitionTime = 19;
- attribute(writable) int8u defaultMoveRate = 20;
- attribute(writable) int8u startUpCurrentLevel = 16384;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 int8u onLevel = 17;
+ attribute int16u onTransitionTime = 18;
+ attribute int16u offTransitionTime = 19;
+ attribute int8u defaultMoveRate = 20;
+ attribute int8u startUpCurrentLevel = 16384;
+ readonly attribute int16u clusterRevision = 65533;
request struct MoveRequest {
MoveMode moveMode = 0;
@@ -1529,8 +1529,8 @@
}
server cluster LocalizationConfiguration = 43 {
- attribute(writable) char_string activeLocale = 1;
- attribute(readonly) CHAR_STRING supportedLocales[] = 2;
+ attribute char_string activeLocale = 1;
+ readonly attribute CHAR_STRING supportedLocales[] = 2;
}
client cluster MediaInput = 1287 {
@@ -1556,8 +1556,8 @@
CHAR_STRING description = 4;
}
- attribute(readonly) InputInfo mediaInputList[] = 0;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute InputInfo mediaInputList[] = 0;
+ readonly attribute int16u clusterRevision = 65533;
request struct RenameInputRequestRequest {
INT8U index = 0;
@@ -1591,7 +1591,7 @@
kSeekOutOfRange = 5;
}
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16u clusterRevision = 65533;
request struct SeekRequestRequest {
INT64U position = 0;
@@ -1668,16 +1668,16 @@
INT8U lqi = 8;
}
- attribute(readonly) int8u maxNetworks = 0;
- attribute(readonly) NetworkInfo networks[] = 1;
- attribute(readonly) int8u scanMaxTimeSeconds = 2;
- attribute(readonly) int8u connectMaxTimeSeconds = 3;
- attribute(writable) boolean interfaceEnabled = 4;
- attribute(readonly) NetworkCommissioningStatus lastNetworkingStatus = 5;
- attribute(readonly) octet_string lastNetworkID = 6;
- attribute(readonly) int32u lastConnectErrorValue = 7;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 lastNetworkID = 6;
+ readonly attribute int32u lastConnectErrorValue = 7;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
request struct AddOrUpdateThreadNetworkRequest {
OCTET_STRING operationalDataset = 0;
@@ -1758,7 +1758,7 @@
kDownloadProtocolNotSupported = 3;
}
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16u clusterRevision = 65533;
request struct ApplyUpdateRequestRequest {
OCTET_STRING updateToken = 0;
@@ -1803,10 +1803,10 @@
}
server cluster OccupancySensing = 1030 {
- attribute(readonly) bitmap8 occupancy = 0;
- attribute(readonly) enum8 occupancySensorType = 1;
- attribute(readonly) bitmap8 occupancySensorTypeBitmap = 2;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute bitmap8 occupancy = 0;
+ readonly attribute enum8 occupancySensorType = 1;
+ readonly attribute bitmap8 occupancySensorTypeBitmap = 2;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster OnOff = 6 {
@@ -1825,13 +1825,13 @@
kDyingLight = 1;
}
- attribute(readonly) boolean onOff = 0;
- attribute(readonly) boolean globalSceneControl = 16384;
- attribute(writable) int16u onTime = 16385;
- attribute(writable) int16u offWaitTime = 16386;
- attribute(writable) enum8 startUpOnOff = 16387;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute boolean onOff = 0;
+ readonly attribute boolean globalSceneControl = 16384;
+ attribute int16u onTime = 16385;
+ attribute int16u offWaitTime = 16386;
+ attribute enum8 startUpOnOff = 16387;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
command Off(): DefaultSuccess = 0;
command On(): DefaultSuccess = 1;
@@ -1861,12 +1861,12 @@
CHAR_STRING label = 6;
}
- attribute(readonly) FabricDescriptor fabricsList[] = 1;
- attribute(readonly) int8u supportedFabrics = 2;
- attribute(readonly) int8u commissionedFabrics = 3;
- attribute(readonly) OCTET_STRING trustedRootCertificates[] = 4;
- attribute(readonly) fabric_idx currentFabricIndex = 5;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 attribute int16u clusterRevision = 65533;
request struct AddNOCRequest {
OCTET_STRING NOCValue = 0;
@@ -1941,17 +1941,17 @@
}
server cluster PressureMeasurement = 1027 {
- attribute(readonly) int16s measuredValue = 0;
- attribute(readonly) int16s minMeasuredValue = 1;
- attribute(readonly) int16s maxMeasuredValue = 2;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16s measuredValue = 0;
+ readonly attribute int16s minMeasuredValue = 1;
+ readonly attribute int16s maxMeasuredValue = 2;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster RelativeHumidityMeasurement = 1029 {
- attribute(readonly) int16u measuredValue = 0;
- attribute(readonly) int16u minMeasuredValue = 1;
- attribute(readonly) int16u maxMeasuredValue = 2;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16u measuredValue = 0;
+ readonly attribute int16u minMeasuredValue = 1;
+ readonly attribute int16u maxMeasuredValue = 2;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster Scenes = 5 {
@@ -1961,12 +1961,12 @@
INT8U value = 3;
}
- attribute(readonly) int8u sceneCount = 0;
- attribute(readonly) int8u currentScene = 1;
- attribute(readonly) int16u currentGroup = 2;
- attribute(readonly) boolean sceneValid = 3;
- attribute(readonly) bitmap8 nameSupport = 4;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 attribute int16u clusterRevision = 65533;
request struct AddSceneRequest {
INT16U groupId = 0;
@@ -2067,12 +2067,12 @@
SoftwareFault softwareFault = 0;
}
- attribute(readonly) ThreadMetrics threadMetrics[] = 0;
- attribute(readonly) int64u currentHeapFree = 1;
- attribute(readonly) int64u currentHeapUsed = 2;
- attribute(readonly) int64u currentHeapHighWatermark = 3;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute ThreadMetrics threadMetrics[] = 0;
+ readonly attribute int64u currentHeapFree = 1;
+ readonly attribute int64u currentHeapUsed = 2;
+ readonly attribute int64u currentHeapHighWatermark = 3;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster Switch = 59 {
@@ -2106,9 +2106,9 @@
INT8U totalNumberOfPressesCounted = 1;
}
- attribute(readonly) int8u numberOfPositions = 0;
- attribute(readonly) int8u currentPosition = 1;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int8u numberOfPositions = 0;
+ readonly attribute int8u currentPosition = 1;
+ readonly attribute int16u clusterRevision = 65533;
}
client cluster TargetNavigator = 1285 {
@@ -2123,8 +2123,8 @@
CHAR_STRING name = 2;
}
- attribute(readonly) TargetInfo targetNavigatorList[] = 0;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute TargetInfo targetNavigatorList[] = 0;
+ readonly attribute int16u clusterRevision = 65533;
request struct NavigateTargetRequestRequest {
INT8U target = 0;
@@ -2135,10 +2135,10 @@
}
server cluster TemperatureMeasurement = 1026 {
- attribute(readonly) int16s measuredValue = 0;
- attribute(readonly) int16s minMeasuredValue = 1;
- attribute(readonly) int16s maxMeasuredValue = 2;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16s measuredValue = 0;
+ readonly attribute int16s minMeasuredValue = 1;
+ readonly attribute int16s maxMeasuredValue = 2;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster TestCluster = 1295 {
@@ -2163,27 +2163,27 @@
SimpleEnum arg6[] = 6;
}
- attribute(writable) boolean boolean = 0;
- attribute(writable) bitmap8 bitmap8 = 1;
- attribute(writable) bitmap16 bitmap16 = 2;
- attribute(writable) bitmap32 bitmap32 = 3;
- attribute(writable) bitmap64 bitmap64 = 4;
- attribute(writable) int8u int8u = 5;
- attribute(writable) int16u int16u = 6;
- attribute(writable) int32u int32u = 8;
- attribute(writable) int64u int64u = 12;
- attribute(writable) int8s int8s = 13;
- attribute(writable) int16s int16s = 14;
- attribute(writable) int32s int32s = 16;
- attribute(writable) int64s int64s = 20;
- attribute(writable) enum8 enum8 = 21;
- attribute(writable) enum16 enum16 = 22;
- attribute(writable) octet_string octetString = 25;
- attribute(writable) INT8U listInt8u[] = 26;
- attribute(writable) OCTET_STRING listOctetString[] = 27;
- attribute(writable) TestListStructOctet listStructOctetString[] = 28;
- attribute(writable) long_octet_string longOctetString = 29;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 octetString = 25;
+ attribute INT8U listInt8u[] = 26;
+ attribute OCTET_STRING listOctetString[] = 27;
+ attribute TestListStructOctet listStructOctetString[] = 28;
+ attribute long_octet_string longOctetString = 29;
+ readonly attribute int16u clusterRevision = 65533;
response struct TestSpecificResponse {
INT8U returnValue = 0;
@@ -2201,16 +2201,16 @@
kHeatAndCoolSetpoints = 2;
}
- attribute(readonly) int16s localTemperature = 0;
- attribute(writable) int16s occupiedCoolingSetpoint = 17;
- attribute(writable) int16s occupiedHeatingSetpoint = 18;
- attribute(writable) enum8 controlSequenceOfOperation = 27;
- attribute(writable) enum8 systemMode = 28;
- attribute(readonly) enum8 startOfWeek = 32;
- attribute(readonly) int8u numberOfWeeklyTransitions = 33;
- attribute(readonly) int8u numberOfDailyTransitions = 34;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
response struct GetWeeklyScheduleResponse {
ENUM8 numberOfTransitionsForSequence = 0;
@@ -2297,81 +2297,81 @@
ThreadConnectionStatus connectionStatus = 0;
}
- attribute(readonly) int16u channel = 0;
- attribute(readonly) enum8 routingRole = 1;
- attribute(readonly) octet_string networkName = 2;
- attribute(readonly) int16u panId = 3;
- attribute(readonly) int64u extendedPanId = 4;
- attribute(readonly) octet_string meshLocalPrefix = 5;
- attribute(readonly) int64u overrunCount = 6;
- attribute(readonly) NeighborTable neighborTableList[] = 7;
- attribute(readonly) RouteTable routeTableList[] = 8;
- attribute(readonly) int32u partitionId = 9;
- attribute(readonly) int8u weighting = 10;
- attribute(readonly) int8u dataVersion = 11;
- attribute(readonly) int8u stableDataVersion = 12;
- attribute(readonly) int8u leaderRouterId = 13;
- attribute(readonly) int16u detachedRoleCount = 14;
- attribute(readonly) int16u childRoleCount = 15;
- attribute(readonly) int16u routerRoleCount = 16;
- attribute(readonly) int16u leaderRoleCount = 17;
- attribute(readonly) int16u attachAttemptCount = 18;
- attribute(readonly) int16u partitionIdChangeCount = 19;
- attribute(readonly) int16u betterPartitionAttachAttemptCount = 20;
- attribute(readonly) int16u parentChangeCount = 21;
- attribute(readonly) int32u txTotalCount = 22;
- attribute(readonly) int32u txUnicastCount = 23;
- attribute(readonly) int32u txBroadcastCount = 24;
- attribute(readonly) int32u txAckRequestedCount = 25;
- attribute(readonly) int32u txAckedCount = 26;
- attribute(readonly) int32u txNoAckRequestedCount = 27;
- attribute(readonly) int32u txDataCount = 28;
- attribute(readonly) int32u txDataPollCount = 29;
- attribute(readonly) int32u txBeaconCount = 30;
- attribute(readonly) int32u txBeaconRequestCount = 31;
- attribute(readonly) int32u txOtherCount = 32;
- attribute(readonly) int32u txRetryCount = 33;
- attribute(readonly) int32u txDirectMaxRetryExpiryCount = 34;
- attribute(readonly) int32u txIndirectMaxRetryExpiryCount = 35;
- attribute(readonly) int32u txErrCcaCount = 36;
- attribute(readonly) int32u txErrAbortCount = 37;
- attribute(readonly) int32u txErrBusyChannelCount = 38;
- attribute(readonly) int32u rxTotalCount = 39;
- attribute(readonly) int32u rxUnicastCount = 40;
- attribute(readonly) int32u rxBroadcastCount = 41;
- attribute(readonly) int32u rxDataCount = 42;
- attribute(readonly) int32u rxDataPollCount = 43;
- attribute(readonly) int32u rxBeaconCount = 44;
- attribute(readonly) int32u rxBeaconRequestCount = 45;
- attribute(readonly) int32u rxOtherCount = 46;
- attribute(readonly) int32u rxAddressFilteredCount = 47;
- attribute(readonly) int32u rxDestAddrFilteredCount = 48;
- attribute(readonly) int32u rxDuplicatedCount = 49;
- attribute(readonly) int32u rxErrNoFrameCount = 50;
- attribute(readonly) int32u rxErrUnknownNeighborCount = 51;
- attribute(readonly) int32u rxErrInvalidSrcAddrCount = 52;
- attribute(readonly) int32u rxErrSecCount = 53;
- attribute(readonly) int32u rxErrFcsCount = 54;
- attribute(readonly) int32u rxErrOtherCount = 55;
- attribute(readonly) int64u activeTimestamp = 56;
- attribute(readonly) int64u pendingTimestamp = 57;
- attribute(readonly) int32u delay = 58;
- attribute(readonly) SecurityPolicy securityPolicy[] = 59;
- attribute(readonly) octet_string channelMask = 60;
- attribute(readonly) OperationalDatasetComponents operationalDatasetComponents[] = 61;
- attribute(readonly) NetworkFault activeNetworkFaultsList[] = 62;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16u channel = 0;
+ readonly attribute enum8 routingRole = 1;
+ readonly attribute octet_string networkName = 2;
+ readonly attribute int16u panId = 3;
+ readonly attribute int64u extendedPanId = 4;
+ readonly attribute octet_string 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 channelMask = 60;
+ readonly attribute OperationalDatasetComponents operationalDatasetComponents[] = 61;
+ readonly attribute NetworkFault activeNetworkFaultsList[] = 62;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster UserLabel = 65 {
- attribute(writable) LabelStruct labelList[] = 0;
- attribute(readonly) int16u clusterRevision = 65533;
+ attribute LabelStruct labelList[] = 0;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster WakeOnLan = 1283 {
- attribute(readonly) char_string wakeOnLanMacAddress = 0;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute char_string wakeOnLanMacAddress = 0;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster WiFiNetworkDiagnostics = 54 {
@@ -2418,43 +2418,43 @@
WiFiConnectionStatus connectionStatus = 0;
}
- attribute(readonly) octet_string bssid = 0;
- attribute(readonly) enum8 securityType = 1;
- attribute(readonly) enum8 wiFiVersion = 2;
- attribute(readonly) int16u channelNumber = 3;
- attribute(readonly) int8s rssi = 4;
- attribute(readonly) int32u beaconLostCount = 5;
- attribute(readonly) int32u beaconRxCount = 6;
- attribute(readonly) int32u packetMulticastRxCount = 7;
- attribute(readonly) int32u packetMulticastTxCount = 8;
- attribute(readonly) int32u packetUnicastRxCount = 9;
- attribute(readonly) int32u packetUnicastTxCount = 10;
- attribute(readonly) int64u currentMaxRate = 11;
- attribute(readonly) int64u overrunCount = 12;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute octet_string 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 attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster WindowCovering = 258 {
- attribute(readonly) enum8 type = 0;
- attribute(readonly) int16u currentPositionLift = 3;
- attribute(readonly) int16u currentPositionTilt = 4;
- attribute(readonly) bitmap8 configStatus = 7;
- attribute(readonly) Percent currentPositionLiftPercentage = 8;
- attribute(readonly) Percent currentPositionTiltPercentage = 9;
- attribute(readonly) bitmap8 operationalStatus = 10;
- attribute(readonly) Percent100ths targetPositionLiftPercent100ths = 11;
- attribute(readonly) Percent100ths targetPositionTiltPercent100ths = 12;
- attribute(readonly) enum8 endProductType = 13;
- attribute(readonly) Percent100ths currentPositionLiftPercent100ths = 14;
- attribute(readonly) Percent100ths currentPositionTiltPercent100ths = 15;
- attribute(readonly) int16u installedOpenLimitLift = 16;
- attribute(readonly) int16u installedClosedLimitLift = 17;
- attribute(readonly) int16u installedOpenLimitTilt = 18;
- attribute(readonly) int16u installedClosedLimitTilt = 19;
- attribute(writable) bitmap8 mode = 23;
- attribute(readonly) bitmap16 safetyStatus = 26;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute enum8 type = 0;
+ readonly attribute int16u currentPositionLift = 3;
+ readonly attribute int16u currentPositionTilt = 4;
+ readonly attribute bitmap8 configStatus = 7;
+ readonly attribute Percent currentPositionLiftPercentage = 8;
+ readonly attribute Percent currentPositionTiltPercentage = 9;
+ readonly attribute bitmap8 operationalStatus = 10;
+ readonly attribute Percent100ths targetPositionLiftPercent100ths = 11;
+ readonly attribute Percent100ths targetPositionTiltPercent100ths = 12;
+ readonly attribute enum8 endProductType = 13;
+ readonly attribute Percent100ths currentPositionLiftPercent100ths = 14;
+ readonly attribute 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 attribute int16u clusterRevision = 65533;
}
diff --git a/examples/window-app/common/window-app.matter b/examples/window-app/common/window-app.matter
index 3417687..ad2102b 100644
--- a/examples/window-app/common/window-app.matter
+++ b/examples/window-app/common/window-app.matter
@@ -19,10 +19,10 @@
kWindowNotOpen = 3;
}
- attribute(readonly) int8u windowStatus = 0;
- attribute(readonly) fabric_idx adminFabricIndex = 1;
- attribute(readonly) int16u adminVendorId = 2;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int8u windowStatus = 0;
+ readonly attribute fabric_idx adminFabricIndex = 1;
+ readonly attribute int16u adminVendorId = 2;
+ readonly attribute int16u clusterRevision = 65533;
request struct OpenBasicCommissioningWindowRequest {
INT16U commissioningTimeout = 0;
@@ -57,25 +57,25 @@
boolean reachableNewValue = 0;
}
- attribute(readonly) int16u interactionModelVersion = 0;
- attribute(readonly) char_string vendorName = 1;
- attribute(readonly) vendor_id vendorID = 2;
- attribute(readonly) char_string productName = 3;
- attribute(readonly) int16u productID = 4;
- attribute(writable) char_string nodeLabel = 5;
- attribute(writable) char_string location = 6;
- attribute(readonly) int16u hardwareVersion = 7;
- attribute(readonly) char_string hardwareVersionString = 8;
- attribute(readonly) int32u softwareVersion = 9;
- attribute(readonly) char_string softwareVersionString = 10;
- attribute(readonly) char_string manufacturingDate = 11;
- attribute(readonly) char_string partNumber = 12;
- attribute(readonly) long_char_string productURL = 13;
- attribute(readonly) char_string productLabel = 14;
- attribute(readonly) char_string serialNumber = 15;
- attribute(writable) boolean localConfigDisabled = 16;
- attribute(readonly) boolean reachable = 17;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16u interactionModelVersion = 0;
+ readonly attribute char_string vendorName = 1;
+ readonly attribute vendor_id vendorID = 2;
+ readonly attribute char_string productName = 3;
+ readonly attribute int16u productID = 4;
+ attribute char_string nodeLabel = 5;
+ attribute char_string location = 6;
+ readonly attribute int16u hardwareVersion = 7;
+ readonly attribute char_string hardwareVersionString = 8;
+ readonly attribute int32u softwareVersion = 9;
+ readonly attribute char_string softwareVersionString = 10;
+ readonly attribute char_string manufacturingDate = 11;
+ readonly attribute char_string partNumber = 12;
+ readonly attribute long_char_string productURL = 13;
+ readonly attribute char_string productLabel = 14;
+ readonly attribute char_string serialNumber = 15;
+ attribute boolean localConfigDisabled = 16;
+ readonly attribute boolean reachable = 17;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster Descriptor = 29 {
@@ -84,11 +84,11 @@
INT16U revision = 2;
}
- attribute(readonly) DeviceType deviceList[] = 0;
- attribute(readonly) CLUSTER_ID serverList[] = 1;
- attribute(readonly) CLUSTER_ID clientList[] = 2;
- attribute(readonly) ENDPOINT_NO partsList[] = 3;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute DeviceType deviceList[] = 0;
+ readonly attribute CLUSTER_ID serverList[] = 1;
+ readonly attribute CLUSTER_ID clientList[] = 2;
+ readonly attribute ENDPOINT_NO partsList[] = 3;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster EthernetNetworkDiagnostics = 55 {
@@ -105,22 +105,22 @@
k400g = 9;
}
- attribute(readonly) enum8 PHYRate = 0;
- attribute(readonly) boolean fullDuplex = 1;
- attribute(readonly) int64u packetRxCount = 2;
- attribute(readonly) int64u packetTxCount = 3;
- attribute(readonly) int64u txErrCount = 4;
- attribute(readonly) int64u collisionCount = 5;
- attribute(readonly) int64u overrunCount = 6;
- attribute(readonly) boolean carrierDetect = 7;
- attribute(readonly) int64u timeSinceReset = 8;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster FixedLabel = 64 {
- attribute(readonly) LabelStruct labelList[] = 0;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute LabelStruct labelList[] = 0;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster GeneralCommissioning = 48 {
@@ -141,12 +141,12 @@
INT32U failSafeExpiryLengthMs = 1;
}
- attribute(writable) int64u breadcrumb = 0;
- attribute(readonly) BasicCommissioningInfoType basicCommissioningInfoList[] = 1;
- attribute(readonly) enum8 regulatoryConfig = 2;
- attribute(readonly) enum8 locationCapability = 3;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ attribute int64u breadcrumb = 0;
+ readonly attribute BasicCommissioningInfoType basicCommissioningInfoList[] = 1;
+ readonly attribute enum8 regulatoryConfig = 2;
+ readonly attribute enum8 locationCapability = 3;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
request struct ArmFailSafeRequest {
INT16U expiryLengthSeconds = 0;
@@ -259,15 +259,15 @@
BootReasonType bootReason = 0;
}
- attribute(readonly) NetworkInterfaceType networkInterfaces[] = 0;
- attribute(readonly) int16u rebootCount = 1;
- attribute(readonly) int64u upTime = 2;
- attribute(readonly) int32u totalOperationalHours = 3;
- attribute(readonly) enum8 bootReasons = 4;
- attribute(readonly) ENUM8 activeHardwareFaults[] = 5;
- attribute(readonly) ENUM8 activeRadioFaults[] = 6;
- attribute(readonly) ENUM8 activeNetworkFaults[] = 7;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 attribute int16u clusterRevision = 65533;
}
server cluster Identify = 3 {
@@ -293,9 +293,9 @@
kActuator = 5;
}
- attribute(writable) int16u identifyTime = 0;
- attribute(readonly) enum8 identifyType = 1;
- attribute(readonly) int16u clusterRevision = 65533;
+ attribute int16u identifyTime = 0;
+ readonly attribute enum8 identifyType = 1;
+ readonly attribute int16u clusterRevision = 65533;
request struct IdentifyRequest {
INT16U identifyTime = 0;
@@ -316,8 +316,8 @@
}
server cluster LocalizationConfiguration = 43 {
- attribute(writable) char_string activeLocale = 1;
- attribute(readonly) CHAR_STRING supportedLocales[] = 2;
+ attribute char_string activeLocale = 1;
+ readonly attribute CHAR_STRING supportedLocales[] = 2;
}
server cluster NetworkCommissioning = 49 {
@@ -370,16 +370,16 @@
INT8U lqi = 8;
}
- attribute(readonly) int8u maxNetworks = 0;
- attribute(readonly) NetworkInfo networks[] = 1;
- attribute(readonly) int8u scanMaxTimeSeconds = 2;
- attribute(readonly) int8u connectMaxTimeSeconds = 3;
- attribute(writable) boolean interfaceEnabled = 4;
- attribute(readonly) NetworkCommissioningStatus lastNetworkingStatus = 5;
- attribute(readonly) octet_string lastNetworkID = 6;
- attribute(readonly) int32u lastConnectErrorValue = 7;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 lastNetworkID = 6;
+ readonly attribute int32u lastConnectErrorValue = 7;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
request struct AddOrUpdateThreadNetworkRequest {
OCTET_STRING operationalDataset = 0;
@@ -462,12 +462,12 @@
CHAR_STRING label = 6;
}
- attribute(readonly) FabricDescriptor fabricsList[] = 1;
- attribute(readonly) int8u supportedFabrics = 2;
- attribute(readonly) int8u commissionedFabrics = 3;
- attribute(readonly) OCTET_STRING trustedRootCertificates[] = 4;
- attribute(readonly) fabric_idx currentFabricIndex = 5;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 attribute int16u clusterRevision = 65533;
request struct AddNOCRequest {
OCTET_STRING NOCValue = 0;
@@ -542,17 +542,17 @@
}
server cluster PowerSource = 47 {
- attribute(readonly) enum8 status = 0;
- attribute(readonly) int8u order = 1;
- attribute(readonly) char_string description = 2;
- attribute(readonly) int32u batteryVoltage = 11;
- attribute(readonly) int8u batteryPercentRemaining = 12;
- attribute(readonly) int32u batteryTimeRemaining = 13;
- attribute(readonly) enum8 batteryChargeLevel = 14;
- attribute(readonly) ENUM8 activeBatteryFaults[] = 18;
- attribute(readonly) enum8 batteryChargeState = 26;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute enum8 status = 0;
+ readonly attribute int8u order = 1;
+ readonly attribute char_string description = 2;
+ readonly attribute int32u batteryVoltage = 11;
+ readonly attribute int8u batteryPercentRemaining = 12;
+ readonly attribute int32u batteryTimeRemaining = 13;
+ readonly attribute enum8 batteryChargeLevel = 14;
+ readonly attribute ENUM8 activeBatteryFaults[] = 18;
+ readonly attribute enum8 batteryChargeState = 26;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster SoftwareDiagnostics = 52 {
@@ -568,12 +568,12 @@
SoftwareFault softwareFault = 0;
}
- attribute(readonly) ThreadMetrics threadMetrics[] = 0;
- attribute(readonly) int64u currentHeapFree = 1;
- attribute(readonly) int64u currentHeapUsed = 2;
- attribute(readonly) int64u currentHeapHighWatermark = 3;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute ThreadMetrics threadMetrics[] = 0;
+ readonly attribute int64u currentHeapFree = 1;
+ readonly attribute int64u currentHeapUsed = 2;
+ readonly attribute int64u currentHeapHighWatermark = 3;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster ThreadNetworkDiagnostics = 53 {
@@ -653,76 +653,76 @@
ThreadConnectionStatus connectionStatus = 0;
}
- attribute(readonly) int16u channel = 0;
- attribute(readonly) enum8 routingRole = 1;
- attribute(readonly) octet_string networkName = 2;
- attribute(readonly) int16u panId = 3;
- attribute(readonly) int64u extendedPanId = 4;
- attribute(readonly) octet_string meshLocalPrefix = 5;
- attribute(readonly) int64u overrunCount = 6;
- attribute(readonly) NeighborTable neighborTableList[] = 7;
- attribute(readonly) RouteTable routeTableList[] = 8;
- attribute(readonly) int32u partitionId = 9;
- attribute(readonly) int8u weighting = 10;
- attribute(readonly) int8u dataVersion = 11;
- attribute(readonly) int8u stableDataVersion = 12;
- attribute(readonly) int8u leaderRouterId = 13;
- attribute(readonly) int16u detachedRoleCount = 14;
- attribute(readonly) int16u childRoleCount = 15;
- attribute(readonly) int16u routerRoleCount = 16;
- attribute(readonly) int16u leaderRoleCount = 17;
- attribute(readonly) int16u attachAttemptCount = 18;
- attribute(readonly) int16u partitionIdChangeCount = 19;
- attribute(readonly) int16u betterPartitionAttachAttemptCount = 20;
- attribute(readonly) int16u parentChangeCount = 21;
- attribute(readonly) int32u txTotalCount = 22;
- attribute(readonly) int32u txUnicastCount = 23;
- attribute(readonly) int32u txBroadcastCount = 24;
- attribute(readonly) int32u txAckRequestedCount = 25;
- attribute(readonly) int32u txAckedCount = 26;
- attribute(readonly) int32u txNoAckRequestedCount = 27;
- attribute(readonly) int32u txDataCount = 28;
- attribute(readonly) int32u txDataPollCount = 29;
- attribute(readonly) int32u txBeaconCount = 30;
- attribute(readonly) int32u txBeaconRequestCount = 31;
- attribute(readonly) int32u txOtherCount = 32;
- attribute(readonly) int32u txRetryCount = 33;
- attribute(readonly) int32u txDirectMaxRetryExpiryCount = 34;
- attribute(readonly) int32u txIndirectMaxRetryExpiryCount = 35;
- attribute(readonly) int32u txErrCcaCount = 36;
- attribute(readonly) int32u txErrAbortCount = 37;
- attribute(readonly) int32u txErrBusyChannelCount = 38;
- attribute(readonly) int32u rxTotalCount = 39;
- attribute(readonly) int32u rxUnicastCount = 40;
- attribute(readonly) int32u rxBroadcastCount = 41;
- attribute(readonly) int32u rxDataCount = 42;
- attribute(readonly) int32u rxDataPollCount = 43;
- attribute(readonly) int32u rxBeaconCount = 44;
- attribute(readonly) int32u rxBeaconRequestCount = 45;
- attribute(readonly) int32u rxOtherCount = 46;
- attribute(readonly) int32u rxAddressFilteredCount = 47;
- attribute(readonly) int32u rxDestAddrFilteredCount = 48;
- attribute(readonly) int32u rxDuplicatedCount = 49;
- attribute(readonly) int32u rxErrNoFrameCount = 50;
- attribute(readonly) int32u rxErrUnknownNeighborCount = 51;
- attribute(readonly) int32u rxErrInvalidSrcAddrCount = 52;
- attribute(readonly) int32u rxErrSecCount = 53;
- attribute(readonly) int32u rxErrFcsCount = 54;
- attribute(readonly) int32u rxErrOtherCount = 55;
- attribute(readonly) int64u activeTimestamp = 56;
- attribute(readonly) int64u pendingTimestamp = 57;
- attribute(readonly) int32u delay = 58;
- attribute(readonly) SecurityPolicy securityPolicy[] = 59;
- attribute(readonly) octet_string channelMask = 60;
- attribute(readonly) OperationalDatasetComponents operationalDatasetComponents[] = 61;
- attribute(readonly) NetworkFault activeNetworkFaultsList[] = 62;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16u channel = 0;
+ readonly attribute enum8 routingRole = 1;
+ readonly attribute octet_string networkName = 2;
+ readonly attribute int16u panId = 3;
+ readonly attribute int64u extendedPanId = 4;
+ readonly attribute octet_string 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 channelMask = 60;
+ readonly attribute OperationalDatasetComponents operationalDatasetComponents[] = 61;
+ readonly attribute NetworkFault activeNetworkFaultsList[] = 62;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster UserLabel = 65 {
- attribute(writable) LabelStruct labelList[] = 0;
- attribute(readonly) int16u clusterRevision = 65533;
+ attribute LabelStruct labelList[] = 0;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster WiFiNetworkDiagnostics = 54 {
@@ -769,44 +769,44 @@
WiFiConnectionStatus connectionStatus = 0;
}
- attribute(readonly) octet_string bssid = 0;
- attribute(readonly) enum8 securityType = 1;
- attribute(readonly) enum8 wiFiVersion = 2;
- attribute(readonly) int16u channelNumber = 3;
- attribute(readonly) int8s rssi = 4;
- attribute(readonly) int32u beaconLostCount = 5;
- attribute(readonly) int32u beaconRxCount = 6;
- attribute(readonly) int32u packetMulticastRxCount = 7;
- attribute(readonly) int32u packetMulticastTxCount = 8;
- attribute(readonly) int32u packetUnicastRxCount = 9;
- attribute(readonly) int32u packetUnicastTxCount = 10;
- attribute(readonly) int64u currentMaxRate = 11;
- attribute(readonly) int64u overrunCount = 12;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute octet_string 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 attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
}
server cluster WindowCovering = 258 {
- attribute(readonly) enum8 type = 0;
- attribute(readonly) int16u currentPositionLift = 3;
- attribute(readonly) int16u currentPositionTilt = 4;
- attribute(readonly) bitmap8 configStatus = 7;
- attribute(readonly) Percent currentPositionLiftPercentage = 8;
- attribute(readonly) Percent currentPositionTiltPercentage = 9;
- attribute(readonly) bitmap8 operationalStatus = 10;
- attribute(readonly) Percent100ths targetPositionLiftPercent100ths = 11;
- attribute(readonly) Percent100ths targetPositionTiltPercent100ths = 12;
- attribute(readonly) enum8 endProductType = 13;
- attribute(readonly) Percent100ths currentPositionLiftPercent100ths = 14;
- attribute(readonly) Percent100ths currentPositionTiltPercent100ths = 15;
- attribute(readonly) int16u installedOpenLimitLift = 16;
- attribute(readonly) int16u installedClosedLimitLift = 17;
- attribute(readonly) int16u installedOpenLimitTilt = 18;
- attribute(readonly) int16u installedClosedLimitTilt = 19;
- attribute(writable) bitmap8 mode = 23;
- attribute(readonly) bitmap16 safetyStatus = 26;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute enum8 type = 0;
+ readonly attribute int16u currentPositionLift = 3;
+ readonly attribute int16u currentPositionTilt = 4;
+ readonly attribute bitmap8 configStatus = 7;
+ readonly attribute Percent currentPositionLiftPercentage = 8;
+ readonly attribute Percent currentPositionTiltPercentage = 9;
+ readonly attribute bitmap8 operationalStatus = 10;
+ readonly attribute Percent100ths targetPositionLiftPercent100ths = 11;
+ readonly attribute Percent100ths targetPositionTiltPercent100ths = 12;
+ readonly attribute enum8 endProductType = 13;
+ readonly attribute Percent100ths currentPositionLiftPercent100ths = 14;
+ readonly attribute 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 attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
request struct GoToLiftPercentageRequest {
Percent liftPercentageValue = 0;
diff --git a/src/app/zap-templates/templates/app/MatterIDL.zapt b/src/app/zap-templates/templates/app/MatterIDL.zapt
index a20411c..e1f01ae 100644
--- a/src/app/zap-templates/templates/app/MatterIDL.zapt
+++ b/src/app/zap-templates/templates/app/MatterIDL.zapt
@@ -31,16 +31,14 @@
{{/zcl_events}}
{{#chip_server_cluster_attributes}}
- attribute(
- {{~#if isWritableAttribute~}}
- writable
- {{~else~}}
- readonly
- {{~/if~}}
- {{~#unless isReportableAttribute~}}
- , nosubscribe
- {{~/unless~}}
- ) {{type}} {{asLowerCamelCase name~}}
+ {{! ensure indent }}{{#unless isWritableAttribute~}}
+ readonly {{!marker to place a space even with whitespace removal~}}
+ {{~/unless~}}
+ {{~!TODO: write only attributes should also be supported~}}
+ {{~#unless isReportableAttribute~}}
+ nosubscribe {{!marker to place a space even with whitespace removal~}}
+ {{~/unless~}}
+ {{~!Removes spaces~}} attribute {{type}} {{asLowerCamelCase name~}}
{{~#if isList~}}
[]
{{~/if}} = {{code}};
diff --git a/src/controller/data_model/controller-clusters.matter b/src/controller/data_model/controller-clusters.matter
index f37ee21..2175f41 100644
--- a/src/controller/data_model/controller-clusters.matter
+++ b/src/controller/data_model/controller-clusters.matter
@@ -62,15 +62,15 @@
ExtensionEntry latestValue = 4;
}
- attribute(writable) AccessControlEntry acl[] = 0;
- attribute(writable) ExtensionEntry extension[] = 1;
- attribute(readonly) attrib_id attributeList[] = 65531;
- attribute(readonly) int16u clusterRevision = 65533;
+ attribute AccessControlEntry acl[] = 0;
+ attribute ExtensionEntry extension[] = 1;
+ readonly attribute attrib_id attributeList[] = 65531;
+ readonly attribute int16u clusterRevision = 65533;
}
client cluster AccountLogin = 1294 {
- attribute(readonly) attrib_id attributeList[] = 65531;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute attrib_id attributeList[] = 65531;
+ readonly attribute int16u clusterRevision = 65533;
request struct GetSetupPINRequestRequest {
CHAR_STRING tempAccountIdentifier = 0;
@@ -103,11 +103,11 @@
kWindowNotOpen = 3;
}
- attribute(readonly) int8u windowStatus = 0;
- attribute(readonly) fabric_idx adminFabricIndex = 1;
- attribute(readonly) int16u adminVendorId = 2;
- attribute(readonly) attrib_id attributeList[] = 65531;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int8u windowStatus = 0;
+ readonly attribute fabric_idx adminFabricIndex = 1;
+ readonly attribute int16u adminVendorId = 2;
+ readonly attribute attrib_id attributeList[] = 65531;
+ readonly attribute int16u clusterRevision = 65533;
request struct OpenBasicCommissioningWindowRequest {
INT16U commissioningTimeout = 0;
@@ -140,16 +140,16 @@
CHAR_STRING applicationId = 2;
}
- attribute(readonly) char_string vendorName = 0;
- attribute(readonly) int16u vendorId = 1;
- attribute(readonly) char_string applicationName = 2;
- attribute(readonly) int16u productId = 3;
- attribute(writable) ApplicationBasicApplication applicationApp = 4;
- attribute(readonly) ApplicationStatusEnum applicationStatus = 5;
- attribute(readonly) char_string applicationVersion = 6;
- attribute(readonly) vendor_id allowedVendorList[] = 7;
- attribute(readonly) attrib_id attributeList[] = 65531;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute char_string vendorName = 0;
+ readonly attribute int16u vendorId = 1;
+ readonly attribute char_string applicationName = 2;
+ readonly attribute int16u productId = 3;
+ attribute ApplicationBasicApplication applicationApp = 4;
+ readonly attribute ApplicationStatusEnum applicationStatus = 5;
+ readonly attribute char_string applicationVersion = 6;
+ readonly attribute vendor_id allowedVendorList[] = 7;
+ readonly attribute attrib_id attributeList[] = 65531;
+ readonly attribute int16u clusterRevision = 65533;
}
client cluster ApplicationLauncher = 1292 {
@@ -164,9 +164,9 @@
CHAR_STRING applicationId = 2;
}
- attribute(readonly) INT16U applicationLauncherList[] = 0;
- attribute(readonly) attrib_id attributeList[] = 65531;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute INT16U applicationLauncherList[] = 0;
+ readonly attribute attrib_id attributeList[] = 65531;
+ readonly attribute int16u clusterRevision = 65533;
request struct HideAppRequestRequest {
ApplicationLauncherApplication application = 0;
@@ -207,10 +207,10 @@
CHAR_STRING name = 3;
}
- attribute(readonly) OutputInfo audioOutputList[] = 0;
- attribute(readonly) int8u currentAudioOutput = 1;
- attribute(readonly) attrib_id attributeList[] = 65531;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute OutputInfo audioOutputList[] = 0;
+ readonly attribute int8u currentAudioOutput = 1;
+ readonly attribute attrib_id attributeList[] = 65531;
+ readonly attribute int16u clusterRevision = 65533;
request struct RenameOutputRequestRequest {
INT8U index = 0;
@@ -226,12 +226,12 @@
}
client cluster BarrierControl = 259 {
- attribute(readonly) enum8 barrierMovingState = 1;
- attribute(readonly) bitmap16 barrierSafetyStatus = 2;
- attribute(readonly) bitmap8 barrierCapabilities = 3;
- attribute(readonly) int8u barrierPosition = 10;
- attribute(readonly) attrib_id attributeList[] = 65531;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute enum8 barrierMovingState = 1;
+ readonly attribute bitmap16 barrierSafetyStatus = 2;
+ readonly attribute bitmap8 barrierCapabilities = 3;
+ readonly attribute int8u barrierPosition = 10;
+ readonly attribute attrib_id attributeList[] = 65531;
+ readonly attribute int16u clusterRevision = 65533;
request struct BarrierControlGoToPercentRequest {
INT8U percentOpen = 0;
@@ -256,42 +256,42 @@
boolean reachableNewValue = 0;
}
- attribute(readonly) int16u interactionModelVersion = 0;
- attribute(readonly) char_string vendorName = 1;
- attribute(readonly) vendor_id vendorID = 2;
- attribute(readonly) char_string productName = 3;
- attribute(readonly) int16u productID = 4;
- attribute(writable) char_string nodeLabel = 5;
- attribute(writable) char_string location = 6;
- attribute(readonly) int16u hardwareVersion = 7;
- attribute(readonly) char_string hardwareVersionString = 8;
- attribute(readonly) int32u softwareVersion = 9;
- attribute(readonly) char_string softwareVersionString = 10;
- attribute(readonly) char_string manufacturingDate = 11;
- attribute(readonly) char_string partNumber = 12;
- attribute(readonly) long_char_string productURL = 13;
- attribute(readonly) char_string productLabel = 14;
- attribute(readonly) char_string serialNumber = 15;
- attribute(writable) boolean localConfigDisabled = 16;
- attribute(readonly) boolean reachable = 17;
- attribute(readonly) char_string uniqueID = 18;
- attribute(readonly) attrib_id attributeList[] = 65531;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16u interactionModelVersion = 0;
+ readonly attribute char_string vendorName = 1;
+ readonly attribute vendor_id vendorID = 2;
+ readonly attribute char_string productName = 3;
+ readonly attribute int16u productID = 4;
+ attribute char_string nodeLabel = 5;
+ attribute char_string location = 6;
+ readonly attribute int16u hardwareVersion = 7;
+ readonly attribute char_string hardwareVersionString = 8;
+ readonly attribute int32u softwareVersion = 9;
+ readonly attribute char_string softwareVersionString = 10;
+ readonly attribute char_string manufacturingDate = 11;
+ readonly attribute char_string partNumber = 12;
+ readonly attribute long_char_string productURL = 13;
+ readonly attribute char_string productLabel = 14;
+ readonly attribute char_string serialNumber = 15;
+ attribute boolean localConfigDisabled = 16;
+ readonly attribute boolean reachable = 17;
+ readonly attribute char_string uniqueID = 18;
+ readonly attribute attrib_id attributeList[] = 65531;
+ readonly attribute int16u clusterRevision = 65533;
command MfgSpecificPing(): DefaultSuccess = 0;
}
client cluster BinaryInputBasic = 15 {
- attribute(writable) boolean outOfService = 81;
- attribute(writable) boolean presentValue = 85;
- attribute(readonly) bitmap8 statusFlags = 111;
- attribute(readonly) attrib_id attributeList[] = 65531;
- attribute(readonly) int16u clusterRevision = 65533;
+ attribute boolean outOfService = 81;
+ attribute boolean presentValue = 85;
+ readonly attribute bitmap8 statusFlags = 111;
+ readonly attribute attrib_id attributeList[] = 65531;
+ readonly attribute int16u clusterRevision = 65533;
}
client cluster Binding = 30 {
- attribute(readonly) attrib_id attributeList[] = 65531;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute attrib_id attributeList[] = 65531;
+ readonly attribute int16u clusterRevision = 65533;
request struct BindRequest {
NODE_ID nodeId = 0;
@@ -316,9 +316,9 @@
boolean stateValue = 0;
}
- attribute(readonly) boolean stateValue = 0;
- attribute(readonly) attrib_id attributeList[] = 65531;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute boolean stateValue = 0;
+ readonly attribute attrib_id attributeList[] = 65531;
+ readonly attribute int16u clusterRevision = 65533;
}
client cluster BridgedActions = 37 {
@@ -379,11 +379,11 @@
ActionErrorEnum error = 3;
}
- attribute(readonly) ActionStruct actionList[] = 0;
- attribute(readonly) EndpointListStruct endpointList[] = 1;
- attribute(readonly) long_char_string setupUrl = 2;
- attribute(readonly) attrib_id attributeList[] = 65531;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute ActionStruct actionList[] = 0;
+ readonly attribute EndpointListStruct endpointList[] = 1;
+ readonly attribute long_char_string setupUrl = 2;
+ readonly attribute attrib_id attributeList[] = 65531;
+ readonly attribute int16u clusterRevision = 65533;
request struct DisableActionRequest {
INT16U actionID = 0;
@@ -465,8 +465,8 @@
}
client cluster BridgedDeviceBasic = 57 {
- attribute(readonly) attrib_id attributeList[] = 65531;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute attrib_id attributeList[] = 65531;
+ readonly attribute int16u clusterRevision = 65533;
}
client cluster Channel = 1284 {
@@ -487,9 +487,9 @@
CHAR_STRING affiliateCallSign = 5;
}
- attribute(readonly) ChannelInfo channelList[] = 0;
- attribute(readonly) attrib_id attributeList[] = 65531;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute ChannelInfo channelList[] = 0;
+ readonly attribute attrib_id attributeList[] = 65531;
+ readonly attribute int16u clusterRevision = 65533;
request struct ChangeChannelByNumberRequestRequest {
INT16U majorNumber = 0;
@@ -561,60 +561,60 @@
kDown = 3;
}
- attribute(readonly) int8u currentHue = 0;
- attribute(readonly) int8u currentSaturation = 1;
- attribute(readonly) int16u remainingTime = 2;
- attribute(readonly) int16u currentX = 3;
- attribute(readonly) int16u currentY = 4;
- attribute(readonly) enum8 driftCompensation = 5;
- attribute(readonly) char_string compensationText = 6;
- attribute(readonly) int16u colorTemperature = 7;
- attribute(readonly) enum8 colorMode = 8;
- attribute(writable) bitmap8 colorControlOptions = 15;
- attribute(readonly) int8u numberOfPrimaries = 16;
- attribute(readonly) int16u primary1X = 17;
- attribute(readonly) int16u primary1Y = 18;
- attribute(readonly) int8u primary1Intensity = 19;
- attribute(readonly) int16u primary2X = 21;
- attribute(readonly) int16u primary2Y = 22;
- attribute(readonly) int8u primary2Intensity = 23;
- attribute(readonly) int16u primary3X = 25;
- attribute(readonly) int16u primary3Y = 26;
- attribute(readonly) int8u primary3Intensity = 27;
- attribute(readonly) int16u primary4X = 32;
- attribute(readonly) int16u primary4Y = 33;
- attribute(readonly) int8u primary4Intensity = 34;
- attribute(readonly) int16u primary5X = 36;
- attribute(readonly) int16u primary5Y = 37;
- attribute(readonly) int8u primary5Intensity = 38;
- attribute(readonly) int16u primary6X = 40;
- attribute(readonly) int16u primary6Y = 41;
- attribute(readonly) int8u primary6Intensity = 42;
- attribute(writable) int16u whitePointX = 48;
- attribute(writable) int16u whitePointY = 49;
- attribute(writable) int16u colorPointRX = 50;
- attribute(writable) int16u colorPointRY = 51;
- attribute(writable) int8u colorPointRIntensity = 52;
- attribute(writable) int16u colorPointGX = 54;
- attribute(writable) int16u colorPointGY = 55;
- attribute(writable) int8u colorPointGIntensity = 56;
- attribute(writable) int16u colorPointBX = 58;
- attribute(writable) int16u colorPointBY = 59;
- attribute(writable) int8u colorPointBIntensity = 60;
- attribute(readonly) int16u enhancedCurrentHue = 16384;
- attribute(readonly) enum8 enhancedColorMode = 16385;
- attribute(readonly) int8u colorLoopActive = 16386;
- attribute(readonly) int8u colorLoopDirection = 16387;
- attribute(readonly) int16u colorLoopTime = 16388;
- attribute(readonly) int16u colorLoopStartEnhancedHue = 16389;
- attribute(readonly) int16u colorLoopStoredEnhancedHue = 16390;
- attribute(readonly) bitmap16 colorCapabilities = 16394;
- attribute(readonly) int16u colorTempPhysicalMin = 16395;
- attribute(readonly) int16u colorTempPhysicalMax = 16396;
- attribute(readonly) int16u coupleColorTempToLevelMinMireds = 16397;
- attribute(writable) int16u startUpColorTemperatureMireds = 16400;
- attribute(readonly) attrib_id attributeList[] = 65531;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 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 int16u colorLoopStartEnhancedHue = 16389;
+ readonly attribute int16u colorLoopStoredEnhancedHue = 16390;
+ 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 attribute attrib_id attributeList[] = 65531;
+ readonly attribute int16u clusterRevision = 65533;
request struct ColorLoopSetRequest {
ColorLoopUpdateFlags updateFlags = 0;
@@ -849,10 +849,10 @@
MetricTypeEnum metric = 3;
}
- attribute(readonly) CHAR_STRING acceptHeaderList[] = 0;
- attribute(writable) bitmap32 supportedStreamingProtocols = 1;
- attribute(readonly) attrib_id attributeList[] = 65531;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute CHAR_STRING acceptHeaderList[] = 0;
+ attribute bitmap32 supportedStreamingProtocols = 1;
+ readonly attribute attrib_id attributeList[] = 65531;
+ readonly attribute int16u clusterRevision = 65533;
request struct LaunchContentRequestRequest {
BOOLEAN autoPlay = 0;
@@ -881,12 +881,12 @@
INT16U revision = 2;
}
- attribute(readonly) DeviceType deviceList[] = 0;
- attribute(readonly) CLUSTER_ID serverList[] = 1;
- attribute(readonly) CLUSTER_ID clientList[] = 2;
- attribute(readonly) ENDPOINT_NO partsList[] = 3;
- attribute(readonly) attrib_id attributeList[] = 65531;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute DeviceType deviceList[] = 0;
+ readonly attribute CLUSTER_ID serverList[] = 1;
+ readonly attribute CLUSTER_ID clientList[] = 2;
+ readonly attribute ENDPOINT_NO partsList[] = 3;
+ readonly attribute attrib_id attributeList[] = 65531;
+ readonly attribute int16u clusterRevision = 65533;
}
client cluster DiagnosticLogs = 50 {
@@ -909,7 +909,7 @@
kBdx = 1;
}
- attribute(readonly) attrib_id attributeList[] = 65531;
+ readonly attribute attrib_id attributeList[] = 65531;
request struct RetrieveLogsRequestRequest {
LogsIntent intent = 0;
@@ -1163,24 +1163,24 @@
nullable INT16U dataIndex = 6;
}
- attribute(readonly) DlLockState lockState = 0;
- attribute(readonly) DlLockType lockType = 1;
- attribute(readonly) boolean actuatorEnabled = 2;
- attribute(readonly) DlDoorState doorState = 3;
- attribute(readonly) int16u numberOfTotalUsersSupported = 17;
- attribute(readonly) int16u numberOfPINUsersSupported = 18;
- attribute(readonly) int8u maxPINCodeLength = 23;
- attribute(readonly) int8u minPINCodeLength = 24;
- attribute(writable) char_string language = 33;
- attribute(writable) int32u autoRelockTime = 35;
- attribute(writable) int8u soundVolume = 36;
- attribute(writable) DlOperatingMode operatingMode = 37;
- attribute(readonly) bitmap16 supportedOperatingModes = 38;
- attribute(writable) boolean enableOneTouchLocking = 41;
- attribute(writable) boolean enablePrivacyModeButton = 43;
- attribute(writable) int8u wrongCodeEntryLimit = 48;
- attribute(readonly) attrib_id attributeList[] = 65531;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute DlLockState lockState = 0;
+ readonly attribute DlLockType lockType = 1;
+ readonly attribute boolean actuatorEnabled = 2;
+ readonly attribute DlDoorState doorState = 3;
+ readonly attribute int16u numberOfTotalUsersSupported = 17;
+ readonly attribute int16u numberOfPINUsersSupported = 18;
+ readonly attribute int8u maxPINCodeLength = 23;
+ readonly attribute int8u minPINCodeLength = 24;
+ attribute char_string language = 33;
+ attribute int32u autoRelockTime = 35;
+ attribute int8u soundVolume = 36;
+ attribute DlOperatingMode operatingMode = 37;
+ readonly attribute bitmap16 supportedOperatingModes = 38;
+ attribute boolean enableOneTouchLocking = 41;
+ attribute boolean enablePrivacyModeButton = 43;
+ attribute int8u wrongCodeEntryLimit = 48;
+ readonly attribute attrib_id attributeList[] = 65531;
+ readonly attribute int16u clusterRevision = 65533;
request struct ClearCredentialRequest {
DlCredential credential = 0;
@@ -1260,19 +1260,19 @@
}
client cluster ElectricalMeasurement = 2820 {
- attribute(readonly) bitmap32 measurementType = 0;
- attribute(readonly) int32s totalActivePower = 772;
- attribute(readonly) int16u rmsVoltage = 1285;
- attribute(readonly) int16u rmsVoltageMin = 1286;
- attribute(readonly) int16u rmsVoltageMax = 1287;
- attribute(readonly) int16u rmsCurrent = 1288;
- attribute(readonly) int16u rmsCurrentMin = 1289;
- attribute(readonly) int16u rmsCurrentMax = 1290;
- attribute(readonly) int16s activePower = 1291;
- attribute(readonly) int16s activePowerMin = 1292;
- attribute(readonly) int16s activePowerMax = 1293;
- attribute(readonly) attrib_id attributeList[] = 65531;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute bitmap32 measurementType = 0;
+ readonly attribute int32s totalActivePower = 772;
+ readonly attribute int16u rmsVoltage = 1285;
+ readonly attribute int16u rmsVoltageMin = 1286;
+ readonly attribute int16u rmsVoltageMax = 1287;
+ readonly attribute int16u rmsCurrent = 1288;
+ readonly attribute int16u rmsCurrentMin = 1289;
+ readonly attribute int16u rmsCurrentMax = 1290;
+ readonly attribute int16s activePower = 1291;
+ readonly attribute int16s activePowerMin = 1292;
+ readonly attribute int16s activePowerMax = 1293;
+ readonly attribute attrib_id attributeList[] = 65531;
+ readonly attribute int16u clusterRevision = 65533;
}
client cluster EthernetNetworkDiagnostics = 55 {
@@ -1289,35 +1289,35 @@
k400g = 9;
}
- attribute(readonly) enum8 PHYRate = 0;
- attribute(readonly) boolean fullDuplex = 1;
- attribute(readonly) int64u packetRxCount = 2;
- attribute(readonly) int64u packetTxCount = 3;
- attribute(readonly) int64u txErrCount = 4;
- attribute(readonly) int64u collisionCount = 5;
- attribute(readonly) int64u overrunCount = 6;
- attribute(readonly) boolean carrierDetect = 7;
- attribute(readonly) int64u timeSinceReset = 8;
- attribute(readonly) attrib_id attributeList[] = 65531;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 attribute attrib_id attributeList[] = 65531;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
command ResetCounts(): DefaultSuccess = 0;
}
client cluster FixedLabel = 64 {
- attribute(readonly) LabelStruct labelList[] = 0;
- attribute(readonly) attrib_id attributeList[] = 65531;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute LabelStruct labelList[] = 0;
+ readonly attribute attrib_id attributeList[] = 65531;
+ readonly attribute int16u clusterRevision = 65533;
}
client cluster FlowMeasurement = 1028 {
- attribute(readonly) int16s measuredValue = 0;
- attribute(readonly) int16s minMeasuredValue = 1;
- attribute(readonly) int16s maxMeasuredValue = 2;
- attribute(readonly) int16u tolerance = 3;
- attribute(readonly) attrib_id attributeList[] = 65531;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16s measuredValue = 0;
+ readonly attribute int16s minMeasuredValue = 1;
+ readonly attribute int16s maxMeasuredValue = 2;
+ readonly attribute int16u tolerance = 3;
+ readonly attribute attrib_id attributeList[] = 65531;
+ readonly attribute int16u clusterRevision = 65533;
}
client cluster GeneralCommissioning = 48 {
@@ -1338,12 +1338,12 @@
INT32U failSafeExpiryLengthMs = 1;
}
- attribute(writable) int64u breadcrumb = 0;
- attribute(readonly) BasicCommissioningInfoType basicCommissioningInfoList[] = 1;
- attribute(readonly) enum8 regulatoryConfig = 2;
- attribute(readonly) enum8 locationCapability = 3;
- attribute(readonly) attrib_id attributeList[] = 65531;
- attribute(readonly) int16u clusterRevision = 65533;
+ attribute int64u breadcrumb = 0;
+ readonly attribute BasicCommissioningInfoType basicCommissioningInfoList[] = 1;
+ readonly attribute enum8 regulatoryConfig = 2;
+ readonly attribute enum8 locationCapability = 3;
+ readonly attribute attrib_id attributeList[] = 65531;
+ readonly attribute int16u clusterRevision = 65533;
request struct ArmFailSafeRequest {
INT16U expiryLengthSeconds = 0;
@@ -1456,16 +1456,16 @@
BootReasonType bootReason = 0;
}
- attribute(readonly) NetworkInterfaceType networkInterfaces[] = 0;
- attribute(readonly) int16u rebootCount = 1;
- attribute(readonly) int64u upTime = 2;
- attribute(readonly) int32u totalOperationalHours = 3;
- attribute(readonly) enum8 bootReasons = 4;
- attribute(readonly) ENUM8 activeHardwareFaults[] = 5;
- attribute(readonly) ENUM8 activeRadioFaults[] = 6;
- attribute(readonly) ENUM8 activeNetworkFaults[] = 7;
- attribute(readonly) attrib_id attributeList[] = 65531;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 attribute attrib_id attributeList[] = 65531;
+ readonly attribute int16u clusterRevision = 65533;
}
client cluster GroupKeyManagement = 63 {
@@ -1498,12 +1498,12 @@
INT64U epochStartTime2 = 7;
}
- attribute(readonly) GroupKey groupKeyMap[] = 0;
- attribute(readonly) GroupInfo groupTable[] = 1;
- attribute(readonly) int16u maxGroupsPerFabric = 2;
- attribute(readonly) int16u maxGroupKeysPerFabric = 3;
- attribute(readonly) attrib_id attributeList[] = 65531;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute GroupKey groupKeyMap[] = 0;
+ readonly attribute GroupInfo groupTable[] = 1;
+ readonly attribute int16u maxGroupsPerFabric = 2;
+ readonly attribute int16u maxGroupKeysPerFabric = 3;
+ readonly attribute attrib_id attributeList[] = 65531;
+ readonly attribute int16u clusterRevision = 65533;
request struct KeySetReadRequest {
INT16U groupKeySetID = 0;
@@ -1536,9 +1536,9 @@
}
client cluster Groups = 4 {
- attribute(readonly) bitmap8 nameSupport = 0;
- attribute(readonly) attrib_id attributeList[] = 65531;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute bitmap8 nameSupport = 0;
+ readonly attribute attrib_id attributeList[] = 65531;
+ readonly attribute int16u clusterRevision = 65533;
request struct AddGroupRequest {
INT16U groupId = 0;
@@ -1614,10 +1614,10 @@
kActuator = 5;
}
- attribute(writable) int16u identifyTime = 0;
- attribute(readonly) enum8 identifyType = 1;
- attribute(readonly) attrib_id attributeList[] = 65531;
- attribute(readonly) int16u clusterRevision = 65533;
+ attribute int16u identifyTime = 0;
+ readonly attribute enum8 identifyType = 1;
+ readonly attribute attrib_id attributeList[] = 65531;
+ readonly attribute int16u clusterRevision = 65533;
request struct IdentifyRequest {
INT16U identifyTime = 0;
@@ -1643,13 +1643,13 @@
kCmos = 1;
}
- attribute(readonly) int16u measuredValue = 0;
- attribute(readonly) int16u minMeasuredValue = 1;
- attribute(readonly) int16u maxMeasuredValue = 2;
- attribute(readonly) int16u tolerance = 3;
- attribute(readonly) enum8 lightSensorType = 4;
- attribute(readonly) attrib_id attributeList[] = 65531;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16u measuredValue = 0;
+ readonly attribute int16u minMeasuredValue = 1;
+ readonly attribute int16u maxMeasuredValue = 2;
+ readonly attribute int16u tolerance = 3;
+ readonly attribute enum8 lightSensorType = 4;
+ readonly attribute attrib_id attributeList[] = 65531;
+ readonly attribute int16u clusterRevision = 65533;
}
client cluster KeypadInput = 1289 {
@@ -1748,8 +1748,8 @@
kInvalidKeyInCurrentState = 2;
}
- attribute(readonly) attrib_id attributeList[] = 65531;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute attrib_id attributeList[] = 65531;
+ readonly attribute int16u clusterRevision = 65533;
request struct SendKeyRequestRequest {
CecKeyCode keyCode = 0;
@@ -1773,23 +1773,23 @@
kDown = 1;
}
- attribute(readonly) int8u currentLevel = 0;
- attribute(readonly) int16u remainingTime = 1;
- attribute(readonly) int8u minLevel = 2;
- attribute(readonly) int8u maxLevel = 3;
- attribute(readonly) int16u currentFrequency = 4;
- attribute(readonly) int16u minFrequency = 5;
- attribute(readonly) int16u maxFrequency = 6;
- attribute(writable) bitmap8 options = 15;
- attribute(writable) int16u onOffTransitionTime = 16;
- attribute(writable) int8u onLevel = 17;
- attribute(writable) int16u onTransitionTime = 18;
- attribute(writable) int16u offTransitionTime = 19;
- attribute(writable) int8u defaultMoveRate = 20;
- attribute(writable) int8u startUpCurrentLevel = 16384;
- attribute(readonly) attrib_id attributeList[] = 65531;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 int8u onLevel = 17;
+ attribute int16u onTransitionTime = 18;
+ attribute int16u offTransitionTime = 19;
+ attribute int8u defaultMoveRate = 20;
+ attribute int8u startUpCurrentLevel = 16384;
+ readonly attribute attrib_id attributeList[] = 65531;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
request struct MoveRequest {
MoveMode moveMode = 0;
@@ -1845,13 +1845,13 @@
}
client cluster LocalizationConfiguration = 43 {
- attribute(writable) char_string activeLocale = 1;
- attribute(readonly) CHAR_STRING supportedLocales[] = 2;
+ attribute char_string activeLocale = 1;
+ readonly attribute CHAR_STRING supportedLocales[] = 2;
}
client cluster LowPower = 1288 {
- attribute(readonly) attrib_id attributeList[] = 65531;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute attrib_id attributeList[] = 65531;
+ readonly attribute int16u clusterRevision = 65533;
command Sleep(): DefaultSuccess = 0;
}
@@ -1879,10 +1879,10 @@
CHAR_STRING description = 4;
}
- attribute(readonly) InputInfo mediaInputList[] = 0;
- attribute(readonly) int8u currentMediaInput = 1;
- attribute(readonly) attrib_id attributeList[] = 65531;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute InputInfo mediaInputList[] = 0;
+ readonly attribute int8u currentMediaInput = 1;
+ readonly attribute attrib_id attributeList[] = 65531;
+ readonly attribute int16u clusterRevision = 65533;
request struct RenameInputRequestRequest {
INT8U index = 0;
@@ -1916,14 +1916,14 @@
kSeekOutOfRange = 5;
}
- attribute(readonly) PlaybackStateEnum playbackState = 0;
- attribute(readonly) epoch_us startTime = 1;
- attribute(readonly) int64u duration = 2;
- attribute(readonly) single playbackSpeed = 4;
- attribute(readonly) int64u seekRangeEnd = 5;
- attribute(readonly) int64u seekRangeStart = 6;
- attribute(readonly) attrib_id attributeList[] = 65531;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute PlaybackStateEnum playbackState = 0;
+ readonly attribute epoch_us startTime = 1;
+ readonly attribute int64u duration = 2;
+ readonly attribute single playbackSpeed = 4;
+ readonly attribute int64u seekRangeEnd = 5;
+ readonly attribute int64u seekRangeStart = 6;
+ readonly attribute attrib_id attributeList[] = 65531;
+ readonly attribute int16u clusterRevision = 65533;
request struct SeekRequestRequest {
INT64U position = 0;
@@ -1961,13 +1961,13 @@
INT32U semanticTag = 3;
}
- attribute(readonly) int8u currentMode = 0;
- attribute(readonly) ModeOptionStruct supportedModes[] = 1;
- attribute(writable) int8u onMode = 2;
- attribute(readonly) int8u startUpMode = 3;
- attribute(readonly) char_string description = 4;
- attribute(readonly) attrib_id attributeList[] = 65531;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int8u currentMode = 0;
+ readonly attribute ModeOptionStruct supportedModes[] = 1;
+ attribute int8u onMode = 2;
+ readonly attribute int8u startUpMode = 3;
+ readonly attribute char_string description = 4;
+ readonly attribute attrib_id attributeList[] = 65531;
+ readonly attribute int16u clusterRevision = 65533;
request struct ChangeToModeRequest {
INT8U newMode = 0;
@@ -2026,16 +2026,16 @@
INT8U lqi = 8;
}
- attribute(readonly) int8u maxNetworks = 0;
- attribute(readonly) NetworkInfo networks[] = 1;
- attribute(readonly) int8u scanMaxTimeSeconds = 2;
- attribute(readonly) int8u connectMaxTimeSeconds = 3;
- attribute(writable) boolean interfaceEnabled = 4;
- attribute(readonly) NetworkCommissioningStatus lastNetworkingStatus = 5;
- attribute(readonly) octet_string lastNetworkID = 6;
- attribute(readonly) int32u lastConnectErrorValue = 7;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 lastNetworkID = 6;
+ readonly attribute int32u lastConnectErrorValue = 7;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
request struct AddOrUpdateThreadNetworkRequest {
OCTET_STRING operationalDataset = 0;
@@ -2116,8 +2116,8 @@
kDownloadProtocolNotSupported = 3;
}
- attribute(readonly) attrib_id attributeList[] = 65531;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute attrib_id attributeList[] = 65531;
+ readonly attribute int16u clusterRevision = 65533;
request struct ApplyUpdateRequestRequest {
OCTET_STRING updateToken = 0;
@@ -2213,12 +2213,12 @@
nullable INT64S platformCode = 3;
}
- attribute(writable) ProviderLocation defaultOtaProviders[] = 0;
- attribute(readonly) boolean updatePossible = 1;
- attribute(readonly) OTAUpdateStateEnum updateState = 2;
- attribute(readonly) int8u updateStateProgress = 3;
- attribute(readonly) attrib_id attributeList[] = 65531;
- attribute(readonly) int16u clusterRevision = 65533;
+ attribute ProviderLocation defaultOtaProviders[] = 0;
+ readonly attribute boolean updatePossible = 1;
+ readonly attribute OTAUpdateStateEnum updateState = 2;
+ readonly attribute int8u updateStateProgress = 3;
+ readonly attribute attrib_id attributeList[] = 65531;
+ readonly attribute int16u clusterRevision = 65533;
request struct AnnounceOtaProviderRequest {
node_id providerNodeId = 0;
@@ -2232,11 +2232,11 @@
}
client cluster OccupancySensing = 1030 {
- attribute(readonly) bitmap8 occupancy = 0;
- attribute(readonly) enum8 occupancySensorType = 1;
- attribute(readonly) bitmap8 occupancySensorTypeBitmap = 2;
- attribute(readonly) attrib_id attributeList[] = 65531;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute bitmap8 occupancy = 0;
+ readonly attribute enum8 occupancySensorType = 1;
+ readonly attribute bitmap8 occupancySensorTypeBitmap = 2;
+ readonly attribute attrib_id attributeList[] = 65531;
+ readonly attribute int16u clusterRevision = 65533;
}
client cluster OnOff = 6 {
@@ -2255,14 +2255,14 @@
kDyingLight = 1;
}
- attribute(readonly) boolean onOff = 0;
- attribute(readonly) boolean globalSceneControl = 16384;
- attribute(writable) int16u onTime = 16385;
- attribute(writable) int16u offWaitTime = 16386;
- attribute(writable) enum8 startUpOnOff = 16387;
- attribute(readonly) attrib_id attributeList[] = 65531;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute boolean onOff = 0;
+ readonly attribute boolean globalSceneControl = 16384;
+ attribute int16u onTime = 16385;
+ attribute int16u offWaitTime = 16386;
+ attribute enum8 startUpOnOff = 16387;
+ readonly attribute attrib_id attributeList[] = 65531;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
request struct OffWithEffectRequest {
OnOffEffectIdentifier effectId = 0;
@@ -2284,10 +2284,10 @@
}
client cluster OnOffSwitchConfiguration = 7 {
- attribute(readonly) enum8 switchType = 0;
- attribute(writable) enum8 switchActions = 16;
- attribute(readonly) attrib_id attributeList[] = 65531;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute enum8 switchType = 0;
+ attribute enum8 switchActions = 16;
+ readonly attribute attrib_id attributeList[] = 65531;
+ readonly attribute int16u clusterRevision = 65533;
}
client cluster OperationalCredentials = 62 {
@@ -2313,13 +2313,13 @@
CHAR_STRING label = 6;
}
- attribute(readonly) FabricDescriptor fabricsList[] = 1;
- attribute(readonly) int8u supportedFabrics = 2;
- attribute(readonly) int8u commissionedFabrics = 3;
- attribute(readonly) OCTET_STRING trustedRootCertificates[] = 4;
- attribute(readonly) fabric_idx currentFabricIndex = 5;
- attribute(readonly) attrib_id attributeList[] = 65531;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 attribute attrib_id attributeList[] = 65531;
+ readonly attribute int16u clusterRevision = 65533;
request struct AddNOCRequest {
OCTET_STRING NOCValue = 0;
@@ -2394,32 +2394,32 @@
}
client cluster PowerSource = 47 {
- attribute(readonly) enum8 status = 0;
- attribute(readonly) int8u order = 1;
- attribute(readonly) char_string description = 2;
- attribute(readonly) int32u batteryVoltage = 11;
- attribute(readonly) int8u batteryPercentRemaining = 12;
- attribute(readonly) int32u batteryTimeRemaining = 13;
- attribute(readonly) enum8 batteryChargeLevel = 14;
- attribute(readonly) ENUM8 activeBatteryFaults[] = 18;
- attribute(readonly) enum8 batteryChargeState = 26;
- attribute(readonly) attrib_id attributeList[] = 65531;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute enum8 status = 0;
+ readonly attribute int8u order = 1;
+ readonly attribute char_string description = 2;
+ readonly attribute int32u batteryVoltage = 11;
+ readonly attribute int8u batteryPercentRemaining = 12;
+ readonly attribute int32u batteryTimeRemaining = 13;
+ readonly attribute enum8 batteryChargeLevel = 14;
+ readonly attribute ENUM8 activeBatteryFaults[] = 18;
+ readonly attribute enum8 batteryChargeState = 26;
+ readonly attribute attrib_id attributeList[] = 65531;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
}
client cluster PowerSourceConfiguration = 46 {
- attribute(readonly) INT8U sources[] = 0;
- attribute(readonly) attrib_id attributeList[] = 65531;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute INT8U sources[] = 0;
+ readonly attribute attrib_id attributeList[] = 65531;
+ readonly attribute int16u clusterRevision = 65533;
}
client cluster PressureMeasurement = 1027 {
- attribute(readonly) int16s measuredValue = 0;
- attribute(readonly) int16s minMeasuredValue = 1;
- attribute(readonly) int16s maxMeasuredValue = 2;
- attribute(readonly) attrib_id attributeList[] = 65531;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16s measuredValue = 0;
+ readonly attribute int16s minMeasuredValue = 1;
+ readonly attribute int16s maxMeasuredValue = 2;
+ readonly attribute attrib_id attributeList[] = 65531;
+ readonly attribute int16u clusterRevision = 65533;
}
client cluster PumpConfigurationAndControl = 512 {
@@ -2490,42 +2490,42 @@
info event TurbineOperation = 16 {
}
- attribute(readonly) int16s maxPressure = 0;
- attribute(readonly) int16u maxSpeed = 1;
- attribute(readonly) int16u maxFlow = 2;
- attribute(readonly) int16s minConstPressure = 3;
- attribute(readonly) int16s maxConstPressure = 4;
- attribute(readonly) int16s minCompPressure = 5;
- attribute(readonly) int16s maxCompPressure = 6;
- attribute(readonly) int16u minConstSpeed = 7;
- attribute(readonly) int16u maxConstSpeed = 8;
- attribute(readonly) int16u minConstFlow = 9;
- attribute(readonly) int16u maxConstFlow = 10;
- attribute(readonly) int16s minConstTemp = 11;
- attribute(readonly) int16s maxConstTemp = 12;
- attribute(readonly) bitmap16 pumpStatus = 16;
- attribute(readonly) enum8 effectiveOperationMode = 17;
- attribute(readonly) enum8 effectiveControlMode = 18;
- attribute(readonly) int16s capacity = 19;
- attribute(readonly) int16u speed = 20;
- attribute(writable) int24u lifetimeRunningHours = 21;
- attribute(readonly) int24u power = 22;
- attribute(writable) int32u lifetimeEnergyConsumed = 23;
- attribute(writable) enum8 operationMode = 32;
- attribute(writable) enum8 controlMode = 33;
- attribute(readonly) bitmap16 alarmMask = 34;
- attribute(readonly) attrib_id attributeList[] = 65531;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16s maxPressure = 0;
+ readonly attribute int16u maxSpeed = 1;
+ readonly attribute int16u maxFlow = 2;
+ readonly attribute int16s minConstPressure = 3;
+ readonly attribute int16s maxConstPressure = 4;
+ readonly attribute int16s minCompPressure = 5;
+ readonly attribute int16s maxCompPressure = 6;
+ readonly attribute int16u minConstSpeed = 7;
+ readonly attribute int16u maxConstSpeed = 8;
+ readonly attribute int16u minConstFlow = 9;
+ readonly attribute int16u maxConstFlow = 10;
+ readonly attribute int16s minConstTemp = 11;
+ readonly attribute int16s maxConstTemp = 12;
+ readonly attribute bitmap16 pumpStatus = 16;
+ readonly attribute enum8 effectiveOperationMode = 17;
+ readonly attribute enum8 effectiveControlMode = 18;
+ readonly attribute int16s capacity = 19;
+ readonly attribute int16u speed = 20;
+ attribute int24u lifetimeRunningHours = 21;
+ readonly attribute int24u power = 22;
+ attribute int32u lifetimeEnergyConsumed = 23;
+ attribute enum8 operationMode = 32;
+ attribute enum8 controlMode = 33;
+ readonly attribute bitmap16 alarmMask = 34;
+ readonly attribute attrib_id attributeList[] = 65531;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
}
client cluster RelativeHumidityMeasurement = 1029 {
- attribute(readonly) int16u measuredValue = 0;
- attribute(readonly) int16u minMeasuredValue = 1;
- attribute(readonly) int16u maxMeasuredValue = 2;
- attribute(readonly) int16u tolerance = 3;
- attribute(readonly) attrib_id attributeList[] = 65531;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16u measuredValue = 0;
+ readonly attribute int16u minMeasuredValue = 1;
+ readonly attribute int16u maxMeasuredValue = 2;
+ readonly attribute int16u tolerance = 3;
+ readonly attribute attrib_id attributeList[] = 65531;
+ readonly attribute int16u clusterRevision = 65533;
}
client cluster Scenes = 5 {
@@ -2535,13 +2535,13 @@
INT8U value = 3;
}
- attribute(readonly) int8u sceneCount = 0;
- attribute(readonly) int8u currentScene = 1;
- attribute(readonly) int16u currentGroup = 2;
- attribute(readonly) boolean sceneValid = 3;
- attribute(readonly) bitmap8 nameSupport = 4;
- attribute(readonly) attrib_id attributeList[] = 65531;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 attribute attrib_id attributeList[] = 65531;
+ readonly attribute int16u clusterRevision = 65533;
request struct AddSceneRequest {
INT16U groupId = 0;
@@ -2642,13 +2642,13 @@
SoftwareFault softwareFault = 0;
}
- attribute(readonly) ThreadMetrics threadMetrics[] = 0;
- attribute(readonly) int64u currentHeapFree = 1;
- attribute(readonly) int64u currentHeapUsed = 2;
- attribute(readonly) int64u currentHeapHighWatermark = 3;
- attribute(readonly) attrib_id attributeList[] = 65531;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute ThreadMetrics threadMetrics[] = 0;
+ readonly attribute int64u currentHeapFree = 1;
+ readonly attribute int64u currentHeapUsed = 2;
+ readonly attribute int64u currentHeapHighWatermark = 3;
+ readonly attribute attrib_id attributeList[] = 65531;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
command ResetWatermarks(): DefaultSuccess = 0;
}
@@ -2684,12 +2684,12 @@
INT8U totalNumberOfPressesCounted = 1;
}
- attribute(readonly) int8u numberOfPositions = 0;
- attribute(readonly) int8u currentPosition = 1;
- attribute(readonly) int8u multiPressMax = 2;
- attribute(readonly) attrib_id attributeList[] = 65531;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int8u numberOfPositions = 0;
+ readonly attribute int8u currentPosition = 1;
+ readonly attribute int8u multiPressMax = 2;
+ readonly attribute attrib_id attributeList[] = 65531;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
}
client cluster TargetNavigator = 1285 {
@@ -2704,10 +2704,10 @@
CHAR_STRING name = 2;
}
- attribute(readonly) TargetInfo targetNavigatorList[] = 0;
- attribute(readonly) int8u currentNavigatorTarget = 1;
- attribute(readonly) attrib_id attributeList[] = 65531;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute TargetInfo targetNavigatorList[] = 0;
+ readonly attribute int8u currentNavigatorTarget = 1;
+ readonly attribute attrib_id attributeList[] = 65531;
+ readonly attribute int16u clusterRevision = 65533;
request struct NavigateTargetRequestRequest {
INT8U target = 0;
@@ -2723,12 +2723,12 @@
}
client cluster TemperatureMeasurement = 1026 {
- attribute(readonly) int16s measuredValue = 0;
- attribute(readonly) int16s minMeasuredValue = 1;
- attribute(readonly) int16s maxMeasuredValue = 2;
- attribute(readonly) int16u tolerance = 3;
- attribute(readonly) attrib_id attributeList[] = 65531;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16s measuredValue = 0;
+ readonly attribute int16s minMeasuredValue = 1;
+ readonly attribute int16s maxMeasuredValue = 2;
+ readonly attribute int16u tolerance = 3;
+ readonly attribute attrib_id attributeList[] = 65531;
+ readonly attribute int16u clusterRevision = 65533;
}
client cluster TestCluster = 1295 {
@@ -2795,86 +2795,86 @@
SimpleEnum arg6[] = 6;
}
- attribute(writable) boolean boolean = 0;
- attribute(writable) bitmap8 bitmap8 = 1;
- attribute(writable) bitmap16 bitmap16 = 2;
- attribute(writable) bitmap32 bitmap32 = 3;
- attribute(writable) bitmap64 bitmap64 = 4;
- attribute(writable) int8u int8u = 5;
- attribute(writable) int16u int16u = 6;
- attribute(writable) int24u int24u = 7;
- attribute(writable) int32u int32u = 8;
- attribute(writable) int40u int40u = 9;
- attribute(writable) int48u int48u = 10;
- attribute(writable) int56u int56u = 11;
- attribute(writable) int64u int64u = 12;
- attribute(writable) int8s int8s = 13;
- attribute(writable) int16s int16s = 14;
- attribute(writable) int24s int24s = 15;
- attribute(writable) int32s int32s = 16;
- attribute(writable) int40s int40s = 17;
- attribute(writable) int48s int48s = 18;
- attribute(writable) int56s int56s = 19;
- attribute(writable) int64s int64s = 20;
- attribute(writable) enum8 enum8 = 21;
- attribute(writable) enum16 enum16 = 22;
- attribute(writable) single floatSingle = 23;
- attribute(writable) double floatDouble = 24;
- attribute(writable) octet_string octetString = 25;
- attribute(writable) INT8U listInt8u[] = 26;
- attribute(writable) OCTET_STRING listOctetString[] = 27;
- attribute(writable) TestListStructOctet listStructOctetString[] = 28;
- attribute(writable) long_octet_string longOctetString = 29;
- attribute(writable) char_string charString = 30;
- attribute(writable) long_char_string longCharString = 31;
- attribute(writable) epoch_us epochUs = 32;
- attribute(writable) epoch_s epochS = 33;
- attribute(writable) vendor_id vendorId = 34;
- attribute(writable) NullablesAndOptionalsStruct listNullablesAndOptionalsStruct[] = 35;
- attribute(writable) SimpleEnum enumAttr = 36;
- attribute(writable) SimpleStruct structAttr = 37;
- attribute(writable) int8u rangeRestrictedInt8u = 38;
- attribute(writable) int8s rangeRestrictedInt8s = 39;
- attribute(writable) int16u rangeRestrictedInt16u = 40;
- attribute(writable) int16s rangeRestrictedInt16s = 41;
- attribute(readonly) LONG_OCTET_STRING listLongOctetString[] = 42;
- attribute(writable) boolean timedWriteBoolean = 48;
- attribute(writable) boolean unsupported = 255;
- attribute(writable) boolean nullableBoolean = 32768;
- attribute(writable) bitmap8 nullableBitmap8 = 32769;
- attribute(writable) bitmap16 nullableBitmap16 = 32770;
- attribute(writable) bitmap32 nullableBitmap32 = 32771;
- attribute(writable) bitmap64 nullableBitmap64 = 32772;
- attribute(writable) int8u nullableInt8u = 32773;
- attribute(writable) int16u nullableInt16u = 32774;
- attribute(writable) int24u nullableInt24u = 32775;
- attribute(writable) int32u nullableInt32u = 32776;
- attribute(writable) int40u nullableInt40u = 32777;
- attribute(writable) int48u nullableInt48u = 32778;
- attribute(writable) int56u nullableInt56u = 32779;
- attribute(writable) int64u nullableInt64u = 32780;
- attribute(writable) int8s nullableInt8s = 32781;
- attribute(writable) int16s nullableInt16s = 32782;
- attribute(writable) int24s nullableInt24s = 32783;
- attribute(writable) int32s nullableInt32s = 32784;
- attribute(writable) int40s nullableInt40s = 32785;
- attribute(writable) int48s nullableInt48s = 32786;
- attribute(writable) int56s nullableInt56s = 32787;
- attribute(writable) int64s nullableInt64s = 32788;
- attribute(writable) enum8 nullableEnum8 = 32789;
- attribute(writable) enum16 nullableEnum16 = 32790;
- attribute(writable) single nullableFloatSingle = 32791;
- attribute(writable) double nullableFloatDouble = 32792;
- attribute(writable) octet_string nullableOctetString = 32793;
- attribute(writable) char_string nullableCharString = 32798;
- attribute(writable) SimpleEnum nullableEnumAttr = 32804;
- attribute(writable) SimpleStruct nullableStruct = 32805;
- attribute(writable) int8u nullableRangeRestrictedInt8u = 32806;
- attribute(writable) int8s nullableRangeRestrictedInt8s = 32807;
- attribute(writable) int16u nullableRangeRestrictedInt16u = 32808;
- attribute(writable) int16s nullableRangeRestrictedInt16s = 32809;
- attribute(readonly) attrib_id attributeList[] = 65531;
- attribute(readonly) int16u clusterRevision = 65533;
+ 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 int24u int24u = 7;
+ attribute int32u int32u = 8;
+ attribute int40u int40u = 9;
+ attribute int48u int48u = 10;
+ attribute int56u int56u = 11;
+ attribute int64u int64u = 12;
+ attribute int8s int8s = 13;
+ attribute int16s int16s = 14;
+ attribute int24s int24s = 15;
+ attribute int32s int32s = 16;
+ attribute int40s int40s = 17;
+ attribute int48s int48s = 18;
+ attribute int56s int56s = 19;
+ attribute int64s int64s = 20;
+ attribute enum8 enum8 = 21;
+ attribute enum16 enum16 = 22;
+ attribute single floatSingle = 23;
+ attribute double floatDouble = 24;
+ attribute octet_string octetString = 25;
+ attribute INT8U listInt8u[] = 26;
+ attribute OCTET_STRING listOctetString[] = 27;
+ attribute TestListStructOctet listStructOctetString[] = 28;
+ attribute long_octet_string longOctetString = 29;
+ attribute char_string charString = 30;
+ attribute long_char_string longCharString = 31;
+ attribute epoch_us epochUs = 32;
+ attribute epoch_s epochS = 33;
+ attribute vendor_id vendorId = 34;
+ attribute NullablesAndOptionalsStruct listNullablesAndOptionalsStruct[] = 35;
+ attribute SimpleEnum enumAttr = 36;
+ attribute SimpleStruct structAttr = 37;
+ attribute int8u rangeRestrictedInt8u = 38;
+ attribute int8s rangeRestrictedInt8s = 39;
+ attribute int16u rangeRestrictedInt16u = 40;
+ attribute int16s rangeRestrictedInt16s = 41;
+ readonly attribute LONG_OCTET_STRING listLongOctetString[] = 42;
+ attribute boolean timedWriteBoolean = 48;
+ attribute boolean unsupported = 255;
+ attribute boolean nullableBoolean = 32768;
+ attribute bitmap8 nullableBitmap8 = 32769;
+ attribute bitmap16 nullableBitmap16 = 32770;
+ attribute bitmap32 nullableBitmap32 = 32771;
+ attribute bitmap64 nullableBitmap64 = 32772;
+ attribute int8u nullableInt8u = 32773;
+ attribute int16u nullableInt16u = 32774;
+ attribute int24u nullableInt24u = 32775;
+ attribute int32u nullableInt32u = 32776;
+ attribute int40u nullableInt40u = 32777;
+ attribute int48u nullableInt48u = 32778;
+ attribute int56u nullableInt56u = 32779;
+ attribute int64u nullableInt64u = 32780;
+ attribute int8s nullableInt8s = 32781;
+ attribute int16s nullableInt16s = 32782;
+ attribute int24s nullableInt24s = 32783;
+ attribute int32s nullableInt32s = 32784;
+ attribute int40s nullableInt40s = 32785;
+ attribute int48s nullableInt48s = 32786;
+ attribute int56s nullableInt56s = 32787;
+ attribute int64s nullableInt64s = 32788;
+ attribute enum8 nullableEnum8 = 32789;
+ attribute enum16 nullableEnum16 = 32790;
+ attribute single nullableFloatSingle = 32791;
+ attribute double nullableFloatDouble = 32792;
+ attribute octet_string nullableOctetString = 32793;
+ attribute char_string nullableCharString = 32798;
+ attribute SimpleEnum nullableEnumAttr = 32804;
+ attribute SimpleStruct nullableStruct = 32805;
+ attribute int8u nullableRangeRestrictedInt8u = 32806;
+ attribute int8s nullableRangeRestrictedInt8s = 32807;
+ attribute int16u nullableRangeRestrictedInt16u = 32808;
+ attribute int16s nullableRangeRestrictedInt16s = 32809;
+ readonly attribute attrib_id attributeList[] = 65531;
+ readonly attribute int16u clusterRevision = 65533;
request struct SimpleStructEchoRequestRequest {
SimpleStruct arg1 = 0;
@@ -2995,26 +2995,26 @@
kHeatAndCoolSetpoints = 2;
}
- attribute(readonly) int16s localTemperature = 0;
- attribute(readonly) int16s absMinHeatSetpointLimit = 3;
- attribute(readonly) int16s absMaxHeatSetpointLimit = 4;
- attribute(readonly) int16s absMinCoolSetpointLimit = 5;
- attribute(readonly) int16s absMaxCoolSetpointLimit = 6;
- attribute(writable) int16s occupiedCoolingSetpoint = 17;
- attribute(writable) int16s occupiedHeatingSetpoint = 18;
- attribute(writable) int16s minHeatSetpointLimit = 21;
- attribute(writable) int16s maxHeatSetpointLimit = 22;
- attribute(writable) int16s minCoolSetpointLimit = 23;
- attribute(writable) int16s maxCoolSetpointLimit = 24;
- attribute(writable) int8s minSetpointDeadBand = 25;
- attribute(writable) enum8 controlSequenceOfOperation = 27;
- attribute(writable) enum8 systemMode = 28;
- attribute(readonly) enum8 startOfWeek = 32;
- attribute(readonly) int8u numberOfWeeklyTransitions = 33;
- attribute(readonly) int8u numberOfDailyTransitions = 34;
- attribute(readonly) attrib_id attributeList[] = 65531;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16s localTemperature = 0;
+ readonly attribute int16s absMinHeatSetpointLimit = 3;
+ readonly attribute int16s absMaxHeatSetpointLimit = 4;
+ readonly attribute int16s absMinCoolSetpointLimit = 5;
+ readonly attribute int16s absMaxCoolSetpointLimit = 6;
+ attribute int16s occupiedCoolingSetpoint = 17;
+ attribute int16s occupiedHeatingSetpoint = 18;
+ attribute int16s minHeatSetpointLimit = 21;
+ attribute int16s maxHeatSetpointLimit = 22;
+ attribute int16s minCoolSetpointLimit = 23;
+ attribute int16s maxCoolSetpointLimit = 24;
+ attribute int8s minSetpointDeadBand = 25;
+ attribute enum8 controlSequenceOfOperation = 27;
+ attribute enum8 systemMode = 28;
+ readonly attribute enum8 startOfWeek = 32;
+ readonly attribute int8u numberOfWeeklyTransitions = 33;
+ readonly attribute int8u numberOfDailyTransitions = 34;
+ readonly attribute attrib_id attributeList[] = 65531;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
request struct GetWeeklyScheduleRequest {
DayOfWeek daysToReturn = 0;
@@ -3057,11 +3057,11 @@
}
client cluster ThermostatUserInterfaceConfiguration = 516 {
- attribute(writable) enum8 temperatureDisplayMode = 0;
- attribute(writable) enum8 keypadLockout = 1;
- attribute(writable) enum8 scheduleProgrammingVisibility = 2;
- attribute(readonly) attrib_id attributeList[] = 65531;
- attribute(readonly) int16u clusterRevision = 65533;
+ attribute enum8 temperatureDisplayMode = 0;
+ attribute enum8 keypadLockout = 1;
+ attribute enum8 scheduleProgrammingVisibility = 2;
+ readonly attribute attrib_id attributeList[] = 65531;
+ readonly attribute int16u clusterRevision = 65533;
}
client cluster ThreadNetworkDiagnostics = 53 {
@@ -3141,85 +3141,85 @@
ThreadConnectionStatus connectionStatus = 0;
}
- attribute(readonly) int16u channel = 0;
- attribute(readonly) enum8 routingRole = 1;
- attribute(readonly) octet_string networkName = 2;
- attribute(readonly) int16u panId = 3;
- attribute(readonly) int64u extendedPanId = 4;
- attribute(readonly) octet_string meshLocalPrefix = 5;
- attribute(readonly) int64u overrunCount = 6;
- attribute(readonly) NeighborTable neighborTableList[] = 7;
- attribute(readonly) RouteTable routeTableList[] = 8;
- attribute(readonly) int32u partitionId = 9;
- attribute(readonly) int8u weighting = 10;
- attribute(readonly) int8u dataVersion = 11;
- attribute(readonly) int8u stableDataVersion = 12;
- attribute(readonly) int8u leaderRouterId = 13;
- attribute(readonly) int16u detachedRoleCount = 14;
- attribute(readonly) int16u childRoleCount = 15;
- attribute(readonly) int16u routerRoleCount = 16;
- attribute(readonly) int16u leaderRoleCount = 17;
- attribute(readonly) int16u attachAttemptCount = 18;
- attribute(readonly) int16u partitionIdChangeCount = 19;
- attribute(readonly) int16u betterPartitionAttachAttemptCount = 20;
- attribute(readonly) int16u parentChangeCount = 21;
- attribute(readonly) int32u txTotalCount = 22;
- attribute(readonly) int32u txUnicastCount = 23;
- attribute(readonly) int32u txBroadcastCount = 24;
- attribute(readonly) int32u txAckRequestedCount = 25;
- attribute(readonly) int32u txAckedCount = 26;
- attribute(readonly) int32u txNoAckRequestedCount = 27;
- attribute(readonly) int32u txDataCount = 28;
- attribute(readonly) int32u txDataPollCount = 29;
- attribute(readonly) int32u txBeaconCount = 30;
- attribute(readonly) int32u txBeaconRequestCount = 31;
- attribute(readonly) int32u txOtherCount = 32;
- attribute(readonly) int32u txRetryCount = 33;
- attribute(readonly) int32u txDirectMaxRetryExpiryCount = 34;
- attribute(readonly) int32u txIndirectMaxRetryExpiryCount = 35;
- attribute(readonly) int32u txErrCcaCount = 36;
- attribute(readonly) int32u txErrAbortCount = 37;
- attribute(readonly) int32u txErrBusyChannelCount = 38;
- attribute(readonly) int32u rxTotalCount = 39;
- attribute(readonly) int32u rxUnicastCount = 40;
- attribute(readonly) int32u rxBroadcastCount = 41;
- attribute(readonly) int32u rxDataCount = 42;
- attribute(readonly) int32u rxDataPollCount = 43;
- attribute(readonly) int32u rxBeaconCount = 44;
- attribute(readonly) int32u rxBeaconRequestCount = 45;
- attribute(readonly) int32u rxOtherCount = 46;
- attribute(readonly) int32u rxAddressFilteredCount = 47;
- attribute(readonly) int32u rxDestAddrFilteredCount = 48;
- attribute(readonly) int32u rxDuplicatedCount = 49;
- attribute(readonly) int32u rxErrNoFrameCount = 50;
- attribute(readonly) int32u rxErrUnknownNeighborCount = 51;
- attribute(readonly) int32u rxErrInvalidSrcAddrCount = 52;
- attribute(readonly) int32u rxErrSecCount = 53;
- attribute(readonly) int32u rxErrFcsCount = 54;
- attribute(readonly) int32u rxErrOtherCount = 55;
- attribute(readonly) int64u activeTimestamp = 56;
- attribute(readonly) int64u pendingTimestamp = 57;
- attribute(readonly) int32u delay = 58;
- attribute(readonly) SecurityPolicy securityPolicy[] = 59;
- attribute(readonly) octet_string channelMask = 60;
- attribute(readonly) OperationalDatasetComponents operationalDatasetComponents[] = 61;
- attribute(readonly) NetworkFault activeNetworkFaultsList[] = 62;
- attribute(readonly) attrib_id attributeList[] = 65531;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute int16u channel = 0;
+ readonly attribute enum8 routingRole = 1;
+ readonly attribute octet_string networkName = 2;
+ readonly attribute int16u panId = 3;
+ readonly attribute int64u extendedPanId = 4;
+ readonly attribute octet_string 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 channelMask = 60;
+ readonly attribute OperationalDatasetComponents operationalDatasetComponents[] = 61;
+ readonly attribute NetworkFault activeNetworkFaultsList[] = 62;
+ readonly attribute attrib_id attributeList[] = 65531;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
command ResetCounts(): DefaultSuccess = 0;
}
client cluster UserLabel = 65 {
- attribute(writable) LabelStruct labelList[] = 0;
- attribute(readonly) int16u clusterRevision = 65533;
+ attribute LabelStruct labelList[] = 0;
+ readonly attribute int16u clusterRevision = 65533;
}
client cluster WakeOnLan = 1283 {
- attribute(readonly) char_string wakeOnLanMacAddress = 0;
- attribute(readonly) attrib_id attributeList[] = 65531;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute char_string wakeOnLanMacAddress = 0;
+ readonly attribute attrib_id attributeList[] = 65531;
+ readonly attribute int16u clusterRevision = 65533;
}
client cluster WiFiNetworkDiagnostics = 54 {
@@ -3266,48 +3266,48 @@
WiFiConnectionStatus connectionStatus = 0;
}
- attribute(readonly) octet_string bssid = 0;
- attribute(readonly) enum8 securityType = 1;
- attribute(readonly) enum8 wiFiVersion = 2;
- attribute(readonly) int16u channelNumber = 3;
- attribute(readonly) int8s rssi = 4;
- attribute(readonly) int32u beaconLostCount = 5;
- attribute(readonly) int32u beaconRxCount = 6;
- attribute(readonly) int32u packetMulticastRxCount = 7;
- attribute(readonly) int32u packetMulticastTxCount = 8;
- attribute(readonly) int32u packetUnicastRxCount = 9;
- attribute(readonly) int32u packetUnicastTxCount = 10;
- attribute(readonly) int64u currentMaxRate = 11;
- attribute(readonly) int64u overrunCount = 12;
- attribute(readonly) attrib_id attributeList[] = 65531;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute octet_string 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 attribute attrib_id attributeList[] = 65531;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
command ResetCounts(): DefaultSuccess = 0;
}
client cluster WindowCovering = 258 {
- attribute(readonly) enum8 type = 0;
- attribute(readonly) int16u currentPositionLift = 3;
- attribute(readonly) int16u currentPositionTilt = 4;
- attribute(readonly) bitmap8 configStatus = 7;
- attribute(readonly) Percent currentPositionLiftPercentage = 8;
- attribute(readonly) Percent currentPositionTiltPercentage = 9;
- attribute(readonly) bitmap8 operationalStatus = 10;
- attribute(readonly) Percent100ths targetPositionLiftPercent100ths = 11;
- attribute(readonly) Percent100ths targetPositionTiltPercent100ths = 12;
- attribute(readonly) enum8 endProductType = 13;
- attribute(readonly) Percent100ths currentPositionLiftPercent100ths = 14;
- attribute(readonly) Percent100ths currentPositionTiltPercent100ths = 15;
- attribute(readonly) int16u installedOpenLimitLift = 16;
- attribute(readonly) int16u installedClosedLimitLift = 17;
- attribute(readonly) int16u installedOpenLimitTilt = 18;
- attribute(readonly) int16u installedClosedLimitTilt = 19;
- attribute(writable) bitmap8 mode = 23;
- attribute(readonly) bitmap16 safetyStatus = 26;
- attribute(readonly) attrib_id attributeList[] = 65531;
- attribute(readonly) bitmap32 featureMap = 65532;
- attribute(readonly) int16u clusterRevision = 65533;
+ readonly attribute enum8 type = 0;
+ readonly attribute int16u currentPositionLift = 3;
+ readonly attribute int16u currentPositionTilt = 4;
+ readonly attribute bitmap8 configStatus = 7;
+ readonly attribute Percent currentPositionLiftPercentage = 8;
+ readonly attribute Percent currentPositionTiltPercentage = 9;
+ readonly attribute bitmap8 operationalStatus = 10;
+ readonly attribute Percent100ths targetPositionLiftPercent100ths = 11;
+ readonly attribute Percent100ths targetPositionTiltPercent100ths = 12;
+ readonly attribute enum8 endProductType = 13;
+ readonly attribute Percent100ths currentPositionLiftPercent100ths = 14;
+ readonly attribute 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 attribute attrib_id attributeList[] = 65531;
+ readonly attribute bitmap32 featureMap = 65532;
+ readonly attribute int16u clusterRevision = 65533;
request struct GoToLiftPercentageRequest {
Percent liftPercentageValue = 0;