Expand description
Wi-Fi controls for eave plugins, through iwd’s D-Bus API (D-42): the networks in range, scanning, joining (with a password, through an agent eave serves), leaving, forgetting, and turning Wi-Fi on and off.
The kernel tells eave-net what the connection is; this is only for changing it. Without iwd, or
without permission to use it (iwd allows root and the wheel and network groups), watch
says so instead of failing, and the plugin shows what the kernel knows.
Re-exports§
pub use zbus;
Structs§
- Diagnostics
- What iwd says about the connected network, for a details page.
- Known
- A network iwd remembers.
- Network
- A network in range.
- Station
- A Wi-Fi device in station mode, and what it sees.
- Wifi
- What iwd says about Wi-Fi.
Enums§
Functions§
- connect
- Joins a network iwd remembers, or an open one.
- connect_
with - Joins
networkwithpassphrase. iwd remembers it once it works. - diagnostics
- What iwd knows about the connection right now.
- disconnect
- forget
- Forgets a remembered network: its password, and joining it on its own.
- read
- Wi-Fi now, once: for a widget that wants to know what there is without watching it.
- reason
- A short reason an iwd call failed, fit to show under a password field.
- scan
- Looks for networks again. iwd answers at once and reports what it finds as it goes.
- set_
autoconnect - Whether iwd joins a remembered network on its own when it’s in range.
- set_
powered - Turns the Wi-Fi device on or off.
- watch
- Wi-Fi now, then again after every change iwd signals. Meant to be watched only while something shows it, like an open popover: iwd is chatty while it scans.