pliki z QRG w /var/www/html/CFG, edycja plikow z rotacji

pull/1/head
SP9SKP 2018-04-11 10:13:33 +02:00
rodzic acf0fe28c6
commit a0d80557bf
15 zmienionych plików z 381 dodań i 39 usunięć

7
doc/start/ROTATE 100755
Wyświetl plik

@ -0,0 +1,7 @@
#!/bin/bash
while [ 1 ] ; do
cp /var/www/html/CFG/S0.txt /tmp/sdrcfg2.txt && sleep 40 && cp /var/www/html/CFG/S1.txt /tmp/sdrcfg2.txt && sleep 40 && \
cp /var/www/html/CFG/S2.txt /tmp/sdrcfg2.txt && sleep 40 && cp /var/www/html/CFG/S3.txt /tmp/sdrcfg2.txt && sleep 40 && \
cp /var/www/html/CFG/S4.txt /tmp/sdrcfg2.txt && sleep 40 && cp /var/www/html/CFG/S5.txt /tmp/sdrcfg2.txt && sleep 40
done

Wyświetl plik

@ -2,9 +2,9 @@
/root/SDR/RINEX
cp /root/SDR/sdrcfg0.txt /tmp/sdrcfg0.txt
cp /root/SDR/sdrcfg1.txt /tmp/sdrcfg1.txt
cp /root/SDR/sdrcfg2.txt /tmp/sdrcfg2.txt
cp /var/www/html/CFG/sdrcfg0.txt /tmp/sdrcfg0.txt
cp /var/www/html/CFG/sdrcfg1.txt /tmp/sdrcfg1.txt
cp /var/www/html/CFG/sdrcfg2.txt /tmp/sdrcfg2.txt
mkfifo /root/SDR/fifo0
mkfifo /root/SDR/fifo1
@ -65,4 +65,8 @@ screen -S rd -p sondemod -X stuff $'while [ 1 ] ; do /root/SDR/bin/sondemod -v -
screen -S rd -X screen -t udpgate
screen -S rd -p udpgate -X stuff $'/root/SDR/bin/udpgate4 -v -R 127.0.0.1:4011:4010 -s N0CALL-15 -n 20:/root/SDR/beacon.txt -t 14580 -g poland.aprs2.net:14580 -p APRS_PASS \n'
screen -S rd -X screen -t rotate
screen -S rd -p almanach -X stuff $'/root/SDR/ROTATE \n'
#radiosondy.info

Wyświetl plik

@ -1,7 +0,0 @@
p 5 0
p 8 1
f 405.700 10 0 70 70 12000 #Linda
f 405.300 10 0 70 70 12000 #Linda
f 405.100 10 0 0 70 12000 #Linda
f 404.500 10 0 0 70 12000 #Legionowo-RS41

Wyświetl plik

@ -763,7 +763,8 @@ static void Config(void)
struct PILS * anonym5 = &chan[c].pils;
anonym5->configbaud = 4808UL;
anonym5->demodbaud = (2UL*anonym5->configbaud*65536UL)/adcrate; //4800
initafir(anonym5->afirtab, 0UL, 2200UL, X2C_DIVR((float)(chan[c].configequalizer+80),100.0f));
initafir(anonym5->afirtab, 0UL, 2200UL, X2C_DIVR((float)(chan[c].configequalizer+120),100.0f));
// initafir(anonym5->afirtab, 0UL, 9600UL, X2C_DIVR((float)(chan[c].configequalizer),100.0f));
anonym5->baudfine = 0L;
anonym5->noise = 0.0f;
anonym5->bitlev = 0.0f;

53
www/CFG/S0.txt 100644
Wyświetl plik

@ -0,0 +1,53 @@
p 5 0
p 8 1
f 400.000 10 0 70 0 24000
f 400.020 10 0 70 0 24000
f 400.040 10 0 70 0 24000
f 400.060 10 0 70 0 24000
f 400.080 10 0 70 0 24000
f 400.100 10 0 70 0 24000
f 400.120 10 0 70 0 24000
f 400.140 10 0 70 0 24000
f 400.160 10 0 70 0 24000
f 400.180 10 0 70 0 24000
f 400.200 10 0 70 0 24000
f 400.220 10 0 70 0 24000
f 400.240 10 0 70 0 24000
f 400.260 10 0 70 0 24000
f 400.280 10 0 70 0 24000
f 400.300 10 0 70 0 24000
f 400.320 10 0 70 0 24000
f 400.340 10 0 70 0 24000
f 400.360 10 0 70 0 24000
f 400.380 10 0 70 0 24000
f 400.400 10 0 70 0 24000
f 400.420 10 0 70 0 24000
f 400.440 10 0 70 0 24000
f 400.460 10 0 70 0 24000
f 400.480 10 0 70 0 24000
f 400.500 10 0 70 0 24000
f 400.520 10 0 70 0 24000
f 400.540 10 0 70 0 24000
f 400.560 10 0 70 0 24000
f 400.580 10 0 70 0 24000
f 400.600 10 0 70 0 24000
f 400.620 10 0 70 0 24000
f 400.640 10 0 70 0 24000
f 400.680 10 0 70 0 24000
f 400.700 10 0 70 0 24000
f 400.720 10 0 70 0 24000
f 400.740 10 0 70 0 24000
f 400.780 10 0 70 0 24000
f 400.800 10 0 70 0 24000
f 400.820 10 0 70 0 24000
f 400.840 10 0 70 0 24000
f 400.860 10 0 70 0 24000
f 400.880 10 0 70 0 24000
f 400.900 10 0 70 0 24000
f 400.920 10 0 70 0 24000
f 400.940 10 0 70 0 24000
f 400.960 10 0 70 0 24000
f 400.980 10 0 70 0 24000

53
www/CFG/S1.txt 100644
Wyświetl plik

@ -0,0 +1,53 @@
p 5 0
p 8 1
f 401.000 10 0 70 0 24000
f 401.020 10 0 70 0 24000
f 401.040 10 0 70 0 24000
f 401.060 10 0 70 0 24000
f 401.080 10 0 70 0 24000
f 401.100 10 0 70 0 24000
f 401.120 10 0 70 0 24000
f 401.140 10 0 70 0 24000
f 401.160 10 0 70 0 24000
f 401.180 10 0 70 0 24000
f 401.200 10 0 70 0 24000
f 401.220 10 0 70 0 24000
f 401.240 10 0 70 0 24000
f 401.260 10 0 70 0 24000
f 401.280 10 0 70 0 24000
f 401.300 10 0 70 0 24000
f 401.320 10 0 70 0 24000
f 401.340 10 0 70 0 24000
f 401.360 10 0 70 0 24000
f 401.380 10 0 70 0 24000
f 401.400 10 0 70 0 24000
f 401.420 10 0 70 0 24000
f 401.440 10 0 70 0 24000
f 401.460 10 0 70 0 24000
f 401.480 10 0 70 0 24000
f 401.500 10 0 70 0 24000
f 401.520 10 0 70 0 24000
f 401.540 10 0 70 0 24000
f 401.560 10 0 70 0 24000
f 401.580 10 0 70 0 24000
f 401.600 10 0 70 0 24000
f 401.620 10 0 70 0 24000
f 401.640 10 0 70 0 24000
f 401.680 10 0 70 0 24000
f 401.700 10 0 70 0 24000
f 401.720 10 0 70 0 24000
f 401.740 10 0 70 0 24000
f 401.780 10 0 70 0 24000
f 401.800 10 0 70 0 24000
f 401.820 10 0 70 0 24000
f 401.840 10 0 70 0 24000
f 401.860 10 0 70 0 24000
f 401.880 10 0 70 0 24000
f 401.900 10 0 70 0 24000
f 401.920 10 0 70 0 24000
f 401.940 10 0 70 0 24000
f 401.960 10 0 70 0 24000
f 401.980 10 0 70 0 24000

53
www/CFG/S2.txt 100644
Wyświetl plik

@ -0,0 +1,53 @@
p 5 0
p 8 1
f 402.000 10 0 70 0 24000
f 402.020 10 0 70 0 24000
f 402.040 10 0 70 0 24000
f 402.060 10 0 70 0 24000
f 402.080 10 0 70 0 24000
f 402.100 10 0 70 0 24000
f 402.120 10 0 70 0 24000
f 402.140 10 0 70 0 24000
f 402.160 10 0 70 0 24000
f 402.180 10 0 70 0 24000
f 402.200 10 0 70 0 24000
f 402.220 10 0 70 0 24000
f 402.240 10 0 70 0 24000
f 402.260 10 0 70 0 24000
f 402.280 10 0 70 0 24000
f 402.300 10 0 70 0 24000
f 402.320 10 0 70 0 24000
f 402.340 10 0 70 0 24000
f 402.360 10 0 70 0 24000
f 402.380 10 0 70 0 24000
f 402.400 10 0 70 0 24000
f 402.420 10 0 70 0 24000
f 402.440 10 0 70 0 24000
f 402.460 10 0 70 0 24000
f 402.480 10 0 70 0 24000
f 402.500 10 0 70 0 24000
f 402.520 10 0 70 0 24000
f 402.540 10 0 70 0 24000
f 402.560 10 0 70 0 24000
f 402.580 10 0 70 0 24000
f 402.600 10 0 70 0 24000
f 402.620 10 0 70 0 24000
f 402.640 10 0 70 0 24000
f 402.680 10 0 70 0 24000
f 402.700 10 0 70 0 24000
f 402.720 10 0 70 0 24000
f 402.740 10 0 70 0 24000
f 402.780 10 0 70 0 24000
f 402.800 10 0 70 0 24000
f 402.820 10 0 70 0 24000
f 402.840 10 0 70 0 24000
f 402.860 10 0 70 0 24000
f 402.880 10 0 70 0 24000
f 402.900 10 0 70 0 24000
f 402.920 10 0 70 0 24000
f 402.940 10 0 70 0 24000
f 402.960 10 0 70 0 24000
f 402.980 10 0 70 0 24000

53
www/CFG/S3.txt 100644
Wyświetl plik

@ -0,0 +1,53 @@
p 5 0
p 8 1
f 403.000 10 0 70 0 24000
f 403.020 10 0 70 0 24000
f 403.040 10 0 70 0 24000
f 403.060 10 0 70 0 24000
f 403.080 10 0 70 0 24000
f 403.100 10 0 70 0 24000
f 403.120 10 0 70 0 24000
f 403.140 10 0 70 0 24000
f 403.160 10 0 70 0 24000
f 403.180 10 0 70 0 24000
f 403.200 10 0 70 0 24000
f 403.220 10 0 70 0 24000
f 403.240 10 0 70 0 24000
f 403.260 10 0 70 0 24000
f 403.280 10 0 70 0 24000
f 403.300 10 0 70 0 24000
f 403.320 10 0 70 0 24000
f 403.340 10 0 70 0 24000
f 403.360 10 0 70 0 24000
f 403.380 10 0 70 0 24000
f 403.400 10 0 70 0 24000
f 403.420 10 0 70 0 24000
f 403.440 10 0 70 0 24000
f 403.460 10 0 70 0 24000
f 403.480 10 0 70 0 24000
f 403.500 10 0 70 0 24000
f 403.520 10 0 70 0 24000
f 403.540 10 0 70 0 24000
f 403.560 10 0 70 0 24000
f 403.580 10 0 70 0 24000
f 403.600 10 0 70 0 24000
f 403.620 10 0 70 0 24000
f 403.640 10 0 70 0 24000
f 403.680 10 0 70 0 24000
f 403.700 10 0 70 0 24000
f 403.720 10 0 70 0 24000
f 403.740 10 0 70 0 24000
f 403.780 10 0 70 0 24000
f 403.800 10 0 70 0 24000
f 403.820 10 0 70 0 24000
f 403.840 10 0 70 0 24000
f 403.860 10 0 70 0 24000
f 403.880 10 0 70 0 24000
f 403.900 10 0 70 0 24000
f 403.920 10 0 70 0 24000
f 403.940 10 0 70 0 24000
f 403.960 10 0 70 0 24000
f 403.980 10 0 70 0 24000

53
www/CFG/S4.txt 100644
Wyświetl plik

@ -0,0 +1,53 @@
p 5 0
p 8 1
f 404.000 10 0 70 0 24000
f 404.020 10 0 70 0 24000
f 404.040 10 0 70 0 24000
f 404.060 10 0 70 0 24000
f 404.080 10 0 70 0 24000
f 404.100 10 0 70 0 24000
f 404.120 10 0 70 0 24000
f 404.140 10 0 70 0 24000
f 404.160 10 0 70 0 24000
f 404.180 10 0 70 0 24000
f 404.200 10 0 70 0 24000
f 404.220 10 0 70 0 24000
f 404.240 10 0 70 0 24000
f 404.260 10 0 70 0 24000
f 404.280 10 0 70 0 24000
f 404.300 10 0 70 0 24000
f 404.320 10 0 70 0 24000
f 404.340 10 0 70 0 24000
f 404.360 10 0 70 0 24000
f 404.380 10 0 70 0 24000
f 404.400 10 0 70 0 24000
f 404.420 10 0 70 0 24000
f 404.440 10 0 70 0 24000
f 404.460 10 0 70 0 24000
f 404.480 10 0 70 0 24000
f 404.500 10 0 70 0 24000
f 404.520 10 0 70 0 24000
f 404.540 10 0 70 0 24000
f 404.560 10 0 70 0 24000
f 404.580 10 0 70 0 24000
f 404.600 10 0 70 0 24000
f 404.620 10 0 70 0 24000
f 404.640 10 0 70 0 24000
f 404.680 10 0 70 0 24000
f 404.700 10 0 70 0 24000
f 404.720 10 0 70 0 24000
f 404.740 10 0 70 0 24000
f 404.780 10 0 70 0 24000
f 404.800 10 0 70 0 24000
f 404.820 10 0 70 0 24000
f 404.840 10 0 70 0 24000
f 404.860 10 0 70 0 24000
f 404.880 10 0 70 0 24000
f 404.900 10 0 70 0 24000
f 404.920 10 0 70 0 24000
f 404.940 10 0 70 0 24000
f 404.960 10 0 70 0 24000
f 404.980 10 0 70 0 24000

54
www/CFG/S5.txt 100644
Wyświetl plik

@ -0,0 +1,54 @@
p 5 0
p 8 1
f 405.000 10 0 70 0 24000
f 405.020 10 0 70 0 24000
f 405.040 10 0 70 0 24000
f 405.060 10 0 70 0 24000
f 405.080 10 0 70 0 24000
f 405.100 10 0 70 0 24000
f 405.120 10 0 70 0 24000
f 405.140 10 0 70 0 24000
f 405.160 10 0 70 0 24000
f 405.180 10 0 70 0 24000
f 405.200 10 0 70 0 24000
f 405.220 10 0 70 0 24000
f 405.240 10 0 70 0 24000
f 405.260 10 0 70 0 24000
f 405.280 10 0 70 0 24000
f 405.300 10 0 70 0 24000
f 405.320 10 0 70 0 24000
f 405.340 10 0 70 0 24000
f 405.360 10 0 70 0 24000
f 405.380 10 0 70 0 24000
f 405.400 10 0 70 0 24000
f 405.420 10 0 70 0 24000
f 405.440 10 0 70 0 24000
f 405.460 10 0 70 0 24000
f 405.480 10 0 70 0 24000
f 405.500 10 0 70 0 24000
f 405.520 10 0 70 0 24000
f 405.540 10 0 70 0 24000
f 405.560 10 0 70 0 24000
f 405.580 10 0 70 0 24000
f 405.600 10 0 70 0 24000
f 405.620 10 0 70 0 24000
f 405.640 10 0 70 0 24000
f 405.680 10 0 70 0 24000
f 405.700 10 0 70 0 24000
f 405.720 10 0 70 0 24000
f 405.740 10 0 70 0 24000
f 405.780 10 0 70 0 24000
f 405.800 10 0 70 0 24000
f 405.820 10 0 70 0 24000
f 405.840 10 0 70 0 24000
f 405.860 10 0 70 0 24000
f 405.880 10 0 70 0 24000
f 405.900 10 0 70 0 24000
f 405.920 10 0 70 0 24000
f 405.940 10 0 70 0 24000
f 405.960 10 0 70 0 24000
f 405.980 10 0 70 0 24000
f 405.990 10 0 70 0 24000

Wyświetl plik

@ -3,14 +3,18 @@ p 8 1
f 400.600 10 0 0 60 12000 #poprad
f 401.000 10 0 0 60 12000 #wieden
f 401.100 10 0 0 60 12000 #praga
f 401.465 50 1200 0 0 12000 #pilotSonde
f 401.500 10 0 90 60 12000 #poprad
#f 401.500 10 0 90 60 12000 #poprad
f 401.600 10 28 30 60 12000 #?
#f 402.000 5 0 60 60 12000 #?
f 402.000 2 -6500 60 0 24000 #M10
f 402.000 2 -6400 60 0 12000 #M10
f 402.010 2 0 80 60 12000 #Segedyn
f 402.100 10 0 0 60 12000 #Prosciejow
f 402.200 10 0 70 60 12000 #?
f 402.300 10 0 70 60 12000 #Greifswald
#f 402.470 50 0 0 0 12000 #pilotSonde
f 402.470 30 1200 0 0 12000 #pilotSonde
#f 402.500 10 0 0 60 12000 #nowa
#f 401.465 20 1200 0 0 24000 #pilotSonde
#f 401.464 20 0 0 0 24000 #pilotka
f 401.464 20 1000 80 0 24000 #pilotka
f 402.470 20 0 90 0 24000 #pilotSonde
f 402.471 20 1200 90 0 24000 #pilotSonde

Wyświetl plik

@ -14,5 +14,6 @@ f 403.350 5 0 70 70 12000 #Wiedeń
f 403.100 5 0 70 70 12000 #Łeba,
#f 403.010 5 0 0 60 12000 #Budapeszt-DFM09
f 403.000 5 0 0 70 12000 #Łeba,
f 402.870 20 0 70 60 12000 #Amberg
f 402.900 20 0 60 60 12000 #Amberg
f 402.870 20 0 60 60 12000 #Amberg
f 402.700 20 0 70 60 12000 #Amberg

Wyświetl plik

@ -0,0 +1,7 @@
p 5 0
p 8 1
f 405.700 10 0 70 70 12000 #
f 405.300 10 0 70 70 12000 #
f 405.100 10 0 0 70 12000 #
f 404.500 10 10 0 0 70 #
f 404.100 10 10 0 70 70 #

Wyświetl plik

@ -18,7 +18,7 @@ function getData(){
}
request.open("GET", "sondy.php", true);
request.send(null);
setTimeout('getData()', 1000);
setTimeout('getData()', 2000);
}
function getDataWf(){
nocache = "&nocache="+ Math.random() * 1000000;
@ -49,17 +49,25 @@ function getDataWf(){
?>
>
<div align="center">
<table width="800" border="0" cellpadding="4" cellspacing="0">
<table width="900" border="0" cellpadding="4" cellspacing="0">
<tr><td colspan="2" bgcolor="#66CCFF"><h1 align="center">skpSondeControlPanel</h1></td></tr>
<tr><td valign="top" width="96" bgcolor="#006666">
<input style="width:100px" type="button" onClick="location.href='index.php';" value="SONDY">
<input style="width:120px" type="button" onClick="location.href='index.php';" value="SONDY">
<br><br>
<input style="width:100px" type="button" onClick="location.href='index.php?p=A';" value="SDR WF">
<input style="width:120px" type="button" onClick="location.href='index.php?p=A';" value="SDR WF">
<br><br>
<input style="width:100px" type="button" onClick="location.href='index.php?p=1';" value="SDR #1 freq.">
<input style="width:100px" type="button" onClick="location.href='index.php?p=2';" value="SDR #2 freq.">
<input style="width:100px" type="button" onClick="location.href='index.php?p=3';" value="SDR #3 freq.">
<input style="width:100px" type="button" onClick="location.href='index.php?p=4';" value="SDR #4 freq.">
<?php
$i=0;
$fil = scandir('CFG');
foreach ($fil as $key => $value) {
if (!in_array($value,array(".",".."))){
echo '<input style="width:120px" type="button" onClick="location.href=\'index.php?p='.$i.'\';" value="CFG: '.$value.' ">';
}
$i++;
}
?>
<br><br>
@ -69,10 +77,9 @@ function getDataWf(){
if($p=='0' || $p=='') echo "<p id=\"switch_txt\"></p>";
if($p=='1' || $p=='2' || $p=='3' || $p=='4' ) include 'sdr.php';
if($p>1) include 'sdr.php';
if($p=='A') echo "<p id=\"switch_txt\"></p>";
// include 'wf.php';
?>

Wyświetl plik

@ -2,18 +2,16 @@
$addn=0;
$save=0;
if($p=='1')
$fil="/tmp/sdrcfg0.txt";
if($p=='2')
$fil="/tmp/sdrcfg1.txt";
if($p=='3')
$fil="/tmp/sdrcfg2.txt";
if($p=='4')
$fil="/tmp/sdrcfg3.txt";
$i=0;
$fil = scandir('CFG');
foreach ($fil as $key => $value) {
if (!in_array($value,array(".",".."))){
if($p==$i)
$fil="CFG/".$value;
$fname=$value;
}
$i++;
}
if($_POST["dodaj"]=="Dodaj")
$addn=1;
@ -116,6 +114,7 @@ if (($handle = fopen($fil, "r")) !== FALSE) {
}
}
fclose($handle);
copy($fil,'/tmp/'.$fname);
}
if($addn){
echo '<tr bgcolor=#FFAAAA><td>'.$row.'</td><td><input type="checkbox" name="e[]" value="e0"><br></td><td>FM</td><td><input type="text" name="f[]" maxlength=7 size=4 value="'.$_POST["nqrg"].'"></td>';