Go to the documentation of this file.
24 virtual void Halt(
void);
43 bool Parse(
const char *s);
56 bool Load(
const char *
FileName,
bool AllowComments =
false,
bool MustExist =
false);
91 const char *
Wait(
const char *s)
const;
94 const char *
GetCodes(
const char *s,
uchar *Codes = NULL, uint8_t *MaxCodes = NULL)
const;
98 bool Parse(
const char *s);
115 int Devices(
void)
const {
return devices; }
118 int Source(
void)
const {
return source; }
120 int Slof(
void)
const {
return slof; }
124 int Lof(
void)
const {
return lof; }
126 int Position(
void)
const {
return position; }
132 bool IsScr(
void)
const {
return scrBank >= 0; }
140 bool Load(
const char *
FileName,
bool AllowComments =
false,
bool MustExist =
false);
141 const cDiseqc *
Get(
int Device,
int Source,
int Frequency,
char Polarization,
const cScr **Scr)
const;
bool Load(const char *FileName, bool AllowComments=false, bool MustExist=false)
virtual void EnableLimits(void)
virtual void DisableLimits(void)
const char * GetCodes(const char *s, uchar *Codes=NULL, uint8_t *MaxCodes=NULL) const
uint UserBand(void) const
const char * FileName(void)
const char * Wait(const char *s) const
virtual void Drive(ePositionerDirection Direction)
virtual void SetLimit(ePositionerDirection Direction)
const char * GetScrBank(const char *s) const
virtual void GotoPosition(uint Number, int Longitude)
Move the dish to the satellite position stored under the given Number.
virtual void StorePosition(uint Number)
eDiseqcActions Execute(const char **CurrentAction, uchar *Codes, uint8_t *MaxCodes, const cScr *Scr, int *Frequency) const
Parses the DiSEqC commands and returns the appropriate action code with every call.
A steerable satellite dish generally points to the south on the northern hemisphere,...
virtual void GotoAngle(int Longitude)
Move the dish to the given angular position.
bool Parse(const char *s)
cScr * GetUnused(int Device)
bool Parse(const char *s)
const char * GetPosition(const char *s) const
int SetScrFrequency(int SatFrequency, const cScr *Scr, uint8_t *Codes) const
virtual void RecalcPositions(uint Number)
int SetScrPin(const cScr *Scr, uint8_t *Codes) const
virtual void Step(ePositionerDirection Direction, uint Steps=1)
const cDiseqc * Get(int Device, int Source, int Frequency, char Polarization, const cScr **Scr) const
Selects a DiSEqC entry suitable for the given Device and tuning parameters.
bool Load(const char *FileName, bool AllowComments=false, bool MustExist=false)
void SendDiseqc(uint8_t *Codes, int NumCodes)