mirror of
https://github.com/thetechprepper/emcomm-tools-os-community.git
synced 2026-09-17 15:41:44 -04:00
xiegu-x6200 - Added supported for the Xiegu X6200. It is the same as the X6100.
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
#
|
#
|
||||||
# Author : Gaston Gonzalez
|
# Author : Gaston Gonzalez
|
||||||
# Date : 11 October 2024
|
# Date : 11 October 2024
|
||||||
# Updated : 13 March 2025
|
# Updated : 13 December 2025
|
||||||
# Purpose : A script for managaing plug-and-play radios
|
# Purpose : A script for managaing plug-and-play radios
|
||||||
source /opt/emcomm-tools/bin/et-common
|
source /opt/emcomm-tools/bin/et-common
|
||||||
|
|
||||||
@@ -17,6 +17,14 @@ while IFS= read -r radio; do
|
|||||||
VENDOR=$(cat $radio | jq -r .vendor)
|
VENDOR=$(cat $radio | jq -r .vendor)
|
||||||
MODEL=$(cat $radio | jq -r .model)
|
MODEL=$(cat $radio | jq -r .model)
|
||||||
|
|
||||||
|
# Hack to simplify PnP support for the X6200. It is the same as
|
||||||
|
# the X6100. No need to mess with a new JSON radio configuration,
|
||||||
|
# audio scripts, or udev rules. Just let the user know in the
|
||||||
|
# menu selection that there is support for the X6100/X6200.
|
||||||
|
if [[ "${MODEL}" == "X6100" ]]; then
|
||||||
|
MODEL="X6100/X6200"
|
||||||
|
fi
|
||||||
|
|
||||||
options+=("$ID" "$VENDOR $MODEL")
|
options+=("$ID" "$VENDOR $MODEL")
|
||||||
done < <(find $ET_HOME/conf/radios.d -type f -name \*.json | grep -v "bt.json" | sort)
|
done < <(find $ET_HOME/conf/radios.d -type f -name \*.json | grep -v "bt.json" | sort)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user