Public Member Functions | Public Attributes
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.


Constructor & Destructor Documentation

Reimplemented in multi_interface_roam.pythonwifi.iwlibs.WirelessInfo.

Definition at line 693 of file iwlibs.py.


Member Function Documentation

Returns the encryption status.

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

Definition at line 714 of file iwlibs.py.

Returns the current ESSID information.

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

Definition at line 769 of file iwlibs.py.

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.

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.

Returns currently set operation mode.

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

Definition at line 787 of file iwlibs.py.

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 693 of file iwlibs.py.

Definition at line 693 of file iwlibs.py.

Reimplemented in multi_interface_roam.pythonwifi.iwlibs.WirelessInfo.

Definition at line 693 of file iwlibs.py.

Reimplemented in multi_interface_roam.pythonwifi.iwlibs.WirelessInfo.

Definition at line 693 of file iwlibs.py.

Reimplemented in multi_interface_roam.pythonwifi.iwlibs.WirelessInfo.

Definition at line 693 of file iwlibs.py.


The documentation for this class was generated from the following file:


multi_interface_roam
Author(s): Blaise Gassend
autogenerated on Thu Jan 2 2014 11:26:16