Changes between Version 10 and Version 11 of WIMXUWI/GPS_Script


Ignore:
Timestamp:
07/22/11 15:42:25 (13 years ago)
Author:
dmeyer@cs.wisc.edu
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WIMXUWI/GPS_Script

    v10 v11  
    1616== Script Configuration ==
    1717
    18 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:
     18Next you should open the config.py file in a text editor and look at the global variable/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:
    1919
    2020{{{
     
    2222#----------------------------------------------------------------------
    2323# Global Variables / Constants
    24 #----------------------------------------------------------------------
    25    
     24#----------------------------------------------------------------------                                       
     25
    2626# Global debug to output console
    2727DEBUG = True
     28
     29# Select internet connection - Function debug mode
     30USE_WIRED_CONNECTION = False
     31USE_WIFI_CONNECTION = False
     32USE_WIMAX_CONNECTION = True
     33
     34# Automatically connect even when disconnected
     35AUTO_CONNECT = True
    2836
    2937# Global to write the date and column headers
    3038WRITE_FILE_HEADER = True
    3139
    32 # Automatically connect even when disconnected
    33 AUTO_CONNECT = True
    34 
    3540# Global for which data set to get
    3641RUN_RSSI = True
    37 RUN_IPERF = False
     42RUN_IPERF = False
     43RUN_PING = True
     44RUN_DOWNLOAD = False
     45GET_LOCATION = True
    3846
    3947# Pause through loop
     
    4250# Directory constants - The name of the file is the date and time
    4351RSSI_DIRECTORY = "./rssi/"
    44 MBPS_DIRECTORY = "./mbps/"
    45 CREATE_DIRS_IF_NOT_EXIST = False
    46 
    47 # wimaxcu constants
    48 SCAN_RSSI_STRING = "RSSI        : "
    49 STATUS_LINK_RSSI_STRING = "RSSI      : "
     52IPERF_DIRECTORY = "./iperf/"
     53WGET_DIRECTORY = "./wget/"
     54PING_DIRECTORY = "./ping/"
     55CREATE_DIRS_IF_NOT_EXIST = True
    5056
    5157# Iperf server
    5258IPERF_SERVER = "iperf.wiscnet.net"
     59
     60# Running a wget comand, the file to download
     61WGET_FILENAME = "1Mtestfile.img"
     62WGET_FILE_URL = "www.cs.wisc.edu/~dmeyer/" + WGET_FILENAME
     63PING_URL = "128.105.22.11"
    5364}}}
    5465
     
    6374Open a command line and cd to the directory of the script and type:
    6475{{{
    65 python gpsData.py
     76python main.py
    6677}}}
    6778