Set (Tune) a Frontend Allocation
Required Properties:
idl.namespace == "FRONTEND"
idl.type == any("DigitalTuner", "AnalogTuner")
direction == "Provides"
"Tuner" in name
By providing the allocation ID, one can PUT
tuner properties directly to the port to use the IDL-defined methods (similar to calling configure
, etc.). The structure of properties to use is as follows:
{
"properties": [
/* Analog or Digital */
{ "id": "tuner_agc_enable", "value": true },
{ "id": "tuner_center_frequency", "value": 0.0 },
{ "id": "tuner_reference_source", "value": "source" },
{ "id": "tuner_bandwidth", "value": 0.0 },
{ "id": "tuner_enable", "value": true },
{ "id": "tuner_gain", "value": 0.0 },
/* Digital ONLY */
{ "id": "tuner_output_sample_rate", "value": 0.0 }
]
}