struct

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)
Source
new(any : TLV::Any)
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

hardware_address
Source
hardware_address=(hardware_address : Bytes)
Source
interface_type

Getter to convert back to InterfaceType enum

Source
ipv4_addresses
Source
ipv4_addresses=(ipv4_addresses : Array(Bytes))
Source
ipv6_addresses
Source
ipv6_addresses=(ipv6_addresses : Array(Bytes))
Source
is_operational=(is_operational : Bool)
Source
is_operational?
Source
name
Source
name=(name : String)
Source
off_premise_services_reachable_ipv4
Source
off_premise_services_reachable_ipv4=(off_premise_services_reachable_ipv4 : Bool | Nil)
Source
off_premise_services_reachable_ipv6
Source
off_premise_services_reachable_ipv6=(off_premise_services_reachable_ipv6 : Bool | Nil)
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
type
Source
type=(type : UInt8)
Source