Skip to content

Commit

Permalink
Align diagnostic logs cluster XML to spec changes. (#24833)
Browse files Browse the repository at this point in the history
* Align diagnostic logs cluster XML to spec changes.

Fixes #24826

* Regenerate generated code.
  • Loading branch information
bzbarsky-apple authored and pull[bot] committed Aug 18, 2023
1 parent 85e90bc commit 1434620
Show file tree
Hide file tree
Showing 54 changed files with 492 additions and 410 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1210,21 +1210,21 @@ server cluster NetworkCommissioning = 49 {
}

server cluster DiagnosticLogs = 50 {
enum LogsIntent : ENUM8 {
enum IntentEnum : ENUM8 {
kEndUserSupport = 0;
kNetworkDiag = 1;
kCrashLogs = 2;
}

enum LogsStatus : ENUM8 {
enum StatusEnum : ENUM8 {
kSuccess = 0;
kExhausted = 1;
kNoLogs = 2;
kBusy = 3;
kDenied = 4;
}

enum LogsTransferProtocol : ENUM8 {
enum TransferProtocolEnum : ENUM8 {
kResponsePayload = 0;
kBdx = 1;
}
Expand All @@ -1237,9 +1237,9 @@ server cluster DiagnosticLogs = 50 {
readonly attribute int16u clusterRevision = 65533;

request struct RetrieveLogsRequestRequest {
LogsIntent intent = 0;
LogsTransferProtocol requestedProtocol = 1;
OCTET_STRING<32> transferFileDesignator = 2;
IntentEnum intent = 0;
TransferProtocolEnum requestedProtocol = 1;
optional CHAR_STRING<32> transferFileDesignator = 2;
}

command RetrieveLogsRequest(RetrieveLogsRequestRequest): RetrieveLogsResponse = 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1089,21 +1089,21 @@ server cluster NetworkCommissioning = 49 {
}

server cluster DiagnosticLogs = 50 {
enum LogsIntent : ENUM8 {
enum IntentEnum : ENUM8 {
kEndUserSupport = 0;
kNetworkDiag = 1;
kCrashLogs = 2;
}

enum LogsStatus : ENUM8 {
enum StatusEnum : ENUM8 {
kSuccess = 0;
kExhausted = 1;
kNoLogs = 2;
kBusy = 3;
kDenied = 4;
}

enum LogsTransferProtocol : ENUM8 {
enum TransferProtocolEnum : ENUM8 {
kResponsePayload = 0;
kBdx = 1;
}
Expand All @@ -1116,9 +1116,9 @@ server cluster DiagnosticLogs = 50 {
readonly attribute int16u clusterRevision = 65533;

request struct RetrieveLogsRequestRequest {
LogsIntent intent = 0;
LogsTransferProtocol requestedProtocol = 1;
OCTET_STRING<32> transferFileDesignator = 2;
IntentEnum intent = 0;
TransferProtocolEnum requestedProtocol = 1;
optional CHAR_STRING<32> transferFileDesignator = 2;
}

command RetrieveLogsRequest(RetrieveLogsRequestRequest): RetrieveLogsResponse = 0;
Expand Down
12 changes: 6 additions & 6 deletions examples/bridge-app/bridge-common/bridge-app.matter
Original file line number Diff line number Diff line change
Expand Up @@ -775,21 +775,21 @@ server cluster NetworkCommissioning = 49 {
}

server cluster DiagnosticLogs = 50 {
enum LogsIntent : ENUM8 {
enum IntentEnum : ENUM8 {
kEndUserSupport = 0;
kNetworkDiag = 1;
kCrashLogs = 2;
}

enum LogsStatus : ENUM8 {
enum StatusEnum : ENUM8 {
kSuccess = 0;
kExhausted = 1;
kNoLogs = 2;
kBusy = 3;
kDenied = 4;
}

enum LogsTransferProtocol : ENUM8 {
enum TransferProtocolEnum : ENUM8 {
kResponsePayload = 0;
kBdx = 1;
}
Expand All @@ -802,9 +802,9 @@ server cluster DiagnosticLogs = 50 {
readonly attribute int16u clusterRevision = 65533;

request struct RetrieveLogsRequestRequest {
LogsIntent intent = 0;
LogsTransferProtocol requestedProtocol = 1;
OCTET_STRING<32> transferFileDesignator = 2;
IntentEnum intent = 0;
TransferProtocolEnum requestedProtocol = 1;
optional CHAR_STRING<32> transferFileDesignator = 2;
}

command RetrieveLogsRequest(RetrieveLogsRequestRequest): RetrieveLogsResponse = 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -645,21 +645,21 @@ server cluster GeneralCommissioning = 48 {
}

server cluster DiagnosticLogs = 50 {
enum LogsIntent : ENUM8 {
enum IntentEnum : ENUM8 {
kEndUserSupport = 0;
kNetworkDiag = 1;
kCrashLogs = 2;
}

enum LogsStatus : ENUM8 {
enum StatusEnum : ENUM8 {
kSuccess = 0;
kExhausted = 1;
kNoLogs = 2;
kBusy = 3;
kDenied = 4;
}

enum LogsTransferProtocol : ENUM8 {
enum TransferProtocolEnum : ENUM8 {
kResponsePayload = 0;
kBdx = 1;
}
Expand All @@ -672,9 +672,9 @@ server cluster DiagnosticLogs = 50 {
readonly attribute int16u clusterRevision = 65533;

request struct RetrieveLogsRequestRequest {
LogsIntent intent = 0;
LogsTransferProtocol requestedProtocol = 1;
OCTET_STRING<32> transferFileDesignator = 2;
IntentEnum intent = 0;
TransferProtocolEnum requestedProtocol = 1;
optional CHAR_STRING<32> transferFileDesignator = 2;
}

command RetrieveLogsRequest(RetrieveLogsRequestRequest): RetrieveLogsResponse = 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -751,21 +751,21 @@ server cluster NetworkCommissioning = 49 {
}

server cluster DiagnosticLogs = 50 {
enum LogsIntent : ENUM8 {
enum IntentEnum : ENUM8 {
kEndUserSupport = 0;
kNetworkDiag = 1;
kCrashLogs = 2;
}

enum LogsStatus : ENUM8 {
enum StatusEnum : ENUM8 {
kSuccess = 0;
kExhausted = 1;
kNoLogs = 2;
kBusy = 3;
kDenied = 4;
}

enum LogsTransferProtocol : ENUM8 {
enum TransferProtocolEnum : ENUM8 {
kResponsePayload = 0;
kBdx = 1;
}
Expand All @@ -778,9 +778,9 @@ server cluster DiagnosticLogs = 50 {
readonly attribute int16u clusterRevision = 65533;

request struct RetrieveLogsRequestRequest {
LogsIntent intent = 0;
LogsTransferProtocol requestedProtocol = 1;
OCTET_STRING<32> transferFileDesignator = 2;
IntentEnum intent = 0;
TransferProtocolEnum requestedProtocol = 1;
optional CHAR_STRING<32> transferFileDesignator = 2;
}

command RetrieveLogsRequest(RetrieveLogsRequestRequest): RetrieveLogsResponse = 0;
Expand Down
12 changes: 6 additions & 6 deletions examples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.matter
Original file line number Diff line number Diff line change
Expand Up @@ -636,21 +636,21 @@ server cluster NetworkCommissioning = 49 {
}

server cluster DiagnosticLogs = 50 {
enum LogsIntent : ENUM8 {
enum IntentEnum : ENUM8 {
kEndUserSupport = 0;
kNetworkDiag = 1;
kCrashLogs = 2;
}

enum LogsStatus : ENUM8 {
enum StatusEnum : ENUM8 {
kSuccess = 0;
kExhausted = 1;
kNoLogs = 2;
kBusy = 3;
kDenied = 4;
}

enum LogsTransferProtocol : ENUM8 {
enum TransferProtocolEnum : ENUM8 {
kResponsePayload = 0;
kBdx = 1;
}
Expand All @@ -663,9 +663,9 @@ server cluster DiagnosticLogs = 50 {
readonly attribute int16u clusterRevision = 65533;

request struct RetrieveLogsRequestRequest {
LogsIntent intent = 0;
LogsTransferProtocol requestedProtocol = 1;
OCTET_STRING<32> transferFileDesignator = 2;
IntentEnum intent = 0;
TransferProtocolEnum requestedProtocol = 1;
optional CHAR_STRING<32> transferFileDesignator = 2;
}

command RetrieveLogsRequest(RetrieveLogsRequestRequest): RetrieveLogsResponse = 0;
Expand Down
12 changes: 6 additions & 6 deletions examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.matter
Original file line number Diff line number Diff line change
Expand Up @@ -783,21 +783,21 @@ server cluster NetworkCommissioning = 49 {
}

server cluster DiagnosticLogs = 50 {
enum LogsIntent : ENUM8 {
enum IntentEnum : ENUM8 {
kEndUserSupport = 0;
kNetworkDiag = 1;
kCrashLogs = 2;
}

enum LogsStatus : ENUM8 {
enum StatusEnum : ENUM8 {
kSuccess = 0;
kExhausted = 1;
kNoLogs = 2;
kBusy = 3;
kDenied = 4;
}

enum LogsTransferProtocol : ENUM8 {
enum TransferProtocolEnum : ENUM8 {
kResponsePayload = 0;
kBdx = 1;
}
Expand All @@ -810,9 +810,9 @@ server cluster DiagnosticLogs = 50 {
readonly attribute int16u clusterRevision = 65533;

request struct RetrieveLogsRequestRequest {
LogsIntent intent = 0;
LogsTransferProtocol requestedProtocol = 1;
OCTET_STRING<32> transferFileDesignator = 2;
IntentEnum intent = 0;
TransferProtocolEnum requestedProtocol = 1;
optional CHAR_STRING<32> transferFileDesignator = 2;
}

command RetrieveLogsRequest(RetrieveLogsRequestRequest): RetrieveLogsResponse = 0;
Expand Down
12 changes: 6 additions & 6 deletions examples/chef/devices/rootnode_doorlock_aNKYAreMXE.matter
Original file line number Diff line number Diff line change
Expand Up @@ -636,21 +636,21 @@ server cluster NetworkCommissioning = 49 {
}

server cluster DiagnosticLogs = 50 {
enum LogsIntent : ENUM8 {
enum IntentEnum : ENUM8 {
kEndUserSupport = 0;
kNetworkDiag = 1;
kCrashLogs = 2;
}

enum LogsStatus : ENUM8 {
enum StatusEnum : ENUM8 {
kSuccess = 0;
kExhausted = 1;
kNoLogs = 2;
kBusy = 3;
kDenied = 4;
}

enum LogsTransferProtocol : ENUM8 {
enum TransferProtocolEnum : ENUM8 {
kResponsePayload = 0;
kBdx = 1;
}
Expand All @@ -663,9 +663,9 @@ server cluster DiagnosticLogs = 50 {
readonly attribute int16u clusterRevision = 65533;

request struct RetrieveLogsRequestRequest {
LogsIntent intent = 0;
LogsTransferProtocol requestedProtocol = 1;
OCTET_STRING<32> transferFileDesignator = 2;
IntentEnum intent = 0;
TransferProtocolEnum requestedProtocol = 1;
optional CHAR_STRING<32> transferFileDesignator = 2;
}

command RetrieveLogsRequest(RetrieveLogsRequestRequest): RetrieveLogsResponse = 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -783,21 +783,21 @@ server cluster NetworkCommissioning = 49 {
}

server cluster DiagnosticLogs = 50 {
enum LogsIntent : ENUM8 {
enum IntentEnum : ENUM8 {
kEndUserSupport = 0;
kNetworkDiag = 1;
kCrashLogs = 2;
}

enum LogsStatus : ENUM8 {
enum StatusEnum : ENUM8 {
kSuccess = 0;
kExhausted = 1;
kNoLogs = 2;
kBusy = 3;
kDenied = 4;
}

enum LogsTransferProtocol : ENUM8 {
enum TransferProtocolEnum : ENUM8 {
kResponsePayload = 0;
kBdx = 1;
}
Expand All @@ -810,9 +810,9 @@ server cluster DiagnosticLogs = 50 {
readonly attribute int16u clusterRevision = 65533;

request struct RetrieveLogsRequestRequest {
LogsIntent intent = 0;
LogsTransferProtocol requestedProtocol = 1;
OCTET_STRING<32> transferFileDesignator = 2;
IntentEnum intent = 0;
TransferProtocolEnum requestedProtocol = 1;
optional CHAR_STRING<32> transferFileDesignator = 2;
}

command RetrieveLogsRequest(RetrieveLogsRequestRequest): RetrieveLogsResponse = 0;
Expand Down
12 changes: 6 additions & 6 deletions examples/chef/devices/rootnode_fan_7N2TobIlOX.matter
Original file line number Diff line number Diff line change
Expand Up @@ -635,21 +635,21 @@ server cluster NetworkCommissioning = 49 {
}

server cluster DiagnosticLogs = 50 {
enum LogsIntent : ENUM8 {
enum IntentEnum : ENUM8 {
kEndUserSupport = 0;
kNetworkDiag = 1;
kCrashLogs = 2;
}

enum LogsStatus : ENUM8 {
enum StatusEnum : ENUM8 {
kSuccess = 0;
kExhausted = 1;
kNoLogs = 2;
kBusy = 3;
kDenied = 4;
}

enum LogsTransferProtocol : ENUM8 {
enum TransferProtocolEnum : ENUM8 {
kResponsePayload = 0;
kBdx = 1;
}
Expand All @@ -662,9 +662,9 @@ server cluster DiagnosticLogs = 50 {
readonly attribute int16u clusterRevision = 65533;

request struct RetrieveLogsRequestRequest {
LogsIntent intent = 0;
LogsTransferProtocol requestedProtocol = 1;
OCTET_STRING<32> transferFileDesignator = 2;
IntentEnum intent = 0;
TransferProtocolEnum requestedProtocol = 1;
optional CHAR_STRING<32> transferFileDesignator = 2;
}

command RetrieveLogsRequest(RetrieveLogsRequestRequest): RetrieveLogsResponse = 0;
Expand Down
Loading

0 comments on commit 1434620

Please sign in to comment.