Function esp_wifi::wifi::utils::create_network_interface

source ยท
pub fn create_network_interface<'d, MODE: WifiDeviceMode>(
    inited: &'d EspWifiController<'d>,
    device: impl Peripheral<P = WIFI> + 'd,
    mode: MODE,
) -> Result<(Interface, WifiDevice<'d, MODE>, WifiController<'d>), WifiError>
Expand description

Convenient way to create an smoltcp ethernet interface