Portability | Linux |
---|---|
Stability | experimental |
Maintainer | ongy |
Safe Haskell | None |
FormatSignal only makes sense when used in a pollModule. But even in pollModule context updates may take a while because of some buffering by drivers or netlink subsystem.
- getWifiHandle :: [WifiFormat] -> Text -> String -> IO WifiHandle
- data WifiHandle
- data WifiFormat
- = FormatChannel
- | FormatRates
- | FormatName
- | FormatFreq
- | FormatSignal
- | FormatText Text
Documentation
:: [WifiFormat] | Format String for output generation |
-> Text | Text that should be displayed when wifi is disconnected |
-> String | Name of the interface |
-> IO WifiHandle |
Get a wifi handle
data WifiFormat Source
A typesafe version of a format string
FormatChannel | Print the current networks channel |
FormatRates | Print the current network max supported rate (always 54Mbit/s for me) |
FormatName | Print the ESSID of the current network, may look weird because SSIDs are |
FormatFreq | Print the frequency the current network sends on (related to channel) |
FormatSignal | Print link quality (0-100) |
FormatText Text | Print a plaintext string |