Change TCP serial port server's default TCP port, as it conflicts with rotctld's default port

This commit is contained in:
Nonoo 2020-11-12 18:08:58 +01:00
parent 48c18a6470
commit 0d43e0d519
2 changed files with 2 additions and 2 deletions

View file

@ -62,7 +62,7 @@ After it is connected and logged in:
To use this with for example [WSJT-X](https://physics.princeton.edu/pulsar/K1JT/wsjtx.html),
open WSJT-X settings, go to the *Radio* tab, set the *rig type* to `Hamlib
NET rigctl`, and the *Network server* to `localhost`.
- Starts a **TCP server** on port `4533` for exposing the **serial port**.
- Starts a **TCP server** on port `4531` for exposing the **serial port**.
This can be used for an externally launched `rigctld` for example.
### Virtual serial port

View file

@ -27,7 +27,7 @@ func parseArgs() {
u := getopt.StringLong("username", 'u', "beer", "Username")
p := getopt.StringLong("password", 'p', "beerbeer", "Password")
c := getopt.UintLong("civ-address", 'c', 0xa4, "CI-V address")
t := getopt.Uint16Long("serial-tcp-port", 't', 4533, "Expose radio's serial port on this TCP port")
t := getopt.Uint16Long("serial-tcp-port", 't', 4531, "Expose radio's serial port on this TCP port")
s := getopt.BoolLong("enable-serial-device", 's', "Expose radio's serial port as a virtual serial port")
r := getopt.Uint16Long("rigctld-port", 'r', 4532, "Use this TCP port for the internal rigctld")
e := getopt.StringLong("exec", 'e', "", "Exec cmd when connected")