Matter::Cluster::Definitions::NetworkCommissioning::WiFiInterfaceScanResult
Inherits TLV::Serializable < Struct < Value < Object
WiFiInterfaceScanResultStruct represents a single Wi-Fi network scan result.
Constructors
new(security : UInt8, ssid : Slice(UInt8), bssid : Slice(UInt8), channel : UInt16, band : Band | Nil = nil, rssi : Int8 | Nil = nil)
Sourcenew(any : TLV::Any)
SourceClass methods
from_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian)
Sourcefrom_slice(bytes : Bytes)
Sourcefrom_tlv(any : TLV::Any)
Sourcefrom_tlv(data : Bytes)
SourceInstance methods
band
This field, if present, may be used to differentiate overlapping channel number values across different Wi-Fi frequency bands.
band=(band : Band | Nil)
This field, if present, may be used to differentiate overlapping channel number values across different Wi-Fi frequency bands.
bssid
Sourcebssid=(bssid : Slice(UInt8))
Sourcechannel
Sourcechannel=(channel : UInt16)
Sourcerssi
This field, if present, shall denote the signal strength in dBm of the associated scan result.
rssi=(rssi : Int8 | Nil)
This field, if present, shall denote the signal strength in dBm of the associated scan result.
security
Sourcesecurity=(security : UInt8)
Sourcessid
Sourcessid=(ssid : Slice(UInt8))
Sourceto_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian) : Nil
Sourceto_slice
Sourceto_tlv(outer_tag : Nil | UInt8 | Tuple(UInt16, UInt16) | Tuple(UInt16, UInt16, UInt16) = nil) : TLV::Any
Source