Device-independent radio control surface.
More...
|
| 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.
|
Device-independent radio control surface.
◆ get_frequency()
| int sdrforge.interfaces.receiver_control_if.ReceiverControlIf.get_frequency |
( |
| self | ) |
|
Return the tuned frequency in hertz.
- Parameters
-
| self | The 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
-
| self | The 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
-
| self | The 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
-
| self | The 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
-
| self | The 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
-
| self | The 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
-
| self | The 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
-
| self | The current instance. |
| hz | The 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
-
| self | The current instance. |
| mode | The demodulation mode. |
| bandwidth | The 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
-
| self | The current instance. |
| muted | Whether 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
-
| self | The current instance. |
| changes | Requested RF configuration values. |
◆ start()
| None sdrforge.interfaces.receiver_control_if.ReceiverControlIf.start |
( |
| self | ) |
|
Start receiver operation.
- Parameters
-
| self | The current instance. |
◆ stop()
| None sdrforge.interfaces.receiver_control_if.ReceiverControlIf.stop |
( |
| self | ) |
|
Stop receiver operation.
- Parameters
-
| self | The current instance. |
The documentation for this class was generated from the following file: