struct
Matter::Cluster::GeneralDiagnosticsCluster::NetworkInterfaceInfo
- Matter::Cluster::GeneralDiagnosticsCluster::NetworkInterfaceInfo
- Struct
- Value
- Object
Overview
Network interface information
Included Modules
- TLV::Serializable
Defined in:
matter/cluster/general_diagnostics_cluster.crConstructors
- .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)
- .new(any : TLV::Any)
Class Method Summary
- .from_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian)
- .from_slice(bytes : Bytes)
- .from_tlv(any : TLV::Any)
Instance Method Summary
- #hardware_address : Bytes
- #hardware_address=(hardware_address : Bytes)
-
#interface_type : InterfaceType
Getter to convert back to InterfaceType enum
- #ipv4_addresses : Array(Bytes)
- #ipv4_addresses=(ipv4_addresses : Array(Bytes))
- #ipv6_addresses : Array(Bytes)
- #ipv6_addresses=(ipv6_addresses : Array(Bytes))
- #is_operational : Bool
- #is_operational=(is_operational : Bool)
- #name : String
- #name=(name : String)
- #off_premise_services_reachable_ipv4 : Bool | Nil
- #off_premise_services_reachable_ipv4=(off_premise_services_reachable_ipv4 : Bool | Nil)
- #off_premise_services_reachable_ipv6 : Bool | Nil
- #off_premise_services_reachable_ipv6=(off_premise_services_reachable_ipv6 : Bool | Nil)
- #to_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian) : Nil
- #to_slice : Bytes
- #to_tlv(outer_tag : Nil | UInt8 | Tuple(UInt16, UInt16) | Tuple(UInt16, UInt16, UInt16) = nil) : TLV::Any
- #type : UInt8
- #type=(type : UInt8)
Constructor Detail
def self.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)
#
Class Method Detail
Instance Method Detail
def off_premise_services_reachable_ipv4=(off_premise_services_reachable_ipv4 : Bool | Nil)
#
def off_premise_services_reachable_ipv6=(off_premise_services_reachable_ipv6 : Bool | Nil)
#
def to_tlv(outer_tag : Nil | UInt8 | Tuple(UInt16, UInt16) | Tuple(UInt16, UInt16, UInt16) = nil) : TLV::Any
#