struct Matter::Cluster::Definitions::NetworkCommissioning::ThreadInterfaceScanResult

Overview

ThreadInterfaceScanResultStruct represents a single Thread network scan result.

Included Modules

Defined in:

matter/cluster/definitions/network_commissioning.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(any : TLV::Any) #

[View source]
def self.new(pan_id : UInt16 | Nil = nil, extended_pan_id : UInt64 | Nil = nil, network_name : String | Nil = nil, channel : UInt16 | Nil = nil, version : UInt8 | Nil = nil, extended_address : Slice(UInt8) | Nil = nil, rssi : Int8 | Nil = nil, lqi : UInt8 | Nil = nil) #

[View source]

Class Method Detail

def self.from_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian) #

[View source]
def self.from_slice(bytes : Bytes) #

[View source]
def self.from_tlv(any : TLV::Any) #

[View source]
def self.from_tlv(data : Bytes) #

[View source]

Instance Method Detail

def channel : UInt16 | Nil #

[View source]
def channel=(channel : UInt16 | Nil) #

[View source]
def extended_address : Slice(UInt8) | Nil #

ExtendedAddress stands for an IEEE 802.15.4 Extended Address.


[View source]
def extended_address=(extended_address : Slice(UInt8) | Nil) #

ExtendedAddress stands for an IEEE 802.15.4 Extended Address.


[View source]
def extended_pan_id : UInt64 | Nil #

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

[View source]
def lqi : UInt8 | Nil #

[View source]
def lqi=(lqi : UInt8 | Nil) #

[View source]
def network_name : String | Nil #

[View source]
def network_name=(network_name : String | Nil) #

[View source]
def pan_id : UInt16 | Nil #

[View source]
def pan_id=(pan_id : UInt16 | Nil) #

[View source]
def rssi : Int8 | Nil #

[View source]
def rssi=(rssi : Int8 | Nil) #

[View source]
def to_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian) : Nil #

[View source]
def to_slice : Bytes #

[View source]
def to_tlv(outer_tag : Nil | UInt8 | Tuple(UInt16, UInt16) | Tuple(UInt16, UInt16, UInt16) = nil) : TLV::Any #

[View source]
def version : UInt8 | Nil #

[View source]
def version=(version : UInt8 | Nil) #

[View source]