Report that radio control has not been configured. More...
Public Member Functions | |
| bool | is_started (self) |
| Return whether the receiver backend is started. | |
| bool | is_available (self) |
| Return whether radio control is configured and available. | |
| str|None | status_message (self) |
| Return an availability message, if one applies. | |
| tuple[RadioPreset,...] | presets (self) |
| Return configured radio presets. | |
| int | start (self) |
| Start the receiver and return its initial frequency. | |
| None | stop (self) |
| Stop the receiver. | |
| int | get_frequency (self) |
| Return the controller's current frequency in hertz. | |
| int | refresh_frequency (self) |
| Refresh the current frequency from the receiver backend. | |
| RadioMode | set_mode (self, RadioMode mode) |
| Set and return the active demodulation mode. | |
| RadioPreset | tune_preset (self, RadioPreset preset) |
| Tune and return a preset. | |
| RadioPreset | tune_preset_index (self, int index) |
| Tune a configured preset by wrapping index. | |
| RadioPreset | next_preset (self) |
| Tune and return the next preset. | |
| RadioPreset | previous_preset (self) |
| Tune and return the previous preset. | |
| RadioPreset | next_station (self) |
| Compatibility name for tuning the next preset. | |
| RadioPreset | previous_station (self) |
| Compatibility name for tuning the previous preset. | |
| int | frequency_up (self, int|None delta_hz=None) |
| Increase frequency by an explicit or mode-defined step. | |
| int | frequency_down (self, int|None delta_hz=None) |
| Decrease frequency by an explicit or mode-defined step. | |
| int | set_frequency (self, int frequency_hz) |
| Tune and return a validated frequency in hertz. | |
| float|str|None | get_signal_strength (self) |
| Return receiver signal strength when available. | |
| float|str|None | get_snr (self) |
| Return receiver signal-to-noise ratio when available. | |
| str|None | get_rds (self) |
| Return decoded Radio Data System text when available. | |
Report that radio control has not been configured.
| int radio.unconfigured_radio_controller.UnconfiguredRadioController.frequency_down | ( | self, | |
| int | None | delta_hz = None ) |
Decrease frequency by an explicit or mode-defined step.
| delta_hz | Explicit positive step in hertz, or None to use the active mode's configured step. |
Reimplemented from radio.radio_controller_if.RadioControllerIf.
| int radio.unconfigured_radio_controller.UnconfiguredRadioController.frequency_up | ( | self, | |
| int | None | delta_hz = None ) |
Increase frequency by an explicit or mode-defined step.
| delta_hz | Explicit positive step in hertz, or None to use the active mode's configured step. |
Reimplemented from radio.radio_controller_if.RadioControllerIf.
| int radio.unconfigured_radio_controller.UnconfiguredRadioController.get_frequency | ( | self | ) |
Return the controller's current frequency in hertz.
Reimplemented from radio.radio_controller_if.RadioControllerIf.
| str | None radio.unconfigured_radio_controller.UnconfiguredRadioController.get_rds | ( | self | ) |
Return decoded Radio Data System text when available.
Reimplemented from radio.radio_controller_if.RadioControllerIf.
| float | str | None radio.unconfigured_radio_controller.UnconfiguredRadioController.get_signal_strength | ( | self | ) |
Return receiver signal strength when available.
Reimplemented from radio.radio_controller_if.RadioControllerIf.
| float | str | None radio.unconfigured_radio_controller.UnconfiguredRadioController.get_snr | ( | self | ) |
Return receiver signal-to-noise ratio when available.
Reimplemented from radio.radio_controller_if.RadioControllerIf.
| bool radio.unconfigured_radio_controller.UnconfiguredRadioController.is_available | ( | self | ) |
Return whether radio control is configured and available.
| True | Radio control is available. |
| False | Radio control is unavailable. |
Reimplemented from radio.radio_controller_if.RadioControllerIf.
| bool radio.unconfigured_radio_controller.UnconfiguredRadioController.is_started | ( | self | ) |
Return whether the receiver backend is started.
| True | The receiver backend is started. |
| False | The receiver backend is stopped. |
Reimplemented from radio.radio_controller_if.RadioControllerIf.
| RadioPreset radio.unconfigured_radio_controller.UnconfiguredRadioController.next_preset | ( | self | ) |
Tune and return the next preset.
Reimplemented from radio.radio_controller_if.RadioControllerIf.
| RadioPreset radio.unconfigured_radio_controller.UnconfiguredRadioController.next_station | ( | self | ) |
Compatibility name for tuning the next preset.
Reimplemented from radio.radio_controller_if.RadioControllerIf.
| tuple[RadioPreset, ...] radio.unconfigured_radio_controller.UnconfiguredRadioController.presets | ( | self | ) |
Return configured radio presets.
Reimplemented from radio.radio_controller_if.RadioControllerIf.
| RadioPreset radio.unconfigured_radio_controller.UnconfiguredRadioController.previous_preset | ( | self | ) |
Tune and return the previous preset.
Reimplemented from radio.radio_controller_if.RadioControllerIf.
| RadioPreset radio.unconfigured_radio_controller.UnconfiguredRadioController.previous_station | ( | self | ) |
Compatibility name for tuning the previous preset.
Reimplemented from radio.radio_controller_if.RadioControllerIf.
| int radio.unconfigured_radio_controller.UnconfiguredRadioController.refresh_frequency | ( | self | ) |
Refresh the current frequency from the receiver backend.
Reimplemented from radio.radio_controller_if.RadioControllerIf.
| int radio.unconfigured_radio_controller.UnconfiguredRadioController.set_frequency | ( | self, | |
| int | frequency_hz ) |
Tune and return a validated frequency in hertz.
| frequency_hz | Target frequency in hertz. |
Reimplemented from radio.radio_controller_if.RadioControllerIf.
| RadioMode radio.unconfigured_radio_controller.UnconfiguredRadioController.set_mode | ( | self, | |
| RadioMode | mode ) |
Set and return the active demodulation mode.
| mode | Demodulation mode to activate. |
Reimplemented from radio.radio_controller_if.RadioControllerIf.
| int radio.unconfigured_radio_controller.UnconfiguredRadioController.start | ( | self | ) |
Start the receiver and return its initial frequency.
Reimplemented from radio.radio_controller_if.RadioControllerIf.
| str | None radio.unconfigured_radio_controller.UnconfiguredRadioController.status_message | ( | self | ) |
Return an availability message, if one applies.
Reimplemented from radio.radio_controller_if.RadioControllerIf.
| RadioPreset radio.unconfigured_radio_controller.UnconfiguredRadioController.tune_preset | ( | self, | |
| RadioPreset | preset ) |
Tune and return a preset.
| preset | Preset to tune. |
Reimplemented from radio.radio_controller_if.RadioControllerIf.
| RadioPreset radio.unconfigured_radio_controller.UnconfiguredRadioController.tune_preset_index | ( | self, | |
| int | index ) |
Tune a configured preset by wrapping index.
| index | Preset index, wrapped into the configured preset list. |
Reimplemented from radio.radio_controller_if.RadioControllerIf.