Function esp_wifi::wifi::new_ap_sta
source ยท pub fn new_ap_sta<'d>(
inited: &'d EspWifiController<'d>,
device: impl Peripheral<P = WIFI> + 'd,
) -> Result<(WifiDevice<'d, WifiApDevice>, WifiDevice<'d, WifiStaDevice>, WifiController<'d>), WifiError>
Expand description
Creates a new WifiDevice and WifiController in AP-STA mode, with a default configuration.
Returns a tuple of (AP device, STA device, controller)
.