struct

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)
Source
new(any : TLV::Any)
Source

Class methods

from_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian)
Source
from_slice(bytes : Bytes)
Source
from_tlv(any : TLV::Any)
Source
from_tlv(data : Bytes)
Source

Instance methods

band

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

Source
band=(band : Band | Nil)

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

Source
bssid
Source
bssid=(bssid : Slice(UInt8))
Source
channel
Source
channel=(channel : UInt16)
Source
rssi

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

Source
rssi=(rssi : Int8 | Nil)

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

Source
security
Source
security=(security : UInt8)
Source
ssid
Source
ssid=(ssid : Slice(UInt8))
Source
to_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian) : Nil
Source
to_slice
Source
to_tlv(outer_tag : Nil | UInt8 | Tuple(UInt16, UInt16) | Tuple(UInt16, UInt16, UInt16) = nil) : TLV::Any
Source