Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IDL]Make nonsubscribable as a special case in IDL generation. #13656

Merged
merged 1 commit into from
Jan 18, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,132 changes: 566 additions & 566 deletions examples/all-clusters-app/all-clusters-common/all-clusters-app.matter

Large diffs are not rendered by default.

356 changes: 178 additions & 178 deletions examples/bridge-app/bridge-common/bridge-app.matter

Large diffs are not rendered by default.

372 changes: 186 additions & 186 deletions examples/door-lock-app/door-lock-common/door-lock-app.matter

Large diffs are not rendered by default.

462 changes: 231 additions & 231 deletions examples/lighting-app/lighting-common/lighting-app.matter

Large diffs are not rendered by default.

348 changes: 174 additions & 174 deletions examples/lock-app/lock-common/lock-app.matter

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions examples/log-source-app/log-source-common/log-source-app.matter
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@ server cluster GeneralCommissioning = 48 {
INT32U failSafeExpiryLengthMs = 1;
}

attribute(writable, reportable) int64u breadcrumb = 0;
attribute(readonly, reportable) BasicCommissioningInfoType basicCommissioningInfoList[] = 1;
attribute(readonly, reportable) int16u clusterRevision = 65533;
attribute(writable) int64u breadcrumb = 0;
attribute(readonly) BasicCommissioningInfoType basicCommissioningInfoList[] = 1;
attribute(readonly) int16u clusterRevision = 65533;

request struct ArmFailSafeRequest {
INT16U expiryLengthSeconds = 0;
Expand Down Expand Up @@ -160,7 +160,7 @@ server cluster NetworkCommissioning = 49 {
INT8U lqi = 8;
}

attribute(readonly, reportable) int16u clusterRevision = 65533;
attribute(readonly) int16u clusterRevision = 65533;

request struct AddOrUpdateThreadNetworkRequest {
OCTET_STRING operationalDataset = 0;
Expand Down Expand Up @@ -243,11 +243,11 @@ server cluster OperationalCredentials = 62 {
CHAR_STRING label = 6;
}

attribute(readonly, reportable) FabricDescriptor fabricsList[] = 1;
attribute(readonly, reportable) int8u supportedFabrics = 2;
attribute(readonly, reportable) int8u commissionedFabrics = 3;
attribute(readonly, reportable) OCTET_STRING trustedRootCertificates[] = 4;
attribute(readonly, reportable) int16u clusterRevision = 65533;
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;

request struct AddNOCRequest {
OCTET_STRING NOCValue = 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ struct LabelStruct {
}

server cluster FixedLabel = 64 {
attribute(readonly, reportable) LabelStruct labelList[] = 0;
attribute(readonly, reportable) int16u clusterRevision = 65533;
attribute(readonly) LabelStruct labelList[] = 0;
attribute(readonly) int16u clusterRevision = 65533;
}

server cluster GeneralCommissioning = 48 {
Expand All @@ -29,12 +29,12 @@ server cluster GeneralCommissioning = 48 {
INT32U failSafeExpiryLengthMs = 1;
}

attribute(writable, reportable) int64u breadcrumb = 0;
attribute(readonly, reportable) BasicCommissioningInfoType basicCommissioningInfoList[] = 1;
attribute(readonly, reportable) enum8 regulatoryConfig = 2;
attribute(readonly, reportable) enum8 locationCapability = 3;
attribute(readonly, reportable) bitmap32 featureMap = 65532;
attribute(readonly, reportable) int16u clusterRevision = 65533;
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;

request struct ArmFailSafeRequest {
INT16U expiryLengthSeconds = 0;
Expand Down Expand Up @@ -70,8 +70,8 @@ server cluster GeneralCommissioning = 48 {
}

server cluster LocalizationConfiguration = 43 {
attribute(writable, reportable) char_string activeLocale = 1;
attribute(readonly, reportable) CHAR_STRING supportedLocales[] = 2;
attribute(writable) char_string activeLocale = 1;
attribute(readonly) CHAR_STRING supportedLocales[] = 2;
}

server cluster NetworkCommissioning = 49 {
Expand Down Expand Up @@ -124,16 +124,16 @@ server cluster NetworkCommissioning = 49 {
INT8U lqi = 8;
}

attribute(readonly, reportable) int8u maxNetworks = 0;
attribute(readonly, reportable) NetworkInfo networks[] = 1;
attribute(readonly, reportable) int8u scanMaxTimeSeconds = 2;
attribute(readonly, reportable) int8u connectMaxTimeSeconds = 3;
attribute(writable, reportable) boolean interfaceEnabled = 4;
attribute(readonly, reportable) NetworkCommissioningStatus lastNetworkingStatus = 5;
attribute(readonly, reportable) octet_string lastNetworkID = 6;
attribute(readonly, reportable) int32u lastConnectErrorValue = 7;
attribute(readonly, reportable) bitmap32 featureMap = 65532;
attribute(readonly, reportable) int16u clusterRevision = 65533;
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;

request struct AddOrUpdateThreadNetworkRequest {
OCTET_STRING operationalDataset = 0;
Expand Down Expand Up @@ -214,7 +214,7 @@ server cluster OtaSoftwareUpdateProvider = 41 {
kDownloadProtocolNotSupported = 3;
}

attribute(readonly, reportable) int16u clusterRevision = 65533;
attribute(readonly) int16u clusterRevision = 65533;

request struct ApplyUpdateRequestRequest {
OCTET_STRING updateToken = 0;
Expand Down Expand Up @@ -281,12 +281,12 @@ server cluster OperationalCredentials = 62 {
CHAR_STRING label = 6;
}

attribute(readonly, reportable) FabricDescriptor fabricsList[] = 1;
attribute(readonly, reportable) int8u supportedFabrics = 2;
attribute(readonly, reportable) int8u commissionedFabrics = 3;
attribute(readonly, reportable) OCTET_STRING trustedRootCertificates[] = 4;
attribute(readonly, reportable) fabric_idx currentFabricIndex = 5;
attribute(readonly, reportable) int16u clusterRevision = 65533;
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;

request struct AddNOCRequest {
OCTET_STRING NOCValue = 0;
Expand Down Expand Up @@ -350,8 +350,8 @@ server cluster OperationalCredentials = 62 {
}

server cluster UserLabel = 65 {
attribute(writable, reportable) LabelStruct labelList[] = 0;
attribute(readonly, reportable) int16u clusterRevision = 65533;
attribute(writable) LabelStruct labelList[] = 0;
attribute(readonly) int16u clusterRevision = 65533;
}


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,25 +21,25 @@ server cluster Basic = 40 {
boolean reachableNewValue = 0;
}

attribute(readonly, reportable) int16u interactionModelVersion = 0;
attribute(readonly, reportable) char_string vendorName = 1;
attribute(readonly, reportable) vendor_id vendorID = 2;
attribute(readonly, reportable) char_string productName = 3;
attribute(readonly, reportable) int16u productID = 4;
attribute(writable, reportable) char_string nodeLabel = 5;
attribute(writable, reportable) char_string location = 6;
attribute(readonly, reportable) int16u hardwareVersion = 7;
attribute(readonly, reportable) char_string hardwareVersionString = 8;
attribute(readonly, reportable) int32u softwareVersion = 9;
attribute(readonly, reportable) char_string softwareVersionString = 10;
attribute(readonly, reportable) int16u clusterRevision = 65533;
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;

command MfgSpecificPing(): DefaultSuccess = 0;
}

server cluster FixedLabel = 64 {
attribute(readonly, reportable) LabelStruct labelList[] = 0;
attribute(readonly, reportable) int16u clusterRevision = 65533;
attribute(readonly) LabelStruct labelList[] = 0;
attribute(readonly) int16u clusterRevision = 65533;
}

server cluster GeneralCommissioning = 48 {
Expand All @@ -60,12 +60,12 @@ server cluster GeneralCommissioning = 48 {
INT32U failSafeExpiryLengthMs = 1;
}

attribute(writable, reportable) int64u breadcrumb = 0;
attribute(readonly, reportable) BasicCommissioningInfoType basicCommissioningInfoList[] = 1;
attribute(readonly, reportable) enum8 regulatoryConfig = 2;
attribute(readonly, reportable) enum8 locationCapability = 3;
attribute(readonly, reportable) bitmap32 featureMap = 65532;
attribute(readonly, reportable) int16u clusterRevision = 65533;
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;

request struct ArmFailSafeRequest {
INT16U expiryLengthSeconds = 0;
Expand Down Expand Up @@ -101,8 +101,8 @@ server cluster GeneralCommissioning = 48 {
}

server cluster LocalizationConfiguration = 43 {
attribute(writable, reportable) char_string activeLocale = 1;
attribute(readonly, reportable) CHAR_STRING supportedLocales[] = 2;
attribute(writable) char_string activeLocale = 1;
attribute(readonly) CHAR_STRING supportedLocales[] = 2;
}

server cluster NetworkCommissioning = 49 {
Expand Down Expand Up @@ -155,16 +155,16 @@ server cluster NetworkCommissioning = 49 {
INT8U lqi = 8;
}

attribute(readonly, reportable) int8u maxNetworks = 0;
attribute(readonly, reportable) NetworkInfo networks[] = 1;
attribute(readonly, reportable) int8u scanMaxTimeSeconds = 2;
attribute(readonly, reportable) int8u connectMaxTimeSeconds = 3;
attribute(writable, reportable) boolean interfaceEnabled = 4;
attribute(readonly, reportable) NetworkCommissioningStatus lastNetworkingStatus = 5;
attribute(readonly, reportable) octet_string lastNetworkID = 6;
attribute(readonly, reportable) int32u lastConnectErrorValue = 7;
attribute(readonly, reportable) bitmap32 featureMap = 65532;
attribute(readonly, reportable) int16u clusterRevision = 65533;
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;

request struct AddOrUpdateThreadNetworkRequest {
OCTET_STRING operationalDataset = 0;
Expand Down Expand Up @@ -245,7 +245,7 @@ client cluster OtaSoftwareUpdateProvider = 41 {
kDownloadProtocolNotSupported = 3;
}

attribute(readonly, reportable) int16u clusterRevision = 65533;
attribute(readonly) int16u clusterRevision = 65533;

request struct ApplyUpdateRequestRequest {
OCTET_STRING updateToken = 0;
Expand Down Expand Up @@ -341,11 +341,11 @@ server cluster OtaSoftwareUpdateRequestor = 42 {
nullable INT64S platformCode = 3;
}

attribute(writable, reportable) ProviderLocation defaultOtaProviders[] = 0;
attribute(readonly, reportable) boolean updatePossible = 1;
attribute(readonly, reportable) OTAUpdateStateEnum updateState = 2;
attribute(readonly, reportable) int8u updateStateProgress = 3;
attribute(readonly, reportable) int16u clusterRevision = 65533;
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;

request struct AnnounceOtaProviderRequest {
node_id providerNodeId = 0;
Expand Down Expand Up @@ -381,12 +381,12 @@ server cluster OperationalCredentials = 62 {
CHAR_STRING label = 6;
}

attribute(readonly, reportable) FabricDescriptor fabricsList[] = 1;
attribute(readonly, reportable) int8u supportedFabrics = 2;
attribute(readonly, reportable) int8u commissionedFabrics = 3;
attribute(readonly, reportable) OCTET_STRING trustedRootCertificates[] = 4;
attribute(readonly, reportable) fabric_idx currentFabricIndex = 5;
attribute(readonly, reportable) int16u clusterRevision = 65533;
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;

request struct AddNOCRequest {
OCTET_STRING NOCValue = 0;
Expand Down Expand Up @@ -461,8 +461,8 @@ server cluster OperationalCredentials = 62 {
}

server cluster UserLabel = 65 {
attribute(writable, reportable) LabelStruct labelList[] = 0;
attribute(readonly, reportable) int16u clusterRevision = 65533;
attribute(writable) LabelStruct labelList[] = 0;
attribute(readonly) int16u clusterRevision = 65533;
}


Expand Down
Loading