| 12 | == Script Configuration == |
| 13 | |
| 14 | Next you should open the script in a text editor and look at the global variable and constants. There are options to execute scans for the RSSI values and/or iperf tests. The output to those tests are put in separate directories under the file names based on the current date and time. As it stands, these are the current variables and Constants: |
| 15 | |
| 16 | {{{ |
| 17 | #!python |
| 18 | #---------------------------------------------------------------------- |
| 19 | # Global Variables / Constants |
| 20 | #---------------------------------------------------------------------- |
| 21 | |
| 22 | # Global debug to output console |
| 23 | DEBUG = True |
| 24 | |
| 25 | # Global to write the date and column headers |
| 26 | WRITE_FILE_HEADER = True |
| 27 | |
| 28 | # Automatically connect even when disconnected |
| 29 | AUTO_CONNECT = True |
| 30 | |
| 31 | # Global for which data set to get |
| 32 | RUN_RSSI = True |
| 33 | RUN_IPERF = False |
| 34 | |
| 35 | # Pause through loop |
| 36 | PRESS_ANY_KEY = False |
| 37 | TWO_SECOND_WAIT = False |
| 38 | |
| 39 | # Directory constants |
| 40 | RSSI_DIRECTORY = "./rssi/" |
| 41 | MBPS_DIRECTORY = "./mbps/" |
| 42 | CREATE_DIRS_IF_NOT_EXIST = False |
| 43 | |
| 44 | # wimaxcu constants |
| 45 | SCAN_RSSI_STRING = "RSSI : " |
| 46 | STATUS_LINK_RSSI_STRING = "RSSI : " |
| 47 | |
| 48 | # Iperf server |
| 49 | IPERF_SERVER = "iperf.wiscnet.net" |
| 50 | }}} |
| 51 | |