Queries iwconfig for information
IwconfigQuery constructor
| Param: |
|
|---|
IwconfigQuery constructor
| Param: |
|
|---|
Methods
| __init__(connection[, interface, interval, ...]) | IwconfigQuery constructor |
| check_errors(stderr) | Checks for known errors |
| close() | Closes the event timer |
| log_error(error[, message]) | Logs the error in bold red |
Attributes
| command |
|
||
| event_timer | An EventTimer to track intervals between calling iwconfig | ||
| logger |
|
||
| output | Output of the iwconfig command, refreshed after self.interval second intervals |
Checks for known errors
| Param: |
|
|---|---|
| Raise: | ApeError if an error is found |
Closes the event timer
Logs the error in bold red
| Param: |
|
|---|
| Returns: | MAC address of associated AP |
|---|
| Returns: | bit-rate |
|---|
| Returns: | command to send to connection to query iwconfig |
|---|
| Returns: | the essid from the iwconfig command |
|---|
An EventTimer to track intervals between calling iwconfig
| Returns: | IwconfigExpressions to parse output |
|---|
| Returns: | current frequency |
|---|
| Returns: | count of invalid packets (received only?) |
|---|
| Returns: | link-quality perceived by driver |
|---|
| Returns: | A logging object. |
|---|
| Returns: | the MAC protocol |
|---|
| Returns: | count of beacons not received |
|---|
| Returns: | the mode |
|---|
Output of the iwconfig command, refreshed after self.interval second intervals
| Returns: | count of packets not unencryptable |
|---|
| Returns: | count of packets whose fragments couldn’t be re-assembled |
|---|
| Returns: | count of packets with SSID’s not matching current cell |
|---|
| Returns: | signal level (RSSI) |
|---|
| Returns: | count of packets not successfully transmitted |
|---|
| Returns: | the TX-power for the node |
|---|