struct
Matter::Cluster::Definitions::NetworkCommissioning::ThreadInterfaceScanResult
Overview
ThreadInterfaceScanResultStruct represents a single Thread network scan result.
Included Modules
- TLV::Serializable
Defined in:
matter/cluster/definitions/network_commissioning.crConstructors
- .new(any : TLV::Any)
- .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)
Class Method Summary
- .from_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian)
- .from_slice(bytes : Bytes)
- .from_tlv(any : TLV::Any)
- .from_tlv(data : Bytes)
Instance Method Summary
- #channel : UInt16 | Nil
- #channel=(channel : UInt16 | Nil)
-
#extended_address : Slice(UInt8) | Nil
ExtendedAddress stands for an IEEE 802.15.4 Extended Address.
-
#extended_address=(extended_address : Slice(UInt8) | Nil)
ExtendedAddress stands for an IEEE 802.15.4 Extended Address.
- #extended_pan_id : UInt64 | Nil
- #extended_pan_id=(extended_pan_id : UInt64 | Nil)
- #lqi : UInt8 | Nil
- #lqi=(lqi : UInt8 | Nil)
- #network_name : String | Nil
- #network_name=(network_name : String | Nil)
- #pan_id : UInt16 | Nil
- #pan_id=(pan_id : UInt16 | Nil)
- #rssi : Int8 | Nil
- #rssi=(rssi : Int8 | 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
- #version : UInt8 | Nil
- #version=(version : UInt8 | Nil)
Constructor Detail
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)
#
Class Method Detail
Instance Method Detail
def extended_address : Slice(UInt8) | Nil
#
ExtendedAddress stands for an IEEE 802.15.4 Extended Address.
def extended_address=(extended_address : Slice(UInt8) | Nil)
#
ExtendedAddress stands for an IEEE 802.15.4 Extended Address.
def to_tlv(outer_tag : Nil | UInt8 | Tuple(UInt16, UInt16) | Tuple(UInt16, UInt16, UInt16) = nil) : TLV::Any
#