Skip to content

Commit

Permalink
Added support for IC-705
Browse files Browse the repository at this point in the history
  • Loading branch information
cniesen committed Oct 24, 2021
1 parent 9cda19e commit 3bf1faa
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
2 changes: 2 additions & 0 deletions IcomClockOmniRig/ProgramOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ public class ProgramOptions {
private const string Postamble = "FD";

private readonly IDictionary<string, IDictionary<string, string>> Transceivers = new Dictionary<string, IDictionary<string, string>>() {
{"IC-705", new Dictionary<string, string> {{"setDateCommand", "1A050165"}, {"setTimeCommand", "1A050166"}, {"setUtcOffsetCommand", "1A050170"}, {"transceiverAddress", "A4"}}},
{"IC-7100", new Dictionary<string, string> {{"setDateCommand", "1A050120"}, {"setTimeCommand", "1A050121"}, {"setUtcOffsetCommand", "1A050123"}, {"transceiverAddress", "88"}}},
{"IC-7300", new Dictionary<string, string> {{"setDateCommand", "1A050094"}, {"setTimeCommand", "1A050095"}, {"setUtcOffsetCommand", "1A050096"}, {"transceiverAddress", "94"}}},
{"IC-7600", new Dictionary<string, string> {{"setDateCommand", "1A050053"}, {"setTimeCommand", "1A050054"}, {"setUtcOffsetCommand", "1A050056"}, {"transceiverAddress", "7A"}}},
Expand All @@ -52,6 +53,7 @@ public class ProgramOptions {
};

private readonly IDictionary<string, string> RigTypes = new Dictionary<string, string>() {
{"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"},
Expand Down
2 changes: 1 addition & 1 deletion IcomClockOmniRigTests/ProgramOptionsTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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 <number>\tThe selected rig in OmniRig (default: 1)\n\n" +
"\t-m <model>\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 <hex>\tThe Icom transceiver address (default: rig default address)\n\n" +
"\t-c <hex>\tThe controller address (default: E0)\n\n" +
"\t-o <number>\tOmniRig version number (default: 1)\n" +
Expand Down
15 changes: 7 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 ::
:: ::
Expand All @@ -23,10 +23,10 @@ Options:
-r <number> The selected rig in OmniRig (default: 1)
-m <model> 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 <model> 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 <hex> The Icom transceiver address (default: 94)
-a <hex> The Icom transceiver address (default: rig default address)
-c <hex> The controller address (default: E0)
Expand All @@ -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
```

Expand All @@ -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 | | |
Expand Down

0 comments on commit 3bf1faa

Please sign in to comment.