---------------------------
WARMSTART - OpenGPS
Author: Stephan Esterhuizen
Date: 10 August 2003
----------------------------



This program queries two predict servers, one running on jasmine.colorado.edu
UDP port 1210, and the other predict server running on jasmine.colorado.edu UDP
port 1211. The software obtains a list of visible GPS satellites, computes the
approximate doppler shift for the satellites, and then writes a list of
satellites (from highest elevation to lowest elevation) to stdout in a
channel.txt compattible format. 

Note: If another server is required, then change the 

#define SERVER "jasmine.colorado.edu"

to the server you need.

Sample warmstart output :

# -------------------- Added via warmstart ---------------------

 @ch [0]
 PRN: 7
 dopplerWindowMin: -2718
 dopplerWindowMax: -1718
 dopplerBinSize: 100

 @ch [1]
 PRN: 4
 dopplerWindowMin: 739
 dopplerWindowMax: 1739
 dopplerBinSize: 100

 @ch [2]
 PRN: 9
 dopplerWindowMin: -127
 dopplerWindowMax: 872
 dopplerBinSize: 100

 @ch [3]
 PRN: 22
 dopplerWindowMin: -5207
 dopplerWindowMax: -4207
 dopplerBinSize: 100

# --------------------------- END ----------------------------

Thus warmstart can be used to quickly tell OpenGPS which satellites to look for.
The channel.txt file can be updated by typing:

./warmstart >> ../../input/channel.txt

This will append the output of warmstart to channel.txt. Make sure that other
properties of the channels have already been defined, like sourceSel
codeChipIncrement, etc.
