mirror of
https://github.com/nonoo/kappanhang.git
synced 2025-12-06 08:02:00 +01:00
Change TCP serial port server's default TCP port, as it conflicts with rotctld's default port
This commit is contained in:
parent
48c18a6470
commit
0d43e0d519
|
|
@ -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
|
||||
|
|
|
|||
2
args.go
2
args.go
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Reference in a new issue