Matter::Cluster::GeneralDiagnosticsCluster::NetworkInterfaceInfo
Inherits TLV::Serializable < Struct < Value < Object
Network interface information
Constructors
new(name : String, is_operational : Bool, hardware_address : Bytes, interface_type : InterfaceType, ipv4_addresses : Array(Bytes) = [] of Bytes, ipv6_addresses : Array(Bytes) = [] of Bytes, off_premise_services_reachable_ipv4 : Bool | Nil = nil, off_premise_services_reachable_ipv6 : Bool | Nil = nil)
Sourcenew(any : TLV::Any)
SourceClass methods
from_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian)
Sourcefrom_slice(bytes : Bytes)
Sourcefrom_tlv(any : TLV::Any)
Sourcefrom_tlv(data : Bytes)
SourceInstance methods
hardware_address
Sourcehardware_address=(hardware_address : Bytes)
Sourceipv4_addresses
Sourceipv4_addresses=(ipv4_addresses : Array(Bytes))
Sourceipv6_addresses
Sourceipv6_addresses=(ipv6_addresses : Array(Bytes))
Sourceis_operational=(is_operational : Bool)
Sourceis_operational?
Sourcename
Sourcename=(name : String)
Sourceoff_premise_services_reachable_ipv4
Sourceoff_premise_services_reachable_ipv4=(off_premise_services_reachable_ipv4 : Bool | Nil)
Sourceoff_premise_services_reachable_ipv6
Sourceoff_premise_services_reachable_ipv6=(off_premise_services_reachable_ipv6 : Bool | Nil)
Sourceto_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian) : Nil
Sourceto_slice
Sourceto_tlv(outer_tag : Nil | UInt8 | Tuple(UInt16, UInt16) | Tuple(UInt16, UInt16, UInt16) = nil) : TLV::Any
Sourcetype
Sourcetype=(type : UInt8)
Source