Changes between Version 3 and Version 4 of WIMXUWI/GPS_Script


Ignore:
Timestamp:
04/28/11 12:16:10 (13 years ago)
Author:
dmeyer@cs.wisc.edu
Comment:

Added global variable and constants, and the subheading script configuration

Legend:

Unmodified
Added
Removed
Modified
  • WIMXUWI/GPS_Script

    v3 v4  
    11= Getting Measurements While Driving for the 6250 in Linux =
    22
     3== Required Packages ==
     4
    35[http://wimax.orbit-lab.org/wiki/WiMAX/30 Directions for 6250][[BR]]
    4 
    5 == Required Packages ==
    66
    77I am using a USB GPS dongle and the required packages for it are gpsd and its dependencies.  For the python script to be able to communicate with gpsd, we will need the python-gps package as well.  The names of the data files created use the current date and time, so as the current file stands, we will need the dateutil python package also.
     
    1010}}}
    1111
     12== Script Configuration ==
     13
     14Next 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
     23DEBUG = True
     24
     25# Global to write the date and column headers
     26WRITE_FILE_HEADER = True
     27
     28# Automatically connect even when disconnected
     29AUTO_CONNECT = True
     30
     31# Global for which data set to get
     32RUN_RSSI = True
     33RUN_IPERF = False
     34
     35# Pause through loop
     36PRESS_ANY_KEY = False
     37TWO_SECOND_WAIT = False
     38
     39# Directory constants
     40RSSI_DIRECTORY = "./rssi/"
     41MBPS_DIRECTORY = "./mbps/"
     42CREATE_DIRS_IF_NOT_EXIST = False
     43
     44# wimaxcu constants
     45SCAN_RSSI_STRING = "RSSI        : "
     46STATUS_LINK_RSSI_STRING = "RSSI      : "
     47
     48# Iperf server
     49IPERF_SERVER = "iperf.wiscnet.net"
     50}}}
     51