1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN"
2 "http://www.w3.org/TR/html40/loose.dtd">
7 <title>HappyDoc Generated Documentation
</title>
10 <body bgcolor=
"#ffffff">
13 <table border=
"0" cellpadding=
"5" cellspacing=
"0" width=
"100%">
19 bgcolor=
"#88bbee"><font color=
"#000000">HappyDoc Generated Documentation
</font>
23 align=
"right"><font color=
"#000000">wifi-radar.py
</font>
28 <table border=
"0" cellpadding=
"5" cellspacing=
"0" width=
"100%">
37 <font color=
"#000000">
38 <a name=
"">Functions
</a>
46 <font color=
"#000000"> </font>
51 <table border=
"0" cellpadding=
"5" cellspacing=
"0" width=
"100%">
60 <font color=
"#000000">
61 <a name=
"scanning_thread"></a>
69 <font color=
"#000000">scanning_thread
</font>
84 <p>Scan for a limited time and return AP names and bssid found.
85 Access points we find will be put on the outgoing Queue, apQueue.
</p>
88 <dt> <code>confFile
</code></dt>
89 <dd>ConfigFile - Config file object
</dd>
90 <dt> <code>apQueue
</code></dt>
91 <dd>Queue - Queue on which to put AP profiles
</dd>
92 <dt> <code>commandQueue
</code></dt>
93 <dd>Queue - Queue from which to read commands
</dd>
94 <dt> <code>logger
</code></dt>
95 <dd>Logger - Python's logging facility
</dd>
100 </table><table border=
"0" cellpadding=
"5" cellspacing=
"0" width=
"100%">
103 <th bgcolor=
"#99ccff"
109 <font color=
"#000000">
110 <a name=
"split_section_name"></a>
113 <th bgcolor=
"#99ccff"
118 <font color=
"#000000">split_section_name
</font>
124 split_section_name ( section )
127 <p>Split a config file section name into an essid and a bssid
</p>
130 <dt> <code>section
</code></dt>
131 <dd>string - Config file section name
</dd>
136 <dd>the essid and bssid
</dd>
139 </table><table border=
"0" cellpadding=
"5" cellspacing=
"0" width=
"100%">
142 <th bgcolor=
"#99ccff"
148 <font color=
"#000000">
149 <a name=
"get_new_profile"></a>
152 <th bgcolor=
"#99ccff"
157 <font color=
"#000000">get_new_profile
</font>
166 <p>Return a blank profile
</p>
172 <dd>An AP profile with defaults set.
</dd>
175 </table><table border=
"0" cellpadding=
"5" cellspacing=
"0" width=
"100%">
178 <th bgcolor=
"#99ccff"
184 <font color=
"#000000">
185 <a name=
"say"></a>
188 <th bgcolor=
"#99ccff"
193 <font color=
"#000000">say
</font>
202 <p>Speak feedback message to user
</p>
205 <dt> <code>words
</code></dt>
206 <dd>string - Message to speak to user
</dd>
211 </table><table border=
"0" cellpadding=
"5" cellspacing=
"0" width=
"100%">
214 <th bgcolor=
"#99ccff"
220 <font color=
"#000000">
221 <a name=
"make_section_name"></a>
224 <th bgcolor=
"#99ccff"
229 <font color=
"#000000">make_section_name
</font>
235 make_section_name ( essid, bssid )
238 <p>Combine essid and bssid to make a config file section name
</p>
241 <dt> <code>essid
</code></dt>
242 <dd>string - AP ESSID
</dd>
243 <dt> <code>bssid
</code></dt>
244 <dd>string - AP BSSID
</dd>
249 <dd>the bssid concatenated to a colon, concatenated to the essid
</dd>
252 </table><table border=
"0" cellpadding=
"5" cellspacing=
"0" width=
"100%">
255 <th bgcolor=
"#99ccff"
261 <font color=
"#000000">
262 <a name=
"shellcmd"></a>
265 <th bgcolor=
"#99ccff"
270 <font color=
"#000000">shellcmd
</font>
276 shellcmd ( command, environment=None )
279 <p>Run commands through the shell
</p>
282 <dt> <code>command
</code></dt>
283 <dd>tuple - The command and arguments to run.
</dd>
284 <dt> <code>environment
</code></dt>
285 <dd>dictionary - Environment variables (as keys) and their values.
</dd>
290 <dd>True on success, otherwise, False
</dd>
293 </table><table border=
"0" cellpadding=
"5" cellspacing=
"0" width=
"100%">
296 <th bgcolor=
"#99ccff"
302 <font color=
"#000000">
303 <a name=
"set_network_device"></a>
306 <th bgcolor=
"#99ccff"
311 <font color=
"#000000">set_network_device
</font>
317 set_network_device ( device )
320 <p>Sets the interface to the specified network device
</p>
323 <dt> <code>device
</code></dt>
324 <dd>string - The network device to use
</dd>
330 </table><table border=
"0" cellpadding=
"5" cellspacing=
"0" width=
"100%">
333 <th bgcolor=
"#99ccff"
339 <font color=
"#000000">
340 <a name=
"">Classes
</a>
343 <th bgcolor=
"#99ccff"
348 <font color=
"#000000"> </font>
353 <!-- writeDescriptiveList -->
354 <table border=
"0" cellpadding=
"3" cellspacing=
"0">
357 <td valign=
"top"><p><a href=
"wifi-radar.py/StatusWindow.html">StatusWindow
</a></p></td>
359 <p>A simple class for putting up a
"Please wait" dialog so the user
</p>
364 <td valign=
"top"><p><a href=
"wifi-radar.py/file_browse_button.html">file_browse_button
</a></p></td>
366 <p>Button to allow user to choose a file and put value into specified gtk.Entry
</p>
371 <td valign=
"top"><p><a href=
"wifi-radar.py/preferences_dialog.html">preferences_dialog
</a></p></td>
373 <p>The preferences dialog. Edits non-profile sections of the config file.
</p>
378 <td valign=
"top"><p><a href=
"wifi-radar.py/ConnectionManager.html">ConnectionManager
</a></p></td>
380 <p>Manage a connection; including reporting connection state,
</p>
385 <td valign=
"top"><p><a href=
"wifi-radar.py/ConfigFile.html">ConfigFile
</a></p></td>
387 <p>Manage the configuration for the application, including reading and writing the config from/to a file.
</p>
392 <td valign=
"top"><p><a href=
"wifi-radar.py/profile_dialog.html">profile_dialog
</a></p></td>
394 <p>Edit and return an AP profile.
</p>
399 <td valign=
"top"><p><a href=
"wifi-radar.py/about_dialog.html">about_dialog
</a></p></td>
401 <p>Manage a GTK About Dialog
</p>
406 <td valign=
"top"><p><a href=
"wifi-radar.py/ErrorDialog.html">ErrorDialog
</a></p></td>
408 <p>Simple dialog to report an error to the user.
</p>
413 <td valign=
"top"><p><a href=
"wifi-radar.py/radar_window.html">radar_window
</a></p></td>
415 <p>The main user interface window for WiFi Radar. This class also is the control
</p>
426 <font size=
"-2"><i>This document was automatically generated
427 Sun Apr
19 14:
31:
33 2009 by
<a
428 href=
"http://happydoc.sourceforge.net">HappyDoc
</a> version