From 3bf1faa22a31010b93718fb8605af1d37670dc0e Mon Sep 17 00:00:00 2001 From: Claus Niesen Date: Sun, 24 Oct 2021 06:15:09 -0500 Subject: [PATCH] Added support for IC-705 --- IcomClockOmniRig/ProgramOptions.cs | 2 ++ IcomClockOmniRigTests/ProgramOptionsTests.cs | 2 +- README.md | 15 +++++++-------- 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/IcomClockOmniRig/ProgramOptions.cs b/IcomClockOmniRig/ProgramOptions.cs index ad7055b..b430a4e 100644 --- a/IcomClockOmniRig/ProgramOptions.cs +++ b/IcomClockOmniRig/ProgramOptions.cs @@ -39,6 +39,7 @@ public class ProgramOptions { private const string Postamble = "FD"; private readonly IDictionary> Transceivers = new Dictionary>() { + {"IC-705", new Dictionary {{"setDateCommand", "1A050165"}, {"setTimeCommand", "1A050166"}, {"setUtcOffsetCommand", "1A050170"}, {"transceiverAddress", "A4"}}}, {"IC-7100", new Dictionary {{"setDateCommand", "1A050120"}, {"setTimeCommand", "1A050121"}, {"setUtcOffsetCommand", "1A050123"}, {"transceiverAddress", "88"}}}, {"IC-7300", new Dictionary {{"setDateCommand", "1A050094"}, {"setTimeCommand", "1A050095"}, {"setUtcOffsetCommand", "1A050096"}, {"transceiverAddress", "94"}}}, {"IC-7600", new Dictionary {{"setDateCommand", "1A050053"}, {"setTimeCommand", "1A050054"}, {"setUtcOffsetCommand", "1A050056"}, {"transceiverAddress", "7A"}}}, @@ -52,6 +53,7 @@ public class ProgramOptions { }; private readonly IDictionary RigTypes = new Dictionary() { + {"IC-705", "IC-705"}, {"IC-705-DATA", "IC-705-DATA"}, {"IC-7100", "IC-7100"}, {"IC-7100-DATA-FIL1", "IC-7100"}, {"IC-7100e4", "IC-7100"}, {"IC-7100e4-DATA", "IC-7100"}, {"IC-7300", "IC-7300"}, {"IC-7300-DATA", "IC-7300"}, {"IC-7600", "IC-7600"}, {"IC-7600v2", "IC-7600"}, {"IC-7600v2-DATA", "IC-7600"}, diff --git a/IcomClockOmniRigTests/ProgramOptionsTests.cs b/IcomClockOmniRigTests/ProgramOptionsTests.cs index 9323994..66bd535 100644 --- a/IcomClockOmniRigTests/ProgramOptionsTests.cs +++ b/IcomClockOmniRigTests/ProgramOptionsTests.cs @@ -21,7 +21,7 @@ public class ProgramOptionsTests { "\t-u\t\tReverse local and UTC time (show UTC as clock and local time as on UTC display)\n\n" + "\t-r \tThe selected rig in OmniRig (default: 1)\n\n" + "\t-m \tThe Icom transceiver model (default: auto detect from OmniRig)\n" + - "\t\t\tValid models: IC-7100, IC-7300, IC-7600, IC-7610, IC-7700, IC-7850, IC-7851, IC-9700, IC-R8600, IC-R9500\n\n" + + "\t\t\tValid models: IC-705, IC-7100, IC-7300, IC-7600, IC-7610, IC-7700, IC-7850, IC-7851, IC-9700, IC-R8600, IC-R9500\n\n" + "\t-a \tThe Icom transceiver address (default: rig default address)\n\n" + "\t-c \tThe controller address (default: E0)\n\n" + "\t-o \tOmniRig version number (default: 1)\n" + diff --git a/README.md b/README.md index 7e928e2..6eca3dc 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ Program Options C:\>IcomClockOmniRig.exe -h :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: :: - :: IcomClockOmniRig 2.0 - https://github.com/cniesen/IcomClockOmniRig :: + :: IcomClockOmniRig 2.1 - https://github.com/cniesen/IcomClockOmniRig :: :: :: :: A program to set the Icom tranceiver clock to your computer's time :: :: :: @@ -23,10 +23,10 @@ Options: -r The selected rig in OmniRig (default: 1) - -m The Icom transceiver model (default: IC-7300) - Valid models: IC-7100, IC-7300, IC-7600, IC-7610, IC-7700, IC-7850, IC-7851, IC-9700, IC-R8600, IC-R9500 + -m The Icom transceiver model (default: auto detect from OminiRig) + Valid models: IC-705, IC-7100, IC-7300, IC-7600, IC-7610, IC-7700, IC-7850, IC-7851, IC-9700, IC-R8600, IC-R9500 - -a The Icom transceiver address (default: 94) + -a The Icom transceiver address (default: rig default address) -c The controller address (default: E0) @@ -35,9 +35,7 @@ Options: 2 = updated OmniRig by HB9RYZ -q Quiet, don't output messages - - -f Force tranceiver model, allow mismatch between OmniRig and this program. Avoid this option if possible. - + -h Show this help message ``` @@ -47,8 +45,9 @@ Supported Transceivers | Transceiver | Date Command | Time Command | UTC Offset Command | Transceiver Address | Tested with OmniRig | Tested with OmniRig 2 | |---------------|--------------|--------------|--------------------|---------------------|---------------------|-----------------------| +| Icom IC-705 | 1A050165 | 1A050166 | 1A050170 | A4 | | | | Icom IC-7100 | 1A050120 | 1A050121 | 1A050123 | 88 | | | -| Icom IC-7300 | 1A050094 | 1A050095 | 1A050096 | 94 | AE0S (2.0) | AE0S (2.0) | +| Icom IC-7300 | 1A050094 | 1A050095 | 1A050096 | 94 | AE0S (2.1) | AE0S (2.0) | | Icom IC-7600 | 1A050053 | 1A050054 | 1A050056 | 7A | | | | Icom IC-7610 | 1A050158 | 1A050159 | 1A050162 | 98 | VE3NEA (2.0) | | | Icom IC-7700 | 1A050058 | 1A050059 | 1A050061 | 74 | | |