esp_wifi::wifi::utils

Function 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