From 13db846715b3a1409d3dc217314d7bc3dc6466e3 Mon Sep 17 00:00:00 2001 From: Gaston Gonzalez Date: Mon, 17 Feb 2025 16:57:52 -0700 Subject: [PATCH] Paracon - Fixed 1200 baud packet connection option --- overlay/opt/emcomm-tools/bin/et-mode | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/overlay/opt/emcomm-tools/bin/et-mode b/overlay/opt/emcomm-tools/bin/et-mode index 3ec7c28..1f997a9 100755 --- a/overlay/opt/emcomm-tools/bin/et-mode +++ b/overlay/opt/emcomm-tools/bin/et-mode @@ -2,7 +2,7 @@ # # Author : Gaston Gonzalez # Date : 6 November 2024 -# Updated : 9 February 2025 +# Updated : 17 February 2025 # Purpose : Configures the system for a specific mode of operation # Use a simple text file to save the state of the last mode selected @@ -188,7 +188,18 @@ if [ $exit_status -eq 0 ]; then select_term_mode et-log "Using ${TERM_MODE} as the modem speed." - start_and_wait_for_service et-service-direwolf-${TERM_MODE} + case "${TERM_MODE}" in + "1200") + start_and_wait_for_service et-service-direwolf-simple + ;; + "9600") + start_and_wait_for_service et-service-direwolf-9600 + ;; + "300") + start_and_wait_for_service et-service-direwolf-300 + ;; + esac + et-log "Starting Paracon." et-paracon start ;;