libSDRForge
Loading...
Searching...
No Matches
sdrforge.interfaces.receiver_control_if.ReceiverControlIf Class Reference

Device-independent radio control surface. More...

Inheritance diagram for sdrforge.interfaces.receiver_control_if.ReceiverControlIf:

Public Member Functions

None start (self)
 Start receiver operation.
None stop (self)
 Stop receiver operation.
None set_frequency (self, int hz)
 Tune the receiver to a frequency in hertz.
int get_frequency (self)
 Return the tuned frequency in hertz.
None set_mode (self, str mode, int bandwidth)
 Set the demodulation mode and bandwidth in hertz.
tuple[str, int] get_mode (self)
 Return the demodulation mode and bandwidth in hertz.
float|None get_signal_strength (self)
 Return the latest signal-strength estimate, when available.
float|None get_snr (self)
 Return the latest signal-to-noise estimate, when available.
str|None get_rds (self)
 Return the latest Radio Data System text, when available.
dict[str, object] get_rf_configuration (self)
 Return the receiver's current RF hardware configuration.
None set_rf_configuration (self, dict[str, object] changes)
 Apply RF hardware configuration changes.
None set_muted (self, bool muted)
 Set local audio mute without stopping RF acquisition.
bool get_muted (self)
 Return whether local audio is muted.

Detailed Description

Device-independent radio control surface.

Member Function Documentation

◆ get_frequency()

int sdrforge.interfaces.receiver_control_if.ReceiverControlIf.get_frequency ( self)

Return the tuned frequency in hertz.

Parameters
selfThe current instance.
Returns
The operation result.

◆ get_mode()

tuple[str, int] sdrforge.interfaces.receiver_control_if.ReceiverControlIf.get_mode ( self)

Return the demodulation mode and bandwidth in hertz.

Parameters
selfThe current instance.
Returns
The operation result.

◆ get_muted()

bool sdrforge.interfaces.receiver_control_if.ReceiverControlIf.get_muted ( self)

Return whether local audio is muted.

Parameters
selfThe current instance.
Returns
True when local audio is muted.

◆ get_rds()

str | None sdrforge.interfaces.receiver_control_if.ReceiverControlIf.get_rds ( self)

Return the latest Radio Data System text, when available.

Parameters
selfThe current instance.
Returns
The operation result.

◆ get_rf_configuration()

dict[str, object] sdrforge.interfaces.receiver_control_if.ReceiverControlIf.get_rf_configuration ( self)

Return the receiver's current RF hardware configuration.

Parameters
selfThe current instance.
Returns
A dictionary of RF configuration values.

◆ get_signal_strength()

float | None sdrforge.interfaces.receiver_control_if.ReceiverControlIf.get_signal_strength ( self)

Return the latest signal-strength estimate, when available.

Parameters
selfThe current instance.
Returns
The operation result.

◆ get_snr()

float | None sdrforge.interfaces.receiver_control_if.ReceiverControlIf.get_snr ( self)

Return the latest signal-to-noise estimate, when available.

Parameters
selfThe current instance.
Returns
The operation result.

◆ set_frequency()

None sdrforge.interfaces.receiver_control_if.ReceiverControlIf.set_frequency ( self,
int hz )

Tune the receiver to a frequency in hertz.

Parameters
selfThe current instance.
hzThe hz value.

◆ set_mode()

None sdrforge.interfaces.receiver_control_if.ReceiverControlIf.set_mode ( self,
str mode,
int bandwidth )

Set the demodulation mode and bandwidth in hertz.

Parameters
selfThe current instance.
modeThe demodulation mode.
bandwidthThe channel bandwidth in hertz.

◆ set_muted()

None sdrforge.interfaces.receiver_control_if.ReceiverControlIf.set_muted ( self,
bool muted )

Set local audio mute without stopping RF acquisition.

Parameters
selfThe current instance.
mutedWhether local audio should be muted.

◆ set_rf_configuration()

None sdrforge.interfaces.receiver_control_if.ReceiverControlIf.set_rf_configuration ( self,
dict[str, object] changes )

Apply RF hardware configuration changes.

Parameters
selfThe current instance.
changesRequested RF configuration values.

◆ start()

None sdrforge.interfaces.receiver_control_if.ReceiverControlIf.start ( self)

Start receiver operation.

Parameters
selfThe current instance.

◆ stop()

None sdrforge.interfaces.receiver_control_if.ReceiverControlIf.stop ( self)

Stop receiver operation.

Parameters
selfThe current instance.

The documentation for this class was generated from the following file: