Control an existing SDRForge service; does not own the USB receiver. More...
Public Member Functions | |
| SdrForgeConnectionDiagnostics | connection_diagnostics (self) |
| Return an immutable connection snapshot without issuing network requests. | |
| None | wait_until_ready (self, float timeout=10.0) |
| Wait for REST readiness; never replay control commands. | |
| object | start (self) |
| Start the receiver backend. | |
| object | stop (self) |
| Stop the receiver backend. | |
| object | set_frequency (self, int frequency_hz) |
| Tune to a frequency. | |
| int | get_frequency (self) |
| Return the current tuned frequency. | |
| object | set_mode (self, str mode, int bandwidth) |
| Set the receiver demodulation mode. | |
| float|str|None | get_signal_strength (self) |
| Return receiver signal strength. | |
| float|str|None | get_snr (self) |
| Return the signal-to-noise ratio. | |
| str|None | get_rds (self) |
| Return decoded Radio Data System text. | |
Control an existing SDRForge service; does not own the USB receiver.
| int radio.adapters.sdrforge_rest_radio_backend.SdrForgeRestRadioBackend.get_frequency | ( | self | ) |
Return the current tuned frequency.
Reimplemented from radio.radio_backend_if.RadioBackendIf.
| str | None radio.adapters.sdrforge_rest_radio_backend.SdrForgeRestRadioBackend.get_rds | ( | self | ) |
Return decoded Radio Data System text.
Reimplemented from radio.radio_backend_if.RadioBackendIf.
| float | str | None radio.adapters.sdrforge_rest_radio_backend.SdrForgeRestRadioBackend.get_signal_strength | ( | self | ) |
Return receiver signal strength.
Reimplemented from radio.radio_backend_if.RadioBackendIf.
| float | str | None radio.adapters.sdrforge_rest_radio_backend.SdrForgeRestRadioBackend.get_snr | ( | self | ) |
Return the signal-to-noise ratio.
Reimplemented from radio.radio_backend_if.RadioBackendIf.
| object radio.adapters.sdrforge_rest_radio_backend.SdrForgeRestRadioBackend.set_frequency | ( | self, | |
| int | frequency_hz ) |
Tune to a frequency.
| frequency_hz | Target frequency in hertz. |
Reimplemented from radio.radio_backend_if.RadioBackendIf.
| object radio.adapters.sdrforge_rest_radio_backend.SdrForgeRestRadioBackend.set_mode | ( | self, | |
| str | mode, | ||
| int | bandwidth ) |
Set the receiver demodulation mode.
| mode | Backend demodulation mode name. |
| bandwidth | Receiver bandwidth in hertz. |
Reimplemented from radio.radio_backend_if.RadioBackendIf.
| object radio.adapters.sdrforge_rest_radio_backend.SdrForgeRestRadioBackend.start | ( | self | ) |
Start the receiver backend.
Reimplemented from radio.radio_backend_if.RadioBackendIf.
| object radio.adapters.sdrforge_rest_radio_backend.SdrForgeRestRadioBackend.stop | ( | self | ) |
Stop the receiver backend.
Reimplemented from radio.radio_backend_if.RadioBackendIf.