split out scripts, patch
parent
09a1f80c3e
commit
78e6f973e4
|
@ -0,0 +1,13 @@
|
|||
--- galmon-0.20220307.orig/septool.cc 2022-04-14 23:06:38.000000000 +0000
|
||||
+++ galmon-0.20220307/septool.cc 2022-06-14 23:31:26.962133157 +0000
|
||||
@@ -376,8 +376,8 @@
|
||||
nmm.mutable_od()->set_clockaccuracyns(0);
|
||||
nmm.mutable_od()->set_freqaccuracyps(0);
|
||||
|
||||
- nmm.mutable_od()->set_owner("Septentrio");
|
||||
- nmm.mutable_od()->set_remark("");
|
||||
+ nmm.mutable_od()->set_owner("Jeff Moe SpaceCruft");
|
||||
+ nmm.mutable_od()->set_remark("Colorado, USA | Traverse Ten64 | Septentrio simpleRTK3B USB");
|
||||
nmm.mutable_od()->set_recvgithash(g_gitHash);
|
||||
nmm.mutable_od()->set_uptime(time(0) - starttime);
|
||||
ns.emitNMM( nmm);
|
|
@ -0,0 +1,20 @@
|
|||
#!/bin/bash
|
||||
|
||||
septool \
|
||||
--quiet true \
|
||||
--source 192.168.3.1:29000 \
|
||||
--destination submit.galmon.eu \
|
||||
--station 201
|
||||
|
||||
|
||||
exit
|
||||
--stdout \
|
||||
--owner 'Jeff Moe SpaceCruft' \
|
||||
--remark \
|
||||
'Colorado, USA | Traverse Ten64 | simpleRTK3B USB | Calibrated Survey GNSS Tripleband + L-band antenna' \
|
||||
--gps \
|
||||
--galileo \
|
||||
--beidou \
|
||||
--glonass \
|
||||
|
||||
--stdout \
|
|
@ -0,0 +1,14 @@
|
|||
[Unit]
|
||||
Description=galmon septool
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/local/bin/spacecruft-galmon-septool
|
||||
User=debian
|
||||
Group=debian
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
@ -0,0 +1,27 @@
|
|||
# Copyright 2020 AHU Holding BV - bert@hubertnet.nl - https://berthub.eu/
|
||||
# https://galmon.eu - https://github.com/ahupowerdns/galmon
|
||||
# This package is free software: /usr/share/common-licenses/GPL-3
|
||||
#
|
||||
# INSTRUCTIONS:
|
||||
# (Pre-condition: "dmesg | tail" reports your GPS device appears on /dev/ttyACM0.)
|
||||
# Copy this file from /etc/default/galmon to /etc/default/ubxtool-ttyACM0
|
||||
# Please choose your constellations, update the owner and remark, and set your station and destination (ipv6 supported)
|
||||
# After customization, start the daemon:
|
||||
# systemctl enable --now ubxtool@ttyACM0 && journalctl -fu ubxtool
|
||||
# If you want, enable automatic upgrades at boot and every three days following:
|
||||
# systemctl enable --now galmon-upgrade.timer
|
||||
# If you have several devices, enable multiple services with their unique device names.
|
||||
#
|
||||
# FOR HELP:
|
||||
# Review the Operator.md file: https://github.com/ahupowerdns/galmon/blob/master/Operator.md
|
||||
# Download an IRC client like Textual (Mac) or HexChat (Windows). Join #galileo on the OFTC servers.
|
||||
# Thank you for contributing, it is nice to see data from your location on the map.
|
||||
#
|
||||
#
|
||||
# DO NOT SET THE "PORT" OPTION HERE.
|
||||
# The device is set by an argument to service, see above.
|
||||
#
|
||||
# uBlox ZED F9T and F9P modules support all four major constellations simultaneously but not SBAS.
|
||||
#
|
||||
DAEMON_OPTS="--owner 'Jeff Moe SpaceCruft' --remark 'Colorado, USA | Traverse Ten64 | simpleRTK2B-mPCIe' --gps --galileo --beidou --glonass --station XXX --destination XXX.submit.galmon.eu"
|
||||
|
Loading…
Reference in New Issue