dh1tw / gorigctl

An opinionated drop-in replacement for Hamlib's rigctl(d)
GNU General Public License v3.0
25 stars 3 forks source link

invalid rig model #3

Closed ea3hsp closed 7 years ago

ea3hsp commented 7 years ago

I don't know why I always getting invalid rig model, my model is ft450d (127) on rigctld and rigctl is working fine. Any idea?

PS: gorigctl server mqtt -m 127 -p 10085 -u "10.1.2.10" -o "/dev/ttyUSB0" -X "ea3hsp"

dh1tw commented 7 years ago

strange... the syntax how you call gorigctl looks fine. Does it work properly with the default model (1 - dummy rig) ?

ea3hsp commented 7 years ago

I got the same issue using dummy rig. But in the other hand if I use: gorigctl cli local -m 127 -o "/dev/ttyUSB0" -b 38400 works fine ...

PS: 08:11:58 Connected to MQTT Broker 10.1.2.10:10085 connstatus: 1 08:11:59 init_rig: invalid rig model

dh1tw commented 7 years ago

fixed in gorigctl 0.1.1. It appears that I had this already fixed manually on the remote server but not committed into the repo. I basically just forgot the pass the pflag values into the function. If it works also on your side, please feel free to close the issue.