struct Matter::Cluster::Definitions::DiagnosticLogs::RetrieveLogsResponse

Overview

This shall be generated as a response to the RetrieveLogsRequest. The data for this command is shown in the following.

Included Modules

Defined in:

matter/cluster/definitions/diagnostic_logs.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(data : Slice(UInt8)) #

[View source]

Instance Method Detail

def log_content : Slice(UInt8) #

This field shall be included in the command if the Status field has a value of Success or Exhausted. A Node SHOULD utilize this field to transfer the newest diagnostic log entries. This field shall be empty if BDX is requested and the Status field has a value of Success.


[View source]
def log_content=(log_content : Slice(UInt8)) #

This field shall be included in the command if the Status field has a value of Success or Exhausted. A Node SHOULD utilize this field to transfer the newest diagnostic log entries. This field shall be empty if BDX is requested and the Status field has a value of Success.


[View source]
def status : Status #

This field shall indicate the result of an attempt to retrieve diagnostic logs.


[View source]
def status=(status : Status) #

This field shall indicate the result of an attempt to retrieve diagnostic logs.


[View source]
def time_since_boot : UInt64 | Nil #

This field SHOULD be included in the command if the Status field has a value of Success. When included, the TimeSinceBoot field shall contain the time of the oldest log entry in the diagnostic logs that are being transferred represented by the number of microseconds since the last time the Node went through a reboot.


[View source]
def time_since_boot=(time_since_boot : UInt64 | Nil) #

This field SHOULD be included in the command if the Status field has a value of Success. When included, the TimeSinceBoot field shall contain the time of the oldest log entry in the diagnostic logs that are being transferred represented by the number of microseconds since the last time the Node went through a reboot.


[View source]
def utc_time_stamp : UInt64 | Nil #

This field SHOULD be included in the command if the Status field has a value of Success and the Node maintains a wall clock. When included, the UTCTimeStamp field shall contain the value of the oldest log entry in the diagnostic logs that are being transferred.


[View source]
def utc_time_stamp=(utc_time_stamp : UInt64 | Nil) #

This field SHOULD be included in the command if the Status field has a value of Success and the Node maintains a wall clock. When included, the UTCTimeStamp field shall contain the value of the oldest log entry in the diagnostic logs that are being transferred.


[View source]