AbstractDvbSatelliteService

AbstractDvbSatelliteService ⇐ AbstractDvbService

Kind: global abstract class
Extends: AbstractDvbService
Warning: /!\ THERE IS NO CACHE FOR THIS SERVICE /!\
Service:

AbstractDvbSatelliteService()

This class represents the service that handles the satellite tuners.

getExternalPowerState([tunerId]) ⇒ Promise.<Boolean>

Get tuner current external power state (POWER_STATE_OFF or POWER_STATE_ON). (The power applied to the external interface)

Kind: instance method of AbstractDvbSatelliteService
Returns: Promise.<Boolean> - Tuner enable state TRUE or FALSE

ParamTypeDescription
[tunerId]string

Id of tuner(by default, current tuner).

setExternalPowerState(powerState, [tunerId]) ⇒ Promise.<number>

Set tuner external power state (POWER_STATE_OFF or POWER_STATE_ON).

Kind: instance method of AbstractDvbSatelliteService
Emits: externalPowerStateChange

ParamTypeDescription
powerStatenumber

Tuner state POWER_STATE_OFF or POWER_STATE_ON

[tunerId]string

Id of tuner(by default, current tuner).

getLnbType([tunerId]) ⇒ Promise.<Boolean>

Get the LNB type

Kind: instance method of AbstractDvbSatelliteService
Returns: Promise.<Boolean> - LNB type LNB_TYPE_DUAL_LO_FREQ or LNB_TYPE_SINGLE_LO_FREQ

ParamTypeDescription
[tunerId]string

Id of tuner(by default, current tuner).

setLnbType(lnbType, [tunerId]) ⇒ Promise.<number>

Set the LNB type

Kind: instance method of AbstractDvbSatelliteService
Emits: lnbTypeChange

ParamTypeDescription
lnbTypenumber

LNB type LNB_TYPE_DUAL_LO_FREQ or LNB_TYPE_SINGLE_LO_FREQ

[tunerId]string

Id of tuner(by default, current tuner).

getLnbLowFreq([tunerId]) ⇒ Promise.<number>

Get the low LNB oscillator frequency in MHz. The low or only, if a single local oscillator frequency LNB is used.

Kind: instance method of AbstractDvbSatelliteService
Returns: Promise.<number> - LNB low oscillator frequency in MHz.

ParamTypeDescription
[tunerId]string

Id of tuner(by default, current tuner).

setLnbLowFreq(lnbLowFreq, [tunerId]) ⇒ Promise.<number>

Set the low LNB oscillator frequency in MHz. The low or only, if a single local oscillator frequency LNB is used.

Kind: instance method of AbstractDvbSatelliteService
Emits: AbstractDvbService#event:onLnbLowFreqChange

ParamTypeDescription
lnbLowFreqnumber

low LNB oscillator frequency in MHz.

[tunerId]string

Id of tuner(by default, current tuner).

getLnbHighFreq([tunerId]) ⇒ Promise.<number>

Get the high LNB oscillator frequency in MHz. If a dual local oscillator frequency LNB is used this is the high LNB local oscillator frequency in MHz. If a single local oscillator frequency LNB is used this argument shall be set to 0.

Kind: instance method of AbstractDvbSatelliteService
Returns: Promise.<number> - LNB high oscillator frequency in MHz.

ParamTypeDescription
[tunerId]string

Id of tuner(by default, current tuner).

setLnbHighFreq(lnbHighFreq, [tunerId]) ⇒ Promise.<number>

Set the high LNB oscillator frequency in MHz. If a dual local oscillator frequency LNB is used this is the high LNB local oscillator frequency in MHz. If a single local oscillator frequency LNB is used this argument shall be set to 0.

Kind: instance method of AbstractDvbSatelliteService
Emits: AbstractDvbService#event:onLnbHighFreqChange

ParamTypeDescription
lnbHighFreqnumber

high LNB oscillator frequency in MHz.

[tunerId]string

Id of tuner(by default, current tuner).

getCrossoverFrequency([tunerId]) ⇒ Promise.<number>

Get the crossover frequency (in MHz) when to switch between the high and low band oscillator frequencies ( lnbLowFreq and lnbHighFreq respectively).

Kind: instance method of AbstractDvbSatelliteService
Returns: Promise.<number> - LNB crossover frequency in MHz.

ParamTypeDescription
[tunerId]string

Id of tuner(by default, current tuner).

setCrossoverFrequency(crossoverFrequency, [tunerId]) ⇒ Promise.<number>

Set the crossover frequency (in MHz)

Kind: instance method of AbstractDvbSatelliteService
Emits: AbstractDvbService#event:onCrossoverFrequencyChange

ParamTypeDescription
crossoverFrequencynumber

LNB crossover frequency in MHz.

[tunerId]string

Id of tuner(by default, current tuner).

getLnbStartFrequency([tunerId]) ⇒ Promise.<number>

Get the lowest frequency, in MHz, that the LNB can be used for.

Kind: instance method of AbstractDvbSatelliteService
Returns: Promise.<number> - LNB start frequency in MHz.

ParamTypeDescription
[tunerId]string

Id of tuner(by default, current tuner).

setLnbStartFrequency(lnbStartFrequency, [tunerId]) ⇒ Promise.<number>

Set the lowest frequency, in MHz, that the LNB can be used for.

Kind: instance method of AbstractDvbSatelliteService
Emits: lnbStartFrequencyChange

ParamTypeDescription
lnbStartFrequencynumber

LNB start frequency in MHz.

[tunerId]string

Id of tuner(by default, current tuner).

getLnbStopFrequency([tunerId]) ⇒ Promise.<number>

Get the highest frequency, in MHz, that the LNB can be used for.

Kind: instance method of AbstractDvbSatelliteService
Returns: Promise.<number> - LNB stop frequency in MHz.

ParamTypeDescription
[tunerId]string

Id of tuner(by default, current tuner).

setLnbStopFrequency(lnbStopFrequency, [tunerId]) ⇒ Promise.<number>

Set the highest frequency, in MHz, that the LNB can be used for.

Kind: instance method of AbstractDvbSatelliteService
Emits: AbstractDvbService#event:lnbStopFrequencyChange

ParamTypeDescription
lnbStopFrequencynumber

LNB stop frequency in MHz.

[tunerId]string

Id of tuner(by default, current tuner).

getOrbitalPosition([tunerId]) ⇒ Promise.<number>

Get the orbital position of the satellite in degrees, negative value for west, positive value for east.

Kind: instance method of AbstractDvbSatelliteService
Returns: Promise.<number> - LNB orbital position in degrees.

ParamTypeDescription
[tunerId]string

Id of tuner(by default, current tuner).

setOrbitalPosition(orbitalPosition, [tunerId]) ⇒ Promise.<number>

Set the orbital position of the satellite in degrees, negative value for west, positive value for east.

Kind: instance method of AbstractDvbSatelliteService
Emits: AbstractDvbService#event:onOrbitalPositionChange

ParamTypeDescription
orbitalPositionnumber

LNB orbital position in degrees.

[tunerId]string

Id of tuner(by default, current tuner).

_getExternalPowerState([tunerId]) ⇒ Promise.<Boolean>

Kind: instance abstract method of AbstractDvbSatelliteService
Access: protected

ParamTypeDescription
[tunerId]string

Id of tuner(by default, current tuner).

_setExternalPowerState(powerState, [tunerId]) ⇒ Promise.<Boolean>

Kind: instance abstract method of AbstractDvbSatelliteService
Access: protected

ParamTypeDescription
powerState*
[tunerId]string

Id of tuner(by default, current tuner).

_getLnbType([tunerId]) ⇒ Promise.<number>

Kind: instance abstract method of AbstractDvbSatelliteService
Access: protected

ParamTypeDescription
[tunerId]string

Id of tuner(by default, current tuner).

_setLnbType(lnbType, [tunerId]) ⇒ Promise.<number>

Kind: instance abstract method of AbstractDvbSatelliteService
Access: protected

ParamTypeDescription
lnbType*
[tunerId]string

Id of tuner(by default, current tuner).

_getLnbLowFreq([tunerId]) ⇒ Promise.<number>

Kind: instance abstract method of AbstractDvbSatelliteService
Access: protected

ParamTypeDescription
[tunerId]string

Id of tuner(by default, current tuner).

_setLnbLowFreq(lnbLowFreq, [tunerId]) ⇒ Promise.<number>

Kind: instance abstract method of AbstractDvbSatelliteService
Access: protected

ParamTypeDescription
lnbLowFreq*
[tunerId]string

Id of tuner(by default, current tuner).

_getLnbHighFreq([tunerId]) ⇒ Promise.<number>

Kind: instance abstract method of AbstractDvbSatelliteService
Access: protected

ParamTypeDescription
[tunerId]string

Id of tuner(by default, current tuner).

_setLnbHighFreq(lnbHighFreq, [tunerId]) ⇒ Promise.<number>

Kind: instance abstract method of AbstractDvbSatelliteService
Access: protected

ParamTypeDescription
lnbHighFreq*
[tunerId]string

Id of tuner(by default, current tuner).

_getCrossoverFrequency([tunerId]) ⇒ Promise.<number>

Kind: instance abstract method of AbstractDvbSatelliteService
Access: protected

ParamTypeDescription
[tunerId]string

Id of tuner(by default, current tuner).

_setCrossoverFrequency(crossoverFrequency, [tunerId]) ⇒ Promise.<number>

Kind: instance abstract method of AbstractDvbSatelliteService
Access: protected

ParamTypeDescription
crossoverFrequency*
[tunerId]string

Id of tuner(by default, current tuner).

_getLnbStartFrequency([tunerId]) ⇒ Promise.<number>

Kind: instance abstract method of AbstractDvbSatelliteService
Access: protected

ParamTypeDescription
[tunerId]string

Id of tuner(by default, current tuner).

_setLnbStartFrequency(lnbStartFrequency, [tunerId]) ⇒ Promise.<number>

Kind: instance abstract method of AbstractDvbSatelliteService
Access: protected

ParamTypeDescription
lnbStartFrequency*
[tunerId]string

Id of tuner(by default, current tuner).

_getLnbStopFrequency([tunerId]) ⇒ Promise.<number>

Kind: instance abstract method of AbstractDvbSatelliteService
Access: protected

ParamTypeDescription
[tunerId]string

Id of tuner(by default, current tuner).

_setLnbStopFrequency(lnbStopFrequency, [tunerId]) ⇒ Promise.<number>

Kind: instance abstract method of AbstractDvbSatelliteService
Access: protected

ParamTypeDescription
lnbStopFrequency*
[tunerId]string

Id of tuner(by default, current tuner).

_getOrbitalPosition([tunerId]) ⇒ Promise.<number>

Kind: instance abstract method of AbstractDvbSatelliteService
Access: protected

ParamTypeDescription
[tunerId]string

Id of tuner(by default, current tuner).

_setOrbitalPosition(orbitalPosition, [tunerId]) ⇒ Promise.<number>

Kind: instance abstract method of AbstractDvbSatelliteService
Access: protected

ParamTypeDescription
orbitalPosition*
[tunerId]string

Id of tuner(by default, current tuner).

_onExternalPowerStateChange(powerState) ⇒ Promise

Fired when the dvb tuner external power state has been changed

Kind: instance method of AbstractDvbSatelliteService
Access: protected

ParamTypeDescription
powerStatestring

The new external power state

_onLnbTypeChange(lnbType) ⇒ Promise

Fired when the LNB type has been changed

Kind: instance method of AbstractDvbSatelliteService
Access: protected

ParamTypeDescription
lnbTypenumber

The new LNB type

_onLnbLowFreqChange(lnbLowFreq) ⇒ Promise

Fired when the low LNB oscillator frequency has been changed

Kind: instance method of AbstractDvbSatelliteService
Access: protected

ParamTypeDescription
lnbLowFreqnumber

The new low LNB oscillator frequency in MHz.

_onLnbHighFreqChange(lnbHighFreq) ⇒ Promise

Fired when the high LNB oscillator frequency has been changed

Kind: instance method of AbstractDvbSatelliteService
Access: protected

ParamTypeDescription
lnbHighFreqnumber

The new high LNB oscillator frequency in MHz.

_onCrossoverFrequencyChange(crossoverFrequency) ⇒ Promise

Fired when the crossover frequency has been changed

Kind: instance method of AbstractDvbSatelliteService
Access: protected

ParamTypeDescription
crossoverFrequencynumber

The new crossover frequency

_onLnbStartFrequencyChange(lnbStartFrequency) ⇒ Promise

Fired when the dvb tuner external power state has been changed

Kind: instance method of AbstractDvbSatelliteService
Access: protected

ParamTypeDescription
lnbStartFrequencynumber

The new external power state

_onLnbStopFrequencyChange(lnbStopFrequency) ⇒ Promise

Fired when the highest frequency, in MHz, that the LNB can be used for has been changed

Kind: instance method of AbstractDvbSatelliteService
Access: protected

ParamTypeDescription
lnbStopFrequencynumber

The new highest frequency, in MHz, that the LNB can be used for.

_onOrbitalPositionChange(orbitalPosition) ⇒ Promise

Fired when the orbital position has been changed

Kind: instance method of AbstractDvbSatelliteService
Access: protected

ParamTypeDescription
orbitalPositionnumber

The new orbital position

“externalPowerStateChange” (powerState)

Fired when the dvb tuner external power state has been changed

Kind: event emitted by AbstractDvbSatelliteService

ParamTypeDescription
powerStatestring

The new external power state

“lnbTypeChange” (lnbType)

Fired when the LNB type change

Kind: event emitted by AbstractDvbSatelliteService

ParamTypeDescription
lnbTypenumber

The new LNB type

“lnbLowFreqChange” (lnbLowFreq)

Fired when the low LNB oscillator frequency has been changed

Kind: event emitted by AbstractDvbSatelliteService

ParamTypeDescription
lnbLowFreqnumber

The new low LNB oscillator frequency in MHz.

“lnbHighFreqChange” (lnbHighFreqChange)

Fired when the high LNB oscillator frequency has been changed

Kind: event emitted by AbstractDvbSatelliteService

ParamTypeDescription
lnbHighFreqChangenumber

The new high LNB oscillator frequency in MHz.

“crossoverFrequencyChange” (crossoverFrequency)

Fired when the crossover frequency has been changed

Kind: event emitted by AbstractDvbSatelliteService

ParamTypeDescription
crossoverFrequencynumber

The new crossover frequency

“lnbStartFrequencyChange” (lnbStartFrequency)

Fired when the lowest frequency, in MHz, that the LNB can be used for has been changed

Kind: event emitted by AbstractDvbSatelliteService

ParamTypeDescription
lnbStartFrequencynumber

The new lowest frequency, in MHz, that the LNB can be used for

LNB_TYPE_DUAL_LO_FREQ : number

A universal LNB that has two local oscillator frequency settings available. The selection between the frequencies is done by the presence of a 22 kHz control signal.

Kind: static constant of AbstractDvbSatelliteService

LNB_TYPE_SINGLE_LO_FREQ : number

Only a single local oscillator frequency is available in the LNB.

Kind: static constant of AbstractDvbSatelliteService

“lnbStopFrequencyChange” (lnbStopFrequency)

Fired when the highest frequency, in MHz, that the LNB can be used for has been changed

Kind: event emitted by AbstractDvbSatelliteService

ParamTypeDescription
lnbStopFrequencynumber

The new highest frequency, in MHz, that the LNB can be used for

“orbitalPositionChange” (orbitalPosition)

Fired when the orbital position has been changed

Kind: event emitted by AbstractDvbSatelliteService

ParamTypeDescription
orbitalPositionnumber

The new orbital position