35 virtual bool ISNewNumber(
const char *dev,
const char *name,
double values[],
char *names[],
int n)
override;
36 virtual bool ISNewSwitch(
const char *dev,
const char *name,
ISState *states,
char *names[],
int n)
override;
45 virtual bool Connect()
override;
56 void GetFocusParams();
57 bool updateStepMode();
58 bool updateStepDelay();
59 bool updateTemperature();
60 bool updatePosition();
64 bool gotoAbsPosition(uint32_t position);
66 bool setStepDelay(uint8_t delay);
67 bool setTemperatureCalibration(
double calibration);
68 bool setTemperatureCoefficient(
double coefficient);
69 bool setTemperatureCompensation(
bool enable);
71 double targetPos { 0 };
73 double lastTemperature { 0 };
87 ISwitch TemperatureCompensateS[2];
91 static constexpr
const uint8_t DRO_CMD = 16;
92 static constexpr
const char *SETTINGS_TAB =
"Settings";
virtual bool AbortFocuser() override
AbortFocuser all focus motion.
virtual void TimerHit() override
Callback function to be called once SetTimer duration elapses.
virtual bool saveConfigItems(FILE *fp) override
saveConfigItems Saves the Device Port and Focuser Presets in the configuration file
const char * getDefaultName() override
virtual bool Connect() override
Connect to the device. INDI::DefaultDevice implementation connects to appropriate connection interfac...
virtual bool Disconnect() override
Disconnect from device.
virtual bool initProperties() override
Initilize properties initial state and value. The child class must implement this function.
virtual bool Handshake() override
perform handshake with device to check communication
virtual bool ISNewSwitch(const char *dev, const char *name, ISState *states, char *names[], int n) override
Process the client newSwitch command.
virtual IPState MoveRelFocuser(FocusDirection dir, uint32_t ticks) override
MoveFocuser the focuser to an relative position.
virtual bool ISNewNumber(const char *dev, const char *name, double values[], char *names[], int n) override
Process the client newNumber command.
virtual IPState MoveAbsFocuser(uint32_t targetTicks) override
MoveFocuser the focuser to an absolute position.
virtual bool SyncFocuser(uint32_t ticks) override
SyncFocuser Set current position to ticks without moving the focuser.
virtual bool updateProperties() override
updateProperties is called whenever there is a change in the CONNECTION status of the driver....
Number vector property descriptor.
Switch vector property descriptor.