struct

Matter::Cluster::Definitions::OperationalCredentials::TlvNocResponse

Inherits TLV::Serializable < Struct < Value < Object

This command shall be generated in response to the following commands:

• AddNOC

• UpdateNOC

• UpdateFabricLabel

• RemoveFabric

It provides status information about the success or failure of those commands.

Constructors

new(any : TLV::Any)
Source
new(status_code : NodeOperationalCertificateStatus, fabric_index : UInt8 | Nil = nil, debug_text : String | Nil = nil)
Source

Class methods

from_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian)
Source
from_slice(bytes : Bytes)
Source
from_tlv(any : TLV::Any)
Source
from_tlv(data : Bytes)
Source

Instance methods

debug_text

This field may contain debugging textual information from the cluster implementation, which SHOULD NOT be presented to user interfaces in any way. Its purpose is to help developers in troubleshooting errors and the contents may go into logs or crash reports.

Source
debug_text=(debug_text : String | Nil)

This field may contain debugging textual information from the cluster implementation, which SHOULD NOT be presented to user interfaces in any way. Its purpose is to help developers in troubleshooting errors and the contents may go into logs or crash reports.

Source
fabric_index

This field shall be present whenever StatusCode has a value of OK. If present, it shall contain the Fabric Index of the Fabric last added, removed or updated.

Source
fabric_index=(fabric_index : UInt8 | Nil)

This field shall be present whenever StatusCode has a value of OK. If present, it shall contain the Fabric Index of the Fabric last added, removed or updated.

Source
status_code

This field shall contain an NOCStatus value representing the status of an operation involving a NOC.

Source
status_code=(status_code : NodeOperationalCertificateStatus)

This field shall contain an NOCStatus value representing the status of an operation involving a NOC.

Source
to_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian) : Nil
Source
to_slice
Source
to_tlv(outer_tag : Nil | UInt8 | Tuple(UInt16, UInt16) | Tuple(UInt16, UInt16, UInt16) = nil) : TLV::Any
Source