pub async fn get_first_iface(
monitor_proxy: &DeviceMonitorProxy,
role: WlanMacRole,
) -> Result<u16, Error>
Expand description
Returns the first iface id with the requested role
§Arguments: 2
monitor_proxy
: a DeviceMonitorProxy- ‘role’ : requested WlanMacRole (client or ap)