libSDRForge
Loading...
Searching...
No Matches
radio_catalog Namespace Reference

Validated, hardware-independent radio profile and preset services. More...

Classes

class  RadioCatalog
 Immutable catalog of installed band profiles. More...
class  PresetService
 Validate preset mutations against the canonical band catalog. More...

Functions

None validate_mode (RadioMode mode)
 Validate supported demodulation, bandwidth and tuning step.
None validate_profile (RadioProfile profile)
 Validate profile identity, frequency range and default mode.

Variables

 _SUPPORTED_MODES = frozenset({"FM", "WFM", "NFM", "AM"})

Detailed Description

Validated, hardware-independent radio profile and preset services.

Function Documentation

◆ validate_mode()

None radio_catalog.validate_mode ( RadioMode mode)

Validate supported demodulation, bandwidth and tuning step.

Parameters
modeRadio mode to validate.

◆ validate_profile()

None radio_catalog.validate_profile ( RadioProfile profile)

Validate profile identity, frequency range and default mode.

Parameters
profileBand profile to validate.

Variable Documentation

◆ _SUPPORTED_MODES

radio_catalog._SUPPORTED_MODES = frozenset({"FM", "WFM", "NFM", "AM"})
protected