Matter::Cluster::Definitions::NetworkCommissioning::ScanNetworksResponse
Inherits TLV::Serializable < Struct < Value < Object
This command shall contain the status of the last ScanNetworks command, and the associated scan results if the operation was successful.
Results are valid only if NetworkingStatus is Success.
Before generating a ScanNetworksResponse, the server shall set the LastNetworkingStatus attribute value to the NetworkingStatus matching the response.
Constructors
new(any : TLV::Any)
Sourcenew(status_code : StatusCode, debug_text : String | Nil = nil, wifi_scan_results : Array(WiFiInterfaceScanResult) | Nil = nil, thread_scan_results : Array(ThreadInterfaceScanResult) | Nil = nil)
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
debug_text
Sourcedebug_text=(debug_text : String | Nil)
Sourcestatus_code
Sourcestatus_code=(status_code : StatusCode)
Sourcethread_scan_results
Sourcethread_scan_results=(thread_scan_results : Array(ThreadInterfaceScanResult) | Nil)
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
Sourcewifi_scan_results
Sourcewifi_scan_results=(wifi_scan_results : Array(WiFiInterfaceScanResult) | Nil)
Source