39 virtual bool ISNewNumber(
const char *dev,
const char *name,
double values[],
char *names[],
int n)
override;
40 virtual bool ISNewSwitch(
const char *dev,
const char *name,
ISState *states,
char *names[],
int n)
override;
58 bool getVendorString(
const char *
cmd,
char *out,
size_t outLen,
bool requireTerminated =
false,
59 int *rcOut =
nullptr);
93 const char *unit =
"");
105 const char *label,
double values[],
char *names[],
int n);
117 const char *readCmd,
const char *label,
118 ISState *states,
char *names[],
int n,
bool *mirror =
nullptr);
124 const char *readCmd,
const char *label,
125 ISState *states,
char *names[],
int n);
140 bool m_HasModel =
false;
144 bool m_ProbesDone =
false;
145 bool m_PropertiesDefined =
false;
148 double m_ProbeDeadline = 0;
149 bool m_ProbeBudgetWarned =
false;
151 bool m_HasRALimits =
false;
152 bool m_HasDecLimits =
false;
153 bool m_HasLed =
false;
154 bool m_HasAcs =
false;
155 bool m_HasPowerLoss =
false;
156 bool m_HasAsiair =
false;
157 bool m_HasSuperHome =
false;
158 bool m_HasDecSecHome =
false;
159 bool m_HasAutoTrack =
false;
163 bool m_HasSuperGoto =
false;
164 bool m_HasSuperGotoTolerance =
false;
165 bool m_HasRaPid =
false;
166 bool m_HasDecPid =
false;
175 bool m_AcsEnabled =
false;
176 bool m_AcsCountersGood =
true;
177 int m_AcsPollDivider = 0;
bool getVendorQuad(const char *cmd, double *out)
bool refreshRALimits(double expectedLeft, double expectedRight)
bool handlePidWrite(INDI::PropertyNumber &np, const char *axisPrefix, const char *readCmd, const char *label, double values[], char *names[], int n)
bool getVendorBool(const char *cmd, bool &value)
virtual bool ISNewNumber(const char *dev, const char *name, double values[], char *names[], int n) override
Process the client newNumber command.
virtual bool updateProperties() override
Called when connected state changes, to add/remove properties.
void deleteVendorProperties()
bool readVendorStringOnce(const char *cmd, char *out, size_t outLen, bool requireTerminated, int *rcOut)
bool getVendorString(const char *cmd, char *out, size_t outLen, bool requireTerminated=false, int *rcOut=nullptr)
bool refreshDecLimits(double expectedCCW, double expectedCW)
bool probeBudgetExpired()
bool refreshSuperGotoTolerance(double expected)
bool probePidAxis(INDI::PropertyNumber &np, const char *readCmd, const char *label)
virtual bool ReadScopeStatus() override
Read telescope status.
bool probeBoolSwitch(INDI::PropertySwitch &sp, const char *readCmd, const char *label)
bool rangeCheck(INDI::PropertyNumber &np, int index, double value, const char *what, const char *unit="")
virtual bool ISNewSwitch(const char *dev, const char *name, ISState *states, char *names[], int n) override
Process the client newSwitch command.
void defineVendorProperties()
virtual bool initProperties() override
Called to initialize basic properties required all the time.
bool sendVendorSetter(const char *cmd)
bool handleBoolSwitch(INDI::PropertySwitch &sp, const char *setOn, const char *setOff, const char *readCmd, const char *label, ISState *states, char *names[], int n, bool *mirror=nullptr)
virtual const char * getDefaultName() override
bool setReportedValues(INDI::PropertyNumber &np, const double *values, int count)
bool getVendorPair(const char *cmd, double &first, double &second)
bool refreshAcsCounters(bool stickyOnFailure=true)
bool handlePendingSwitch(INDI::PropertySwitch &sp, const char *setOn, const char *setOff, const char *readCmd, const char *label, ISState *states, char *names[], int n)
~LX200_Proxisky() override=default
bool refreshAcsThresholds(double expectedRA, double expectedDec)