libdvb

libdvb is an interface library for DVB-API v5 devices in Linux.

Supports three types of delivery systems:

TODO:

FeDevice

Example DVB-S2 tune:

``` let cmdseq = vec![ DtvProperty::new(DTVDELIVERYSYSTEM, SYSDVBS2), DtvProperty::new(DTVFREQUENCY, (11044 - 9750) * 1000), DtvProperty::new(DTVMODULATION, PSK8), DtvProperty::new(DTVVOLTAGE, SECVOLTAGE13), DtvProperty::new(DTVTONE, SECTONEOFF), DtvProperty::new(DTVINVERSION, INVERSIONAUTO), DtvProperty::new(DTVSYMBOLRATE, 27500 * 1000), DtvProperty::new(DTVINNERFEC, FECAUTO), DtvProperty::new(DTVPILOT, PILOTAUTO), DtvProperty::new(DTVROLLOFF, ROLLOFF35), DtvProperty::new(DTVTUNE, 0), ];

let fe = FeDevice::open("/dev/dvb/adapter0/frontend0", true)?; fe.ioctlsetproperty(&mut cmdseq)?; ```