pub struct Capabilities<'a> {
pub scan_max_time_seconds: u8,
pub connect_max_time_seconds: u8,
pub wifi_bands: &'a [WiFiBand],
pub thread_features: ThreadCapabilities,
pub thread_version: u16,
}Expand description
The fixed capabilities an instance reports, beyond its network list.
§11.9.6.3 and §11.9.6.4’s timings are WI | TH and have no fallback, so a device has to
state them: ScanMaxTimeSeconds is “the maximum duration taken, in seconds, by the network
interface … to provide scan results”, and ConnectMaxTimeSeconds the same for a
connection, accounting for “obtaining IP addresses, or the execution of necessary internal
retries”. A commissioner sizes its fail-safe from them.
Fields§
§scan_max_time_seconds: u8ScanMaxTimeSeconds (§11.9.6.3).
connect_max_time_seconds: u8ConnectMaxTimeSeconds (§11.9.6.4).
wifi_bands: &'a [WiFiBand]SupportedWiFiBands (§11.9.6.9) — min 1 entry on a Wi-Fi instance.
thread_features: ThreadCapabilitiesSupportedThreadFeatures (§11.9.6.10).
thread_version: u16ThreadVersion (§11.9.6.11) — “the value mapping found in the ‘Version TLV’ section of
Thread specification. For example, Thread 1.3.0 would have ThreadVersion set to 4.”