Skip to content

Commit

Permalink
Merge pull request #60 from Stefal/web_gui
Browse files Browse the repository at this point in the history
big rework with a web gui
  • Loading branch information
Stefal authored Jun 7, 2020
2 parents 73637de + 21fa15e commit c95245b
Show file tree
Hide file tree
Showing 94 changed files with 19,332 additions and 222 deletions.
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
*.pyc
*~
rtkrcv.nav
.vscode/*
/logs/*
settings.conf
/data/*
/log/*
661 changes: 661 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

292 changes: 224 additions & 68 deletions README.md

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions archive_and_clean.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@ source <( grep = ${BASEDIR}/settings.conf )
cd ${datadir}

#archive and compress previous day's gnss data.
find . -maxdepth 1 -type f -mtime -1 -mmin +60 -name "*.ubx*" -exec tar -jcvf ${archive_name} --remove-files {} +;
#find . -maxdepth 1 -type f -mtime -1 -mmin +60 -name "*.ubx*" -exec tar -jcvf ${archive_name} --remove-files {} +;
find . -maxdepth 1 -type f -mtime -1 -mmin +60 -name "*.ubx*" -exec zip -m9 ${archive_name} {} +;

#delete gnss data older than x days.
find . -maxdepth 1 -type f -name "*.tar.bz2" -mtime +${archive_rotate} -delete
#find . -maxdepth 1 -type f -name "*.tar.bz2" -mtime +${archive_rotate} -delete
find . -maxdepth 1 -type f -name "*.zip" -mtime +${archive_rotate} -delete

2 changes: 1 addition & 1 deletion copy_unit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

BASEDIR=$(dirname "$0")

for file_path in ${BASEDIR}/unit/*.service
for file_path in ${BASEDIR}/unit/*.service ${BASEDIR}/unit/*.timer
do
file_name=$(basename ${file_path})
echo copying ${file_name}
Expand Down
Binary file added images/base_f9p.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/internal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/web_all_settings.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/web_global.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/web_logs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/web_settings.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/web_status.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
78 changes: 78 additions & 0 deletions receiver_cfg/U-Blox_ZED-F9P_rtkbase.old
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
MON-VER - 0A 04 DC 00 45 58 54 20 43 4F 52 45 20 31 2E 30 30 20 28 39 34 65 35 36 65 29 00 00 00 00 00 00 00 00 30 30 31 39 30 30 30 30 00 00 52 4F 4D 20 42 41 53 45 20 30 78 31 31 38 42 32 30 36 30 00 00 00 00 00 00 00 00 00 00 00 46 57 56 45 52 3D 48 50 47 20 31 2E 31 31 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 50 52 4F 54 56 45 52 3D 32 37 2E 31 30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 4D 4F 44 3D 5A 45 44 2D 46 39 50 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 47 50 53 3B 47 4C 4F 3B 47 41 4C 3B 42 44 53 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 51 5A 53 53 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 21 08 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 0A 0B 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 0A 37 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 0A 09 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 0A 02 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 0A 06 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 0A 38 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 0A 07 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 0A 21 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 0A 08 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 22 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 04 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 61 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 39 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 13 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 14 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 09 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 34 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 01 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 02 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 07 00 00 00 01 00 00
CFG-MSG - 06 01 08 00 01 3C 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 35 00 00 00 01 00 00
CFG-MSG - 06 01 08 00 01 43 00 00 00 01 00 00
CFG-MSG - 06 01 08 00 01 03 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 3B 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 24 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 25 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 23 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 20 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 26 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 21 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 11 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 12 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 02 14 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 02 15 00 00 00 01 00 00
CFG-MSG - 06 01 08 00 02 59 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 02 32 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 02 13 00 00 00 01 00 00
CFG-MSG - 06 01 08 00 0D 03 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 0D 01 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 0D 06 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 F0 00 01 01 01 01 01 00
CFG-MSG - 06 01 08 00 F0 01 01 01 01 01 01 00
CFG-MSG - 06 01 08 00 F0 02 01 01 01 01 01 00
CFG-MSG - 06 01 08 00 F0 03 01 01 01 01 01 00
CFG-MSG - 06 01 08 00 F0 04 01 01 01 01 01 00
CFG-MSG - 06 01 08 00 F0 05 01 01 01 01 01 00
CFG-MSG - 06 01 08 00 F0 06 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 F0 07 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 F0 08 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 F0 09 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 F0 0A 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 F0 0D 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 F0 0F 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 F1 00 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 F1 03 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 F1 04 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 F5 05 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 F5 4A 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 F5 4D 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 F5 54 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 F5 57 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 F5 5E 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 F5 61 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 F5 7C 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 F5 7F 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 F5 E6 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 F5 FE 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 F5 FD 00 00 00 00 00 00
CFG-PRT - 06 00 14 00 00 00 00 00 84 00 00 00 00 00 00 00 23 00 23 00 00 00 00 00
CFG-PRT - 06 00 14 00 01 00 00 00 C0 08 00 00 00 C2 01 00 23 00 21 00 00 00 00 00
CFG-PRT - 06 00 14 00 02 00 00 00 C0 08 00 00 00 96 00 00 20 00 20 00 00 00 00 00
CFG-PRT - 06 00 14 00 03 00 00 00 00 00 00 00 00 00 00 00 23 00 21 00 00 00 00 00
CFG-PRT - 06 00 14 00 04 00 00 00 00 32 00 00 00 00 00 00 23 00 23 00 00 00 00 00
CFG-RATE - 06 08 06 00 E8 03 01 00 01 00
CFG-USB - 06 1B 6C 00 46 15 A9 01 00 00 00 00 00 00 02 00 75 2D 62 6C 6F 78 20 41 47 20 2D 20 77 77 77 2E 75 2D 62 6C 6F 78 2E 63 6F 6D 00 00 00 00 00 00 75 2D 62 6C 6F 78 20 47 4E 53 53 20 72 65 63 65 69 76 65 72 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90 changes: 12 additions & 78 deletions receiver_cfg/U-Blox_ZED-F9P_rtkbase.txt
Original file line number Diff line number Diff line change
@@ -1,78 +1,12 @@
MON-VER - 0A 04 DC 00 45 58 54 20 43 4F 52 45 20 31 2E 30 30 20 28 39 34 65 35 36 65 29 00 00 00 00 00 00 00 00 30 30 31 39 30 30 30 30 00 00 52 4F 4D 20 42 41 53 45 20 30 78 31 31 38 42 32 30 36 30 00 00 00 00 00 00 00 00 00 00 00 46 57 56 45 52 3D 48 50 47 20 31 2E 31 31 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 50 52 4F 54 56 45 52 3D 32 37 2E 31 30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 4D 4F 44 3D 5A 45 44 2D 46 39 50 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 47 50 53 3B 47 4C 4F 3B 47 41 4C 3B 42 44 53 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 51 5A 53 53 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 21 08 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 0A 0B 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 0A 37 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 0A 09 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 0A 02 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 0A 06 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 0A 38 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 0A 07 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 0A 21 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 0A 08 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 22 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 04 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 61 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 39 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 13 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 14 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 09 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 34 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 01 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 02 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 07 00 00 00 01 00 00
CFG-MSG - 06 01 08 00 01 3C 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 35 00 00 00 01 00 00
CFG-MSG - 06 01 08 00 01 43 00 00 00 01 00 00
CFG-MSG - 06 01 08 00 01 03 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 3B 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 24 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 25 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 23 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 20 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 26 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 21 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 11 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 12 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 02 14 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 02 15 00 00 00 01 00 00
CFG-MSG - 06 01 08 00 02 59 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 02 32 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 02 13 00 00 00 01 00 00
CFG-MSG - 06 01 08 00 0D 03 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 0D 01 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 0D 06 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 F0 00 01 01 01 01 01 00
CFG-MSG - 06 01 08 00 F0 01 01 01 01 01 01 00
CFG-MSG - 06 01 08 00 F0 02 01 01 01 01 01 00
CFG-MSG - 06 01 08 00 F0 03 01 01 01 01 01 00
CFG-MSG - 06 01 08 00 F0 04 01 01 01 01 01 00
CFG-MSG - 06 01 08 00 F0 05 01 01 01 01 01 00
CFG-MSG - 06 01 08 00 F0 06 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 F0 07 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 F0 08 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 F0 09 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 F0 0A 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 F0 0D 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 F0 0F 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 F1 00 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 F1 03 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 F1 04 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 F5 05 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 F5 4A 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 F5 4D 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 F5 54 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 F5 57 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 F5 5E 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 F5 61 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 F5 7C 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 F5 7F 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 F5 E6 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 F5 FE 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 F5 FD 00 00 00 00 00 00
CFG-PRT - 06 00 14 00 00 00 00 00 84 00 00 00 00 00 00 00 23 00 23 00 00 00 00 00
CFG-PRT - 06 00 14 00 01 00 00 00 C0 08 00 00 00 C2 01 00 23 00 21 00 00 00 00 00
CFG-PRT - 06 00 14 00 02 00 00 00 C0 08 00 00 00 96 00 00 20 00 20 00 00 00 00 00
CFG-PRT - 06 00 14 00 03 00 00 00 00 00 00 00 00 00 00 00 23 00 21 00 00 00 00 00
CFG-PRT - 06 00 14 00 04 00 00 00 00 32 00 00 00 00 00 00 23 00 23 00 00 00 00 00
CFG-RATE - 06 08 06 00 E8 03 01 00 01 00
CFG-USB - 06 1B 6C 00 46 15 A9 01 00 00 00 00 00 00 02 00 75 2D 62 6C 6F 78 20 41 47 20 2D 20 77 77 77 2E 75 2D 62 6C 6F 78 2E 63 6F 6D 00 00 00 00 00 00 75 2D 62 6C 6F 78 20 47 4E 53 53 20 72 65 63 65 69 76 65 72 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
CFG-USBOUTPROT-NMEA,0
CFG-UART1OUTPROT-NMEA,0
CFG-MSGOUT-UBX_RXM_RAWX_USB,1
CFG-MSGOUT-UBX_RXM_RAWX_UART1,1
CFG-MSGOUT-UBX_RXM_SFRBX_USB,1
CFG-MSGOUT-UBX_RXM_SFRBX_UART1,1
CFG-MSGOUT-UBX_NAV_PVT_USB,1
CFG-MSGOUT-UBX_NAV_PVT_UART1,1
CFG-MSGOUT-UBX_NAV_SAT_USB,1
CFG-MSGOUT-UBX_NAV_SAT_UART1,1
CFG-MSGOUT-UBX_NAV_SIG_USB,1
CFG-MSGOUT-UBX_NAV_SIG_UART1,1
3 changes: 3 additions & 0 deletions receiver_cfg/ubxconfig.sh → receiver_cfg/test_ubx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ ver_check ()
{
dev_mon_ver=`dev_mon_ver`
file_mon_ver=`file_mon_ver $1`
echo "Device version: " ${dev_mon_ver}
echo "File version: " ${file_mon_ver}

if [[ ${dev_mon_ver} =~ .*${file_mon_ver}.* ]]
then
Expand Down Expand Up @@ -105,6 +107,7 @@ then
else
return 1
fi
return 1
}

send_ubx ()
Expand Down
35 changes: 35 additions & 0 deletions rtkbase_update.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
#!/bin/bash

### THIS SCRIPT SHOULD NOT BE RUN MANUALLY ###
source_directory=$1
destination_directory=$2
data_dir=$3
old_version=$4
standard_user=$5

echo "remove existing rtkbase.old directory"
rm -rf /var/tmp/rtkbase.old
mkdir /var/tmp/rtkbase.old

echo "copy rtkbase to rtkbase.old except /data directory"
#'shopt -s extglob' is needed for using (!pattern) exclusion pattern
#from inside a script
shopt -s extglob
cp -r ${destination_directory}/!(${data_dir}) /var/tmp/rtkbase.old

echo "copy new release to destination"
cp -rfp ${source_directory}/. ${destination_directory}

echo "delete the line version= in settings.conf"
sed -i '/version=/d' ${destination_directory}/settings.conf

#change rtkbase's content owner
chown -R ${standard_user}:${standard_user} ${destination_directory}

#if a reboot is needed
#sudo reboot now

echo "Restart web server"
sudo systemctl restart rtkbase_web.service


62 changes: 33 additions & 29 deletions run_cast.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,41 +8,45 @@ BASEDIR=$(dirname "$0")
source <( grep = ${BASEDIR}/settings.conf ) #import settings


in_serial="serial://${serial_input}"
in_serial="serial://${com_port}:${com_port_settings}#${receiver_format}"
in_tcp="tcpcli://127.0.0.1:${tcp_port}#${receiver_format}"

out_caster="ntrips://:${svr_pwd}@${svr_addr}:${svr_port}/${mnt_name}#rtcm3 -msg ${rtcm_msg} -p ${position} -i ${receiver}"
out_tcp="tcpsvr://:${tcp_port}"
out_file="file://${datadir}/${file_name}::T::S=${file_rotate_time} -f ${file_overlap_time}"
out_file="file://${datadir}/${file_name}.${receiver_format}::T::S=${file_rotate_time} -f ${file_overlap_time}"
out_rtcm_svr="tcpsvr://:${rtcm_svr_port}#rtcm3 -msg ${rtcm_svr_msg} -p ${position}"


# start NTRIP caster


mkdir -p ${logdir} ${datadir}
mkdir -p ${logdir}

case "$2" in
out_tcp)
#echo ${cast} -in ${!1} -out $out_tcp
# What is this ${!1} ? It's variable indirection
${cast} -in ${!1} -out ${out_tcp} -t ${level} -fl ${logdir}/str2str_tcp.log &
;;

out_caster)
#echo ${cast} -in ${!1} -out $out_caster
${cast} -in ${!1} -out ${out_caster} -t ${level} -fl ${logdir}/str2str_ntrip.log &
;;

out_rtcm_svr)
#echo ${cast} -in ${!1} -out $out_rtcm_svr
${cast} -in ${!1} -out ${out_rtcm_svr} -t ${level} -fl ${logdir}/str2str_rtcm_svr.log &
;;

out_file)
#echo ${cast} -in ${!1} -out $out_caster
${BASEDIR}/check_timesync.sh #wait for a correct date/time before starting to write files
ret=$?
if [ ${ret} -eq 0 ]
then
mkdir -p ${datadir}
${cast} -in ${!1} -out ${out_file} -t ${level} -fl ${logdir}/str2str_file.log &
fi
;;

case "$2" in
out_tcp)
#echo ${cast} -in ${!1} -out $out_tcp
${cast} -in ${!1} -out ${out_tcp} &
;;

out_caster)
#echo ${cast} -in ${!1} -out $out_caster
${cast} -in ${!1} -out ${out_caster} &
;;

out_file)
#echo ${cast} -in ${!1} -out $out_caster
${BASEDIR}/check_timesync.sh #wait for a correct date/time before starting to write files
ret=$?
if [ ${ret} -eq 0 ]
then
${cast} -in ${!1} -out ${out_file} &
fi
;;

esac
esac



Expand Down
38 changes: 0 additions & 38 deletions settings.conf

This file was deleted.

Loading

0 comments on commit c95245b

Please sign in to comment.