Public Member Functions | |
def | __init__ |
def | getEncryption |
def | getEssid |
def | getFrequency |
def | getKey |
def | getMode |
def | getWirelessName |
Public Attributes | |
freq_flags | |
ifname | |
iwstruct | |
sockfd |
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.
def rocon_python_wifi.iwlibs.WirelessConfig.__init__ | ( | self, | |
ifname | |||
) |
Reimplemented in rocon_python_wifi.iwlibs.WirelessInfo.
def rocon_python_wifi.iwlibs.WirelessConfig.getEssid | ( | self | ) |
def rocon_python_wifi.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
def rocon_python_wifi.iwlibs.WirelessConfig.getMode | ( | self | ) |
Reimplemented in rocon_python_wifi.iwlibs.WirelessInfo.
Reimplemented in rocon_python_wifi.iwlibs.WirelessInfo.
Reimplemented in rocon_python_wifi.iwlibs.WirelessInfo.