From 6b61a59f096d08360b01a8b554bea31b415cf340 Mon Sep 17 00:00:00 2001 From: Boris Zbarsky Date: Thu, 2 Feb 2023 13:13:19 -0500 Subject: [PATCH] Align diagnostic logs cluster XML to spec changes. Fixes https://github.com/project-chip/connectedhomeip/issues/24826 --- .../chip/diagnostic-logs-cluster.xml | 14 +++++----- .../CHIP/templates/availability.yaml | 26 +++++++++++++++++++ 2 files changed, 33 insertions(+), 7 deletions(-) diff --git a/src/app/zap-templates/zcl/data-model/chip/diagnostic-logs-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/diagnostic-logs-cluster.xml index 2f5f9874c29c1e..6a85e2e946ef9f 100644 --- a/src/app/zap-templates/zcl/data-model/chip/diagnostic-logs-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/diagnostic-logs-cluster.xml @@ -16,13 +16,13 @@ limitations under the License. --> - + - + @@ -30,7 +30,7 @@ limitations under the License. - + @@ -45,13 +45,13 @@ limitations under the License. true Retrieving diagnostic logs from a Node - - - + + + Response to the RetrieveLogsRequest - + diff --git a/src/darwin/Framework/CHIP/templates/availability.yaml b/src/darwin/Framework/CHIP/templates/availability.yaml index 95f83dbe711979..ddc80683e013fc 100644 --- a/src/darwin/Framework/CHIP/templates/availability.yaml +++ b/src/darwin/Framework/CHIP/templates/availability.yaml @@ -5426,6 +5426,10 @@ - OperationErrorEnum - OperatingModeEnum - OperationSourceEnum + DiagnosticLogs: + - IntentEnum + - StatusEnum + - TransferProtocolEnum enum values: OTASoftwareUpdateProvider: OTAApplyUpdateAction: @@ -5668,6 +5672,20 @@ - Heat - Cool - Both + DiagnosticLogs: + IntentEnum: + - EndUserSupport + - NetworkDiag + - CrashLogs + StatusEnum: + - Success + - Exhausted + - NoLogs + - Busy + - Denied + TransferProtocolEnum: + - ResponsePayload + - BDX bitmaps: UnitTesting: - Bitmap8MaskMap @@ -6015,6 +6033,10 @@ - DoorLockSetPinOrIdStatus - DoorLockOperationEventCode - DoorLockProgrammingEventCode + DiagnosticLogs: + - LogsIntent + - LogsStatus + - LogsTransferProtocol enum values: GeneralCommissioning: CommissioningError: @@ -6395,6 +6417,10 @@ OperationSourceEnum: DlOperationSource UserStatusEnum: DlUserStatus UserTypeEnum: DlUserType + DiagnosticLogs: + IntentEnum: LogsIntent + StatusEnum: LogsStatus + TransferProtocolEnum: LogsTransferProtocol enum values: GeneralCommissioning: CommissioningError: