OpenRoadCode
Public API reference for OpenRoadCode
Loading...
Searching...
No Matches
rigctl.rigctl_client.RigctlClient Class Reference

Send one rigctl command per TCP connection. More...

Public Member Functions

str send (self, str command)
 Send a raw command and return the stripped server response.
str set_frequency (self, int hz)
 Set receiver frequency in hertz.
str get_frequency (self)
 Return the receiver frequency in hertz as reported by the server.
str set_mode (self, str mode, int bandwidth)
 Set demodulation mode and bandwidth in hertz.
str start (self)
 Start receiver playback using the rigctl extension.
str stop (self)
 Stop receiver playback using the rigctl extension.
str get_signal_strength (self)
 Return the current signal-strength level.
str get_snr (self)
 Return the current signal-to-noise ratio.
str get_rds (self)
 Return the current RDS text when supported by the server.

Static Public Member Functions

str normalize_sdrpp_mode (str mode)
 Normalize application-facing mode names for the receiver.

Detailed Description

Send one rigctl command per TCP connection.

This connection pattern works well with SDR++'s rigctl server and keeps the client deliberately stateless. An empty string is returned when a command produces no response before the configured timeout.


The documentation for this class was generated from the following file:
  • protocols/rigctl/rigctl_client.py