struct Matter::Cluster::Definitions::NetworkCommissioning::WiFiInterfaceScanResult

Overview

WiFiInterfaceScanResultStruct represents a single Wi-Fi 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(security : UInt8, ssid : Slice(UInt8), bssid : Slice(UInt8), channel : UInt16, band : Band | Nil = nil, rssi : Int8 | Nil = nil) #

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

[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 band : Band | Nil #

This field, if present, may be used to differentiate overlapping channel number values across different Wi-Fi frequency bands.


[View source]
def band=(band : Band | Nil) #

This field, if present, may be used to differentiate overlapping channel number values across different Wi-Fi frequency bands.


[View source]
def bssid : Slice(UInt8) #

[View source]
def bssid=(bssid : Slice(UInt8)) #

[View source]
def channel : UInt16 #

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

[View source]
def rssi : Int8 | Nil #

This field, if present, shall denote the signal strength in dBm of the associated scan result.


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

This field, if present, shall denote the signal strength in dBm of the associated scan result.


[View source]
def security : UInt8 #

[View source]
def security=(security : UInt8) #

[View source]
def ssid : Slice(UInt8) #

[View source]
def ssid=(ssid : Slice(UInt8)) #

[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]