monky-2.2.1.0: A system state collecting library and application

Maintainerongy
Stabilityexperimental
PortabilityLinux
Safe HaskellNone
LanguageHaskell2010

Monky.Examples.Wifi

Description

 

Synopsis

Documentation

getWifiHandle Source #

Arguments

:: [WifiFormat]

Format String for output generation

-> Text

Text that should be displayed when wifi is disconnected

-> String

Name of the interface

-> IO WifiEvtHandle 

Get a wifi handle

getWifiHandle' :: (WifiStats -> Text) -> Text -> String -> IO WifiEvtHandle Source #

Lower level version of getWifiHandle if you need exted information.

data WifiEvtHandle Source #

The handle type for this module

Instances

data WifiFormat Source #

A typesafe version of a format string

Constructors

FormatChannel

Print the current networks channel

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)

FormatText Text

Print a plaintext string