Skip to main content

start_station

Function start_station 

Source
pub fn start_station(
    spawner: Spawner,
    wifi: WIFI<'static>,
    creds: Credentials<'_>,
) -> Result<Stack<'static>, Error>
Expand description

Starts Wi-Fi in station mode with DHCP and returns the IP stack. Await stack.wait_config_up() before opening sockets.