$search

multi_interface_roam::pythonwifi::iwlibs::WirelessConfig Class Reference

Inheritance diagram for multi_interface_roam::pythonwifi::iwlibs::WirelessConfig:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def __init__
def getEncryption
def getEssid
def getFrequency
def getKey
def getMode
def getWirelessName

Public Attributes

 essid_on
 freq_flags
 ifname
 iwstruct
 sockfd

Detailed Description

Low level access to wireless information on a device.  This class
    contains only those things absolutely needed to configure a card.

    WirelessConfig implements the wireless_config struct in iwlib.h.
    It will probably never be called directly, but instead be used via
    WirelessInfo.

Definition at line 683 of file iwlibs.py.


Member Function Documentation

def multi_interface_roam::pythonwifi::iwlibs::WirelessConfig::__init__ (   self,
  ifname 
)

Reimplemented in multi_interface_roam::pythonwifi::iwlibs::WirelessInfo.

Definition at line 693 of file iwlibs.py.

def multi_interface_roam::pythonwifi::iwlibs::WirelessConfig::getEncryption (   self  ) 
Returns the encryption status.

    >>> from iwlibs import Wireless
    >>> wifi = Wireless('eth1')
    >>> wifi.getEncryption()
    'off'

Definition at line 714 of file iwlibs.py.

def multi_interface_roam::pythonwifi::iwlibs::WirelessConfig::getEssid (   self  ) 
Returns the current ESSID information.

    >>> from iwlibs import Wireless
    >>> wifi = Wireless('eth1')
    >>> wifi.getEssid()
    'romanofski'

Definition at line 769 of file iwlibs.py.

def multi_interface_roam::pythonwifi::iwlibs::WirelessConfig::getFrequency (   self  ) 
Returns currently set frequency of the card.

    >>> from iwlibs import Wireless
    >>> wifi = Wireless('eth1')
    >>> wifi.getFrequency()
    '2.417 GHz'

Definition at line 733 of file iwlibs.py.

def multi_interface_roam::pythonwifi::iwlibs::WirelessConfig::getKey (   self,
  key = 0 
)
Get an encryption key.

    key 0 is current key, otherwise, retrieve specific key (1-4)

    As a normal user, you will get an 'Operation not permitted'
    error:

    >>> from iwlibs import Wireless
    >>> wifi_conf = WirelessConfig('eth1')
    >>> isinstance(wifi_conf.getKey(), Iwpoint)
    True

Definition at line 746 of file iwlibs.py.

def multi_interface_roam::pythonwifi::iwlibs::WirelessConfig::getMode (   self  ) 
Returns currently set operation mode.

    >>> from iwlibs import Wireless
    >>> wifi = Wireless('eth1')
    >>> wifi.getMode()
    'Managed'

Definition at line 787 of file iwlibs.py.

def multi_interface_roam::pythonwifi::iwlibs::WirelessConfig::getWirelessName (   self  ) 
Returns the wireless name.

    >>> from iwlibs import Wireless
    >>> wifi = Wireless('eth1')
    >>> wifi.getWirelessName()
    'IEEE 802.11-DS'

Definition at line 701 of file iwlibs.py.


Member Data Documentation

Definition at line 699 of file iwlibs.py.

Definition at line 698 of file iwlibs.py.

Reimplemented in multi_interface_roam::pythonwifi::iwlibs::WirelessInfo.

Definition at line 695 of file iwlibs.py.

Reimplemented in multi_interface_roam::pythonwifi::iwlibs::WirelessInfo.

Definition at line 696 of file iwlibs.py.

Reimplemented in multi_interface_roam::pythonwifi::iwlibs::WirelessInfo.

Definition at line 694 of file iwlibs.py.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


multi_interface_roam
Author(s): Blaise Gassend
autogenerated on Fri Mar 1 16:01:36 2013