Generate DiagnosticLogsCluster using Alchemy (#38668)
* Generate DiagnosticLogsCluster using Alchemy
* Update lighting-app matter file
diff --git a/examples/contact-sensor-app/bouffalolab/data_model/contact-sensor-app.matter b/examples/contact-sensor-app/bouffalolab/data_model/contact-sensor-app.matter
index 225b956..a97b69e 100644
--- a/examples/contact-sensor-app/bouffalolab/data_model/contact-sensor-app.matter
+++ b/examples/contact-sensor-app/bouffalolab/data_model/contact-sensor-app.matter
@@ -1113,7 +1113,7 @@
/** The cluster provides commands for retrieving unstructured diagnostic logs from a Node that may be used to aid in diagnostics. */
cluster DiagnosticLogs = 50 {
- revision 1; // NOTE: Default/not specifically set
+ revision 1;
enum IntentEnum : enum8 {
kEndUserSupport = 0;
@@ -1148,12 +1148,12 @@
response struct RetrieveLogsResponse = 1 {
StatusEnum status = 0;
- long_octet_string logContent = 1;
+ long_octet_string<1024> logContent = 1;
optional epoch_us UTCTimeStamp = 2;
optional systime_us timeSinceBoot = 3;
}
- /** Retrieving diagnostic logs from a Node */
+ /** Reception of this command starts the process of retrieving diagnostic logs from a Node. */
command RetrieveLogsRequest(RetrieveLogsRequestRequest): RetrieveLogsResponse = 0;
}
diff --git a/examples/contact-sensor-app/contact-sensor-common/contact-sensor-app.matter b/examples/contact-sensor-app/contact-sensor-common/contact-sensor-app.matter
index 26ddf6b..ae6840f 100644
--- a/examples/contact-sensor-app/contact-sensor-common/contact-sensor-app.matter
+++ b/examples/contact-sensor-app/contact-sensor-common/contact-sensor-app.matter
@@ -1021,7 +1021,7 @@
/** The cluster provides commands for retrieving unstructured diagnostic logs from a Node that may be used to aid in diagnostics. */
cluster DiagnosticLogs = 50 {
- revision 1; // NOTE: Default/not specifically set
+ revision 1;
enum IntentEnum : enum8 {
kEndUserSupport = 0;
@@ -1056,12 +1056,12 @@
response struct RetrieveLogsResponse = 1 {
StatusEnum status = 0;
- long_octet_string logContent = 1;
+ long_octet_string<1024> logContent = 1;
optional epoch_us UTCTimeStamp = 2;
optional systime_us timeSinceBoot = 3;
}
- /** Retrieving diagnostic logs from a Node */
+ /** Reception of this command starts the process of retrieving diagnostic logs from a Node. */
command RetrieveLogsRequest(RetrieveLogsRequestRequest): RetrieveLogsResponse = 0;
}
diff --git a/examples/contact-sensor-app/nxp/zap-lit/contact-sensor-app.matter b/examples/contact-sensor-app/nxp/zap-lit/contact-sensor-app.matter
index 007ce5c..b0b08f3 100644
--- a/examples/contact-sensor-app/nxp/zap-lit/contact-sensor-app.matter
+++ b/examples/contact-sensor-app/nxp/zap-lit/contact-sensor-app.matter
@@ -1021,7 +1021,7 @@
/** The cluster provides commands for retrieving unstructured diagnostic logs from a Node that may be used to aid in diagnostics. */
cluster DiagnosticLogs = 50 {
- revision 1; // NOTE: Default/not specifically set
+ revision 1;
enum IntentEnum : enum8 {
kEndUserSupport = 0;
@@ -1056,12 +1056,12 @@
response struct RetrieveLogsResponse = 1 {
StatusEnum status = 0;
- long_octet_string logContent = 1;
+ long_octet_string<1024> logContent = 1;
optional epoch_us UTCTimeStamp = 2;
optional systime_us timeSinceBoot = 3;
}
- /** Retrieving diagnostic logs from a Node */
+ /** Reception of this command starts the process of retrieving diagnostic logs from a Node. */
command RetrieveLogsRequest(RetrieveLogsRequestRequest): RetrieveLogsResponse = 0;
}
diff --git a/examples/contact-sensor-app/nxp/zap-sit/contact-sensor-app.matter b/examples/contact-sensor-app/nxp/zap-sit/contact-sensor-app.matter
index 13fc209..25d6e14 100644
--- a/examples/contact-sensor-app/nxp/zap-sit/contact-sensor-app.matter
+++ b/examples/contact-sensor-app/nxp/zap-sit/contact-sensor-app.matter
@@ -1021,7 +1021,7 @@
/** The cluster provides commands for retrieving unstructured diagnostic logs from a Node that may be used to aid in diagnostics. */
cluster DiagnosticLogs = 50 {
- revision 1; // NOTE: Default/not specifically set
+ revision 1;
enum IntentEnum : enum8 {
kEndUserSupport = 0;
@@ -1056,12 +1056,12 @@
response struct RetrieveLogsResponse = 1 {
StatusEnum status = 0;
- long_octet_string logContent = 1;
+ long_octet_string<1024> logContent = 1;
optional epoch_us UTCTimeStamp = 2;
optional systime_us timeSinceBoot = 3;
}
- /** Retrieving diagnostic logs from a Node */
+ /** Reception of this command starts the process of retrieving diagnostic logs from a Node. */
command RetrieveLogsRequest(RetrieveLogsRequestRequest): RetrieveLogsResponse = 0;
}