AbstractDvbSatelliteService
On this page
- AbstractDvbSatelliteService ⇐
AbstractDvbService
- AbstractDvbSatelliteService()
- getExternalPowerState([tunerId]) ⇒
Promise.<Boolean>
- setExternalPowerState(powerState, [tunerId]) ⇒
Promise.<number>
- getLnbType([tunerId]) ⇒
Promise.<Boolean>
- setLnbType(lnbType, [tunerId]) ⇒
Promise.<number>
- getLnbLowFreq([tunerId]) ⇒
Promise.<number>
- setLnbLowFreq(lnbLowFreq, [tunerId]) ⇒
Promise.<number>
- getLnbHighFreq([tunerId]) ⇒
Promise.<number>
- setLnbHighFreq(lnbHighFreq, [tunerId]) ⇒
Promise.<number>
- getCrossoverFrequency([tunerId]) ⇒
Promise.<number>
- setCrossoverFrequency(crossoverFrequency, [tunerId]) ⇒
Promise.<number>
- getLnbStartFrequency([tunerId]) ⇒
Promise.<number>
- setLnbStartFrequency(lnbStartFrequency, [tunerId]) ⇒
Promise.<number>
- getLnbStopFrequency([tunerId]) ⇒
Promise.<number>
- setLnbStopFrequency(lnbStopFrequency, [tunerId]) ⇒
Promise.<number>
- getOrbitalPosition([tunerId]) ⇒
Promise.<number>
- setOrbitalPosition(orbitalPosition, [tunerId]) ⇒
Promise.<number>
- _getExternalPowerState([tunerId]) ⇒
Promise.<Boolean>
- _setExternalPowerState(powerState, [tunerId]) ⇒
Promise.<Boolean>
- _getLnbType([tunerId]) ⇒
Promise.<number>
- _setLnbType(lnbType, [tunerId]) ⇒
Promise.<number>
- _getLnbLowFreq([tunerId]) ⇒
Promise.<number>
- _setLnbLowFreq(lnbLowFreq, [tunerId]) ⇒
Promise.<number>
- _getLnbHighFreq([tunerId]) ⇒
Promise.<number>
- _setLnbHighFreq(lnbHighFreq, [tunerId]) ⇒
Promise.<number>
- _getCrossoverFrequency([tunerId]) ⇒
Promise.<number>
- _setCrossoverFrequency(crossoverFrequency, [tunerId]) ⇒
Promise.<number>
- _getLnbStartFrequency([tunerId]) ⇒
Promise.<number>
- _setLnbStartFrequency(lnbStartFrequency, [tunerId]) ⇒
Promise.<number>
- _getLnbStopFrequency([tunerId]) ⇒
Promise.<number>
- _setLnbStopFrequency(lnbStopFrequency, [tunerId]) ⇒
Promise.<number>
- _getOrbitalPosition([tunerId]) ⇒
Promise.<number>
- _setOrbitalPosition(orbitalPosition, [tunerId]) ⇒
Promise.<number>
- _onExternalPowerStateChange(powerState) ⇒
Promise
- _onLnbTypeChange(lnbType) ⇒
Promise
- _onLnbLowFreqChange(lnbLowFreq) ⇒
Promise
- _onLnbHighFreqChange(lnbHighFreq) ⇒
Promise
- _onCrossoverFrequencyChange(crossoverFrequency) ⇒
Promise
- _onLnbStartFrequencyChange(lnbStartFrequency) ⇒
Promise
- _onLnbStopFrequencyChange(lnbStopFrequency) ⇒
Promise
- _onOrbitalPositionChange(orbitalPosition) ⇒
Promise
- “externalPowerStateChange” (powerState)
- “lnbTypeChange” (lnbType)
- “lnbLowFreqChange” (lnbLowFreq)
- “lnbHighFreqChange” (lnbHighFreqChange)
- “crossoverFrequencyChange” (crossoverFrequency)
- “lnbStartFrequencyChange” (lnbStartFrequency)
- LNB_TYPE_DUAL_LO_FREQ :
number
- LNB_TYPE_SINGLE_LO_FREQ :
number
- “lnbStopFrequencyChange” (lnbStopFrequency)
- “orbitalPositionChange” (orbitalPosition)
AbstractDvbSatelliteService ⇐ AbstractDvbService
Kind: global abstract class
Extends: AbstractDvbService
Warning: /!\ THERE IS NO CACHE FOR THIS SERVICE /!\
Service:
- AbstractDvbSatelliteService ⇐
AbstractDvbService
- new AbstractDvbSatelliteService()
- instance
- .getExternalPowerState([tunerId]) ⇒
Promise.<Boolean>
- .setExternalPowerState(powerState, [tunerId]) ⇒
Promise.<number>
- .getLnbType([tunerId]) ⇒
Promise.<Boolean>
- .setLnbType(lnbType, [tunerId]) ⇒
Promise.<number>
- .getLnbLowFreq([tunerId]) ⇒
Promise.<number>
- .setLnbLowFreq(lnbLowFreq, [tunerId]) ⇒
Promise.<number>
- .getLnbHighFreq([tunerId]) ⇒
Promise.<number>
- .setLnbHighFreq(lnbHighFreq, [tunerId]) ⇒
Promise.<number>
- .getCrossoverFrequency([tunerId]) ⇒
Promise.<number>
- .setCrossoverFrequency(crossoverFrequency, [tunerId]) ⇒
Promise.<number>
- .getLnbStartFrequency([tunerId]) ⇒
Promise.<number>
- .setLnbStartFrequency(lnbStartFrequency, [tunerId]) ⇒
Promise.<number>
- .getLnbStopFrequency([tunerId]) ⇒
Promise.<number>
- .setLnbStopFrequency(lnbStopFrequency, [tunerId]) ⇒
Promise.<number>
- .getOrbitalPosition([tunerId]) ⇒
Promise.<number>
- .setOrbitalPosition(orbitalPosition, [tunerId]) ⇒
Promise.<number>
- ._getExternalPowerState([tunerId]) ⇒
Promise.<Boolean>
- ._setExternalPowerState(powerState, [tunerId]) ⇒
Promise.<Boolean>
- ._getLnbType([tunerId]) ⇒
Promise.<number>
- ._setLnbType(lnbType, [tunerId]) ⇒
Promise.<number>
- ._getLnbLowFreq([tunerId]) ⇒
Promise.<number>
- ._setLnbLowFreq(lnbLowFreq, [tunerId]) ⇒
Promise.<number>
- ._getLnbHighFreq([tunerId]) ⇒
Promise.<number>
- ._setLnbHighFreq(lnbHighFreq, [tunerId]) ⇒
Promise.<number>
- ._getCrossoverFrequency([tunerId]) ⇒
Promise.<number>
- ._setCrossoverFrequency(crossoverFrequency, [tunerId]) ⇒
Promise.<number>
- ._getLnbStartFrequency([tunerId]) ⇒
Promise.<number>
- ._setLnbStartFrequency(lnbStartFrequency, [tunerId]) ⇒
Promise.<number>
- ._getLnbStopFrequency([tunerId]) ⇒
Promise.<number>
- ._setLnbStopFrequency(lnbStopFrequency, [tunerId]) ⇒
Promise.<number>
- ._getOrbitalPosition([tunerId]) ⇒
Promise.<number>
- ._setOrbitalPosition(orbitalPosition, [tunerId]) ⇒
Promise.<number>
- ._onExternalPowerStateChange(powerState) ⇒
Promise
- ._onLnbTypeChange(lnbType) ⇒
Promise
- ._onLnbLowFreqChange(lnbLowFreq) ⇒
Promise
- ._onLnbHighFreqChange(lnbHighFreq) ⇒
Promise
- ._onCrossoverFrequencyChange(crossoverFrequency) ⇒
Promise
- ._onLnbStartFrequencyChange(lnbStartFrequency) ⇒
Promise
- ._onLnbStopFrequencyChange(lnbStopFrequency) ⇒
Promise
- ._onOrbitalPositionChange(orbitalPosition) ⇒
Promise
- “externalPowerStateChange” (powerState)
- “lnbTypeChange” (lnbType)
- “lnbLowFreqChange” (lnbLowFreq)
- “lnbHighFreqChange” (lnbHighFreqChange)
- “crossoverFrequencyChange” (crossoverFrequency)
- “lnbStartFrequencyChange” (lnbStartFrequency)
- .getExternalPowerState([tunerId]) ⇒
- static
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
Param | Type | Description |
---|---|---|
[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
Param | Type | Description |
---|---|---|
powerState | number | 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
Param | Type | Description |
---|---|---|
[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
Param | Type | Description |
---|---|---|
lnbType | number | 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.
Param | Type | Description |
---|---|---|
[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
Param | Type | Description |
---|---|---|
lnbLowFreq | number | 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.
Param | Type | Description |
---|---|---|
[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
Param | Type | Description |
---|---|---|
lnbHighFreq | number | 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.
Param | Type | Description |
---|---|---|
[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
Param | Type | Description |
---|---|---|
crossoverFrequency | number | 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.
Param | Type | Description |
---|---|---|
[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
Param | Type | Description |
---|---|---|
lnbStartFrequency | number | 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.
Param | Type | Description |
---|---|---|
[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
Param | Type | Description |
---|---|---|
lnbStopFrequency | number | 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.
Param | Type | Description |
---|---|---|
[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
Param | Type | Description |
---|---|---|
orbitalPosition | number | 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
Param | Type | Description |
---|---|---|
[tunerId] | string | Id of tuner(by default, current tuner). |
_setExternalPowerState(powerState, [tunerId]) ⇒ Promise.<Boolean>
Kind: instance abstract method of AbstractDvbSatelliteService
Access: protected
Param | Type | Description |
---|---|---|
powerState | * | |
[tunerId] | string | Id of tuner(by default, current tuner). |
_getLnbType([tunerId]) ⇒ Promise.<number>
Kind: instance abstract method of AbstractDvbSatelliteService
Access: protected
Param | Type | Description |
---|---|---|
[tunerId] | string | Id of tuner(by default, current tuner). |
_setLnbType(lnbType, [tunerId]) ⇒ Promise.<number>
Kind: instance abstract method of AbstractDvbSatelliteService
Access: protected
Param | Type | Description |
---|---|---|
lnbType | * | |
[tunerId] | string | Id of tuner(by default, current tuner). |
_getLnbLowFreq([tunerId]) ⇒ Promise.<number>
Kind: instance abstract method of AbstractDvbSatelliteService
Access: protected
Param | Type | Description |
---|---|---|
[tunerId] | string | Id of tuner(by default, current tuner). |
_setLnbLowFreq(lnbLowFreq, [tunerId]) ⇒ Promise.<number>
Kind: instance abstract method of AbstractDvbSatelliteService
Access: protected
Param | Type | Description |
---|---|---|
lnbLowFreq | * | |
[tunerId] | string | Id of tuner(by default, current tuner). |
_getLnbHighFreq([tunerId]) ⇒ Promise.<number>
Kind: instance abstract method of AbstractDvbSatelliteService
Access: protected
Param | Type | Description |
---|---|---|
[tunerId] | string | Id of tuner(by default, current tuner). |
_setLnbHighFreq(lnbHighFreq, [tunerId]) ⇒ Promise.<number>
Kind: instance abstract method of AbstractDvbSatelliteService
Access: protected
Param | Type | Description |
---|---|---|
lnbHighFreq | * | |
[tunerId] | string | Id of tuner(by default, current tuner). |
_getCrossoverFrequency([tunerId]) ⇒ Promise.<number>
Kind: instance abstract method of AbstractDvbSatelliteService
Access: protected
Param | Type | Description |
---|---|---|
[tunerId] | string | Id of tuner(by default, current tuner). |
_setCrossoverFrequency(crossoverFrequency, [tunerId]) ⇒ Promise.<number>
Kind: instance abstract method of AbstractDvbSatelliteService
Access: protected
Param | Type | Description |
---|---|---|
crossoverFrequency | * | |
[tunerId] | string | Id of tuner(by default, current tuner). |
_getLnbStartFrequency([tunerId]) ⇒ Promise.<number>
Kind: instance abstract method of AbstractDvbSatelliteService
Access: protected
Param | Type | Description |
---|---|---|
[tunerId] | string | Id of tuner(by default, current tuner). |
_setLnbStartFrequency(lnbStartFrequency, [tunerId]) ⇒ Promise.<number>
Kind: instance abstract method of AbstractDvbSatelliteService
Access: protected
Param | Type | Description |
---|---|---|
lnbStartFrequency | * | |
[tunerId] | string | Id of tuner(by default, current tuner). |
_getLnbStopFrequency([tunerId]) ⇒ Promise.<number>
Kind: instance abstract method of AbstractDvbSatelliteService
Access: protected
Param | Type | Description |
---|---|---|
[tunerId] | string | Id of tuner(by default, current tuner). |
_setLnbStopFrequency(lnbStopFrequency, [tunerId]) ⇒ Promise.<number>
Kind: instance abstract method of AbstractDvbSatelliteService
Access: protected
Param | Type | Description |
---|---|---|
lnbStopFrequency | * | |
[tunerId] | string | Id of tuner(by default, current tuner). |
_getOrbitalPosition([tunerId]) ⇒ Promise.<number>
Kind: instance abstract method of AbstractDvbSatelliteService
Access: protected
Param | Type | Description |
---|---|---|
[tunerId] | string | Id of tuner(by default, current tuner). |
_setOrbitalPosition(orbitalPosition, [tunerId]) ⇒ Promise.<number>
Kind: instance abstract method of AbstractDvbSatelliteService
Access: protected
Param | Type | Description |
---|---|---|
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
Param | Type | Description |
---|---|---|
powerState | string | The new external power state |
_onLnbTypeChange(lnbType) ⇒ Promise
Fired when the LNB type has been changed
Kind: instance method of AbstractDvbSatelliteService
Access: protected
Param | Type | Description |
---|---|---|
lnbType | number | The new LNB type |
_onLnbLowFreqChange(lnbLowFreq) ⇒ Promise
Fired when the low LNB oscillator frequency has been changed
Kind: instance method of AbstractDvbSatelliteService
Access: protected
Param | Type | Description |
---|---|---|
lnbLowFreq | number | 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
Param | Type | Description |
---|---|---|
lnbHighFreq | number | 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
Param | Type | Description |
---|---|---|
crossoverFrequency | number | 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
Param | Type | Description |
---|---|---|
lnbStartFrequency | number | 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
Param | Type | Description |
---|---|---|
lnbStopFrequency | number | 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
Param | Type | Description |
---|---|---|
orbitalPosition | number | The new orbital position |
“externalPowerStateChange” (powerState)
Fired when the dvb tuner external power state has been changed
Kind: event emitted by AbstractDvbSatelliteService
Param | Type | Description |
---|---|---|
powerState | string | The new external power state |
“lnbTypeChange” (lnbType)
Fired when the LNB type change
Kind: event emitted by AbstractDvbSatelliteService
Param | Type | Description |
---|---|---|
lnbType | number | The new LNB type |
“lnbLowFreqChange” (lnbLowFreq)
Fired when the low LNB oscillator frequency has been changed
Kind: event emitted by AbstractDvbSatelliteService
Param | Type | Description |
---|---|---|
lnbLowFreq | number | 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
Param | Type | Description |
---|---|---|
lnbHighFreqChange | number | The new high LNB oscillator frequency in MHz. |
“crossoverFrequencyChange” (crossoverFrequency)
Fired when the crossover frequency has been changed
Kind: event emitted by AbstractDvbSatelliteService
Param | Type | Description |
---|---|---|
crossoverFrequency | number | 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
Param | Type | Description |
---|---|---|
lnbStartFrequency | number | 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
Param | Type | Description |
---|---|---|
lnbStopFrequency | number | 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
Param | Type | Description |
---|---|---|
orbitalPosition | number | The new orbital position |