pub fn new<'d>(
_inited: &'d EspWifiController<'d>,
_device: WIFI<'d>,
) -> Result<(WifiController<'d>, Interfaces<'d>), WifiError>
Expand description
Create a WiFi controller and it’s associated interfaces.
Dropping the controller will deinitialize / stop WiFi.
Make sure to not call this function while interrupts are disabled, or IEEE 802.15.4 is currently in use.