mirror of
https://github.com/thetechprepper/emcomm-tools-os-community.git
synced 2026-09-17 15:41:44 -04:00
mercury - Disabled the following Mercury modes (DATAC17 and QAM16C2) as they do not appear as valid indexes in version 1.9.9
This commit is contained in:
@@ -93,5 +93,6 @@
|
|||||||
|
|
||||||
# Index Mode Payload Rate (bps)
|
# Index Mode Payload Rate (bps)
|
||||||
# 0 DATAC1 980
|
# 0 DATAC1 980
|
||||||
# 9 DATAC17 1410
|
# 9 DATAC17 1410 (not yet supported)
|
||||||
|
# 10 QAM16C2 3100 (not yet supported)
|
||||||
bitrate = 980
|
bitrate = 980
|
||||||
|
|||||||
@@ -16,6 +16,11 @@
|
|||||||
# keep usage simple, only three modulation settings have been configured
|
# keep usage simple, only three modulation settings have been configured
|
||||||
# that map to a combination of reliability and speed for most general
|
# that map to a combination of reliability and speed for most general
|
||||||
# purpose applications.
|
# purpose applications.
|
||||||
|
#
|
||||||
|
# The DATAC17 and QAM16C2 modes are documented on the RETICULUM.md
|
||||||
|
# documenation on the mercury GitHub project, but are not yet supported
|
||||||
|
# in version 1.9.9. Disabling these options from now.
|
||||||
|
|
||||||
|
|
||||||
usage() {
|
usage() {
|
||||||
echo "usage: $(basename $0) <mode>"
|
echo "usage: $(basename $0) <mode>"
|
||||||
@@ -39,9 +44,13 @@ case "${MODE}" in
|
|||||||
;;
|
;;
|
||||||
balanced)
|
balanced)
|
||||||
MODE_INDEX="9"
|
MODE_INDEX="9"
|
||||||
|
et-log "Mode not yet supported."
|
||||||
|
exit 1
|
||||||
;;
|
;;
|
||||||
fast)
|
fast)
|
||||||
MODE_INDEX="10"
|
MODE_INDEX="10"
|
||||||
|
et-log "Mode not yet supported."
|
||||||
|
exit 1
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
et-log "Can't started Mercury modem. Mode not supported."
|
et-log "Can't started Mercury modem. Mode not supported."
|
||||||
|
|||||||
@@ -111,8 +111,11 @@ if [[ $? -eq 0 ]]; then
|
|||||||
HAS_MERCURY_CONFIG=`grep "Mercury HF" ~/.reticulum/config`
|
HAS_MERCURY_CONFIG=`grep "Mercury HF" ~/.reticulum/config`
|
||||||
if [[ $? -eq 0 ]]; then
|
if [[ $? -eq 0 ]]; then
|
||||||
modem_options+=("mercury-reliability" "Max reliability (Slower Speed) [DATAC1]")
|
modem_options+=("mercury-reliability" "Max reliability (Slower Speed) [DATAC1]")
|
||||||
modem_options+=("mercury-balanced" "Balanced (Reliability and Speed) [DATAC17]")
|
# The modes below, DATAC17 and QAM16C2, are documented on the RETICULUM.md
|
||||||
modem_options+=("mercury-fast" "Fast (Low Reliability) [QAM16C2]")
|
# documenation on the mercury GitHub project, but are not yet supported in
|
||||||
|
# version 1.9.9. Disabling these options from the UI for now.
|
||||||
|
#modem_options+=("mercury-balanced" "Balanced (Reliability and Speed) [DATAC17]")
|
||||||
|
#modem_options+=("mercury-fast" "Fast (Low Reliability) [QAM16C2]")
|
||||||
fi
|
fi
|
||||||
|
|
||||||
modem_choice=$(dialog \
|
modem_choice=$(dialog \
|
||||||
|
|||||||
Reference in New Issue
Block a user