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 };
62 double m_LastTemperature[2] = {-1, -1};
63 double m_LastVoltage[2] = {-1, -1};
94 std::unique_ptr<PrimalucaLabs::Esatto> m_Esatto;
95 static constexpr uint8_t TEMPERATURE_FREQUENCY {10};
96 static constexpr double MEASUREMENT_THRESHOLD {0.1};
const char * getDefaultName() override
virtual bool ISNewSwitch(const char *dev, const char *name, ISState *states, char *names[], int n) override
Processes incoming new switch states from the client for this device. Handles updates to FocuserInter...
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
Initializes the default properties for the focuser device. Sets up standard INDI properties,...
virtual bool Handshake() override
Performs a device-specific handshake after a connection is established. This method should be overrid...
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
Updates the state and definition of properties based on the current connection status....
virtual ~Esatto() override=default