36 virtual bool ISNewSwitch(
const char *dev,
const char *name,
ISState *states,
char *names[],
int n)
override;
50 bool updateTemperature();
51 bool updatePosition();
52 bool updateVoltageIn();
53 bool updateMaxLimit();
55 void setConnectionParams();
56 bool initCommandSet();
58 bool getStartupValues();
59 void hexDump(
char * buf,
const char * data,
int size);
61 uint16_t m_TemperatureCounter { 0 };
92 std::unique_ptr<PrimalucaLabs::Esatto> m_Esatto;
93 static constexpr uint8_t TEMPERATURE_FREQUENCY {10};
const char * getDefaultName() override
virtual bool ISNewSwitch(const char *dev, const char *name, ISState *states, char *names[], int n) override
Process the client newSwitch command.
virtual bool AbortFocuser() override
AbortFocuser all focus motion.
virtual IPState MoveRelFocuser(FocusDirection dir, uint32_t ticks) override
MoveFocuser the focuser to an relative position.
virtual IPState MoveAbsFocuser(uint32_t targetTicks) override
MoveFocuser the focuser to an absolute position.
virtual bool SetFocuserBacklash(int32_t steps) override
SetFocuserBacklash Set the focuser backlash compensation value.
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 void TimerHit() override
Callback function to be called once SetTimer duration elapses.
virtual bool ReverseFocuser(bool enabled) override
ReverseFocuser Reverse focuser motion direction.
virtual bool updateProperties() override
updateProperties is called whenever there is a change in the CONNECTION status of the driver....
virtual ~Esatto() override=default