pub fn wifi_state() -> WifiState
Returns the current state of the WiFi stack.
This does not support AP-STA mode. Use one of sta_state or ap_state instead.
sta_state
ap_state