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

Change all ZAP XML basic data types to lowercase #29706

Merged
merged 9 commits into from
Oct 12, 2023
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

Large diffs are not rendered by default.

706 changes: 353 additions & 353 deletions examples/all-clusters-app/all-clusters-common/all-clusters-app.matter

Large diffs are not rendered by default.

Large diffs are not rendered by default.

192 changes: 96 additions & 96 deletions examples/bridge-app/bridge-common/bridge-app.matter

Large diffs are not rendered by default.

186 changes: 93 additions & 93 deletions examples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.matter

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ server cluster Identify = 3 {
readonly attribute int16u clusterRevision = 65533;

request struct IdentifyRequest {
INT16U identifyTime = 0;
int16u identifyTime = 0;
}

request struct TriggerEffectRequest {
Expand Down Expand Up @@ -67,7 +67,7 @@ server cluster Groups = 4 {

request struct AddGroupRequest {
group_id groupID = 0;
CHAR_STRING groupName = 1;
char_string groupName = 1;
}

request struct ViewGroupRequest {
Expand All @@ -84,27 +84,27 @@ server cluster Groups = 4 {

request struct AddGroupIfIdentifyingRequest {
group_id groupID = 0;
CHAR_STRING groupName = 1;
char_string groupName = 1;
}

response struct AddGroupResponse = 0 {
ENUM8 status = 0;
enum8 status = 0;
group_id groupID = 1;
}

response struct ViewGroupResponse = 1 {
ENUM8 status = 0;
enum8 status = 0;
group_id groupID = 1;
CHAR_STRING groupName = 2;
char_string groupName = 2;
}

response struct GetGroupMembershipResponse = 2 {
nullable INT8U capacity = 0;
nullable int8u capacity = 0;
group_id groupList[] = 1;
}

response struct RemoveGroupResponse = 3 {
ENUM8 status = 0;
enum8 status = 0;
group_id groupID = 1;
}

Expand Down Expand Up @@ -135,9 +135,9 @@ server cluster Descriptor = 29 {
}

readonly attribute DeviceTypeStruct deviceTypeList[] = 0;
readonly attribute CLUSTER_ID serverList[] = 1;
readonly attribute CLUSTER_ID clientList[] = 2;
readonly attribute ENDPOINT_NO partsList[] = 3;
readonly attribute cluster_id serverList[] = 1;
readonly attribute cluster_id clientList[] = 2;
readonly attribute endpoint_no partsList[] = 3;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
Expand Down Expand Up @@ -192,15 +192,15 @@ server cluster AccessControl = 31 {

fabric_sensitive info event access(read: administer) AccessControlEntryChanged = 0 {
nullable node_id adminNodeID = 1;
nullable INT16U adminPasscodeID = 2;
nullable int16u adminPasscodeID = 2;
ChangeTypeEnum changeType = 3;
nullable AccessControlEntryStruct latestValue = 4;
fabric_idx fabricIndex = 254;
}

fabric_sensitive info event access(read: administer) AccessControlExtensionChanged = 1 {
nullable node_id adminNodeID = 1;
nullable INT16U adminPasscodeID = 2;
nullable int16u adminPasscodeID = 2;
ChangeTypeEnum changeType = 3;
nullable AccessControlExtensionStruct latestValue = 4;
fabric_idx fabricIndex = 254;
Expand Down Expand Up @@ -267,7 +267,7 @@ server cluster BasicInformation = 40 {
}

critical event StartUp = 0 {
INT32U softwareVersion = 0;
int32u softwareVersion = 0;
}

critical event ShutDown = 1 {
Expand Down Expand Up @@ -342,29 +342,29 @@ server cluster GeneralCommissioning = 48 {
readonly attribute int16u clusterRevision = 65533;

request struct ArmFailSafeRequest {
INT16U expiryLengthSeconds = 0;
INT64U breadcrumb = 1;
int16u expiryLengthSeconds = 0;
int64u breadcrumb = 1;
}

request struct SetRegulatoryConfigRequest {
RegulatoryLocationTypeEnum newRegulatoryConfig = 0;
CHAR_STRING countryCode = 1;
INT64U breadcrumb = 2;
char_string countryCode = 1;
int64u breadcrumb = 2;
}

response struct ArmFailSafeResponse = 1 {
CommissioningErrorEnum errorCode = 0;
CHAR_STRING debugText = 1;
char_string debugText = 1;
}

response struct SetRegulatoryConfigResponse = 3 {
CommissioningErrorEnum errorCode = 0;
CHAR_STRING debugText = 1;
char_string debugText = 1;
}

response struct CommissioningCompleteResponse = 5 {
CommissioningErrorEnum errorCode = 0;
CHAR_STRING debugText = 1;
char_string debugText = 1;
}

command access(invoke: administer) ArmFailSafe(ArmFailSafeRequest): ArmFailSafeResponse = 0;
Expand Down Expand Up @@ -454,54 +454,54 @@ server cluster NetworkCommissioning = 49 {
readonly attribute int16u clusterRevision = 65533;

request struct ScanNetworksRequest {
optional nullable OCTET_STRING<32> ssid = 0;
optional INT64U breadcrumb = 1;
optional nullable octet_string<32> ssid = 0;
optional int64u breadcrumb = 1;
}

request struct AddOrUpdateWiFiNetworkRequest {
OCTET_STRING<32> ssid = 0;
OCTET_STRING<64> credentials = 1;
optional INT64U breadcrumb = 2;
octet_string<32> ssid = 0;
octet_string<64> credentials = 1;
optional int64u breadcrumb = 2;
}

request struct AddOrUpdateThreadNetworkRequest {
OCTET_STRING<254> operationalDataset = 0;
optional INT64U breadcrumb = 1;
octet_string<254> operationalDataset = 0;
optional int64u breadcrumb = 1;
}

request struct RemoveNetworkRequest {
OCTET_STRING<32> networkID = 0;
optional INT64U breadcrumb = 1;
octet_string<32> networkID = 0;
optional int64u breadcrumb = 1;
}

request struct ConnectNetworkRequest {
OCTET_STRING<32> networkID = 0;
optional INT64U breadcrumb = 1;
octet_string<32> networkID = 0;
optional int64u breadcrumb = 1;
}

request struct ReorderNetworkRequest {
OCTET_STRING<32> networkID = 0;
INT8U networkIndex = 1;
optional INT64U breadcrumb = 2;
octet_string<32> networkID = 0;
int8u networkIndex = 1;
optional int64u breadcrumb = 2;
}

response struct ScanNetworksResponse = 1 {
NetworkCommissioningStatusEnum networkingStatus = 0;
optional CHAR_STRING debugText = 1;
optional char_string debugText = 1;
optional WiFiInterfaceScanResultStruct wiFiScanResults[] = 2;
optional ThreadInterfaceScanResultStruct threadScanResults[] = 3;
}

response struct NetworkConfigResponse = 5 {
NetworkCommissioningStatusEnum networkingStatus = 0;
optional CHAR_STRING<512> debugText = 1;
optional INT8U networkIndex = 2;
optional char_string<512> debugText = 1;
optional int8u networkIndex = 2;
}

response struct ConnectNetworkResponse = 7 {
NetworkCommissioningStatusEnum networkingStatus = 0;
optional CHAR_STRING debugText = 1;
nullable INT32S errorValue = 2;
optional char_string debugText = 1;
nullable int32s errorValue = 2;
}

command access(invoke: administer) ScanNetworks(ScanNetworksRequest): ScanNetworksResponse = 0;
Expand Down Expand Up @@ -543,7 +543,7 @@ server cluster DiagnosticLogs = 50 {
request struct RetrieveLogsRequestRequest {
IntentEnum intent = 0;
TransferProtocolEnum requestedProtocol = 1;
optional CHAR_STRING<32> transferFileDesignator = 2;
optional char_string<32> transferFileDesignator = 2;
}

command RetrieveLogsRequest(RetrieveLogsRequestRequest): RetrieveLogsResponse = 0;
Expand Down Expand Up @@ -647,8 +647,8 @@ server cluster GeneralDiagnostics = 51 {
readonly attribute int16u clusterRevision = 65533;

request struct TestEventTriggerRequest {
OCTET_STRING<16> enableKey = 0;
INT64U eventTrigger = 1;
octet_string<16> enableKey = 0;
int64u eventTrigger = 1;
}

command access(invoke: manage) TestEventTrigger(TestEventTriggerRequest): DefaultSuccess = 0;
Expand Down Expand Up @@ -679,15 +679,15 @@ server cluster AdministratorCommissioning = 60 {
readonly attribute int16u clusterRevision = 65533;

request struct OpenCommissioningWindowRequest {
INT16U commissioningTimeout = 0;
OCTET_STRING PAKEPasscodeVerifier = 1;
INT16U discriminator = 2;
INT32U iterations = 3;
OCTET_STRING salt = 4;
int16u commissioningTimeout = 0;
octet_string PAKEPasscodeVerifier = 1;
int16u discriminator = 2;
int32u iterations = 3;
octet_string salt = 4;
}

request struct OpenBasicCommissioningWindowRequest {
INT16U commissioningTimeout = 0;
int16u commissioningTimeout = 0;
}

timed command access(invoke: administer) OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0;
Expand Down Expand Up @@ -734,7 +734,7 @@ server cluster OperationalCredentials = 62 {
readonly attribute FabricDescriptorStruct fabrics[] = 1;
readonly attribute int8u supportedFabrics = 2;
readonly attribute int8u commissionedFabrics = 3;
readonly attribute OCTET_STRING trustedRootCertificates[] = 4;
readonly attribute octet_string trustedRootCertificates[] = 4;
readonly attribute int8u currentFabricIndex = 5;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
Expand All @@ -744,61 +744,61 @@ server cluster OperationalCredentials = 62 {
readonly attribute int16u clusterRevision = 65533;

request struct AttestationRequestRequest {
OCTET_STRING attestationNonce = 0;
octet_string attestationNonce = 0;
}

request struct CertificateChainRequestRequest {
CertificateChainTypeEnum certificateType = 0;
}

request struct CSRRequestRequest {
OCTET_STRING CSRNonce = 0;
octet_string CSRNonce = 0;
optional boolean isForUpdateNOC = 1;
}

request struct AddNOCRequest {
OCTET_STRING NOCValue = 0;
optional OCTET_STRING ICACValue = 1;
OCTET_STRING IPKValue = 2;
Int64u caseAdminSubject = 3;
VENDOR_ID adminVendorId = 4;
octet_string NOCValue = 0;
optional octet_string ICACValue = 1;
octet_string IPKValue = 2;
int64u caseAdminSubject = 3;
vendor_id adminVendorId = 4;
}

request struct UpdateNOCRequest {
OCTET_STRING NOCValue = 0;
optional OCTET_STRING ICACValue = 1;
octet_string NOCValue = 0;
optional octet_string ICACValue = 1;
}

request struct UpdateFabricLabelRequest {
CHAR_STRING<32> label = 0;
char_string<32> label = 0;
}

request struct RemoveFabricRequest {
fabric_idx fabricIndex = 0;
}

request struct AddTrustedRootCertificateRequest {
OCTET_STRING rootCACertificate = 0;
octet_string rootCACertificate = 0;
}

response struct AttestationResponse = 1 {
OCTET_STRING attestationElements = 0;
OCTET_STRING attestationSignature = 1;
octet_string attestationElements = 0;
octet_string attestationSignature = 1;
}

response struct CertificateChainResponse = 3 {
OCTET_STRING certificate = 0;
octet_string certificate = 0;
}

response struct CSRResponse = 5 {
OCTET_STRING NOCSRElements = 0;
OCTET_STRING attestationSignature = 1;
octet_string NOCSRElements = 0;
octet_string attestationSignature = 1;
}

response struct NOCResponse = 8 {
NodeOperationalCertStatusEnum statusCode = 0;
optional fabric_idx fabricIndex = 1;
optional CHAR_STRING debugText = 2;
optional char_string debugText = 2;
}

command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0;
Expand Down Expand Up @@ -862,19 +862,19 @@ server cluster GroupKeyManagement = 63 {
}

request struct KeySetReadRequest {
INT16U groupKeySetID = 0;
int16u groupKeySetID = 0;
}

request struct KeySetRemoveRequest {
INT16U groupKeySetID = 0;
int16u groupKeySetID = 0;
}

response struct KeySetReadResponse = 2 {
GroupKeySetStruct groupKeySet = 0;
}

response struct KeySetReadAllIndicesResponse = 5 {
INT16U groupKeySetIDs[] = 0;
int16u groupKeySetIDs[] = 0;
}

fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0;
Expand Down Expand Up @@ -1081,7 +1081,7 @@ server cluster Thermostat = 513 {

request struct SetpointRaiseLowerRequest {
SetpointAdjustMode mode = 0;
INT8S amount = 1;
int8s amount = 1;
}

command SetpointRaiseLower(SetpointRaiseLowerRequest): DefaultSuccess = 0;
Expand Down Expand Up @@ -1140,8 +1140,8 @@ server cluster FanControl = 514 {

attribute FanModeEnum fanMode = 0;
attribute FanModeSequenceEnum fanModeSequence = 1;
attribute nullable Percent percentSetting = 2;
readonly attribute Percent percentCurrent = 3;
attribute nullable percent percentSetting = 2;
readonly attribute percent percentCurrent = 3;
readonly attribute int8u speedMax = 4;
attribute nullable int8u speedSetting = 5;
readonly attribute int8u speedCurrent = 6;
Expand Down
Loading
Loading