n-m-0.0.1: Utility to call iwconfig.

Portabilityunportable
Stabilityunstable
MaintainerMarco Tlio Gontijo e Silva <marcot@riseup.net>

Network.Cell

Contents

Description

This module provides functions to parse the output of iwlist scan.

Synopsis

Data type

newtype Cell Source

Each available network.

Constructors

Cell [String] 

Instances

getCellsSource

Arguments

:: [String]

Output of iwlist scan

-> [Cell] 

Get the list of available networks, given the output of iwlist scan.

Queries

getQuality :: Cell -> IntSource

Gets the field Quality.

isOpen :: Cell -> BoolSource

Checks whether the network is open.

General

getValueSource

Arguments

:: String
name
-> Cell 
-> String 

Gets the field with name.

Utilities

getOpenEssids :: [Cell] -> [String]Source

Gets the essids of networks that don't use encryption.