Kozai::Radio::Rigctld
A client for hamlib's rigctld.
radio = Kozai::Radio::Rigctld.new("127.0.0.1", 4532)
radio.frequency = 145_800_000.0
Constants
DEFAULT_PORT = 4532
Default port rigctld listens on.
Constructors
new(host : String = "127.0.0.1", port : Int32 = DEFAULT_PORT, timeout : Time::Span = Hamlib::DEFAULT_TIMEOUT)
SourceInstance methods
Sets the radio's frequency in hertz.
NOTE: sent as a whole number of hertz. rigctld expects an integer, and
a decimal point makes some backends reject the command outright.