esp_wifi::wifi

Function wifi_state

Source
pub fn wifi_state() -> WifiState
Expand description

Returns the current state of the WiFi stack.

This does not support AP-STA mode. Use one of sta_state or ap_state instead.