feat(network): improve state handling & add disconnect option
This commit is contained in:
parent
d621fb8936
commit
a5fe9e8d77
4 changed files with 173 additions and 142 deletions
|
|
@ -39,6 +39,7 @@ pub async fn handle_wireless_device(device: WirelessDevice<'_>) -> zbus::Result<
|
|||
ssid,
|
||||
strength,
|
||||
state: state,
|
||||
working: false,
|
||||
},
|
||||
);
|
||||
}
|
||||
|
|
@ -55,4 +56,5 @@ pub struct AccessPoint {
|
|||
pub ssid: String,
|
||||
pub strength: u8,
|
||||
pub state: DeviceState,
|
||||
pub working: bool,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue