pub fn new<'d>(
inited: &'d EspWifiController<'d>,
_device: impl Peripheral<P = 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.