65 bool sendCommand(
const char *
cmd,
char *res =
nullptr,
bool silent =
false);
68 bool readMaxPosition();
77 bool isMoving(
bool *ok =
nullptr);
79 uint32_t lastPosition{0};
80 uint8_t m_MotionQueryFailures{0};
84 enum { VERSION, MODEL };
87 static const uint8_t WAF_RES{32};
89 static const char WAF_DEL{
'#'};
91 static const uint8_t WAF_TIMEOUT{3};
93 static const uint8_t WAF_MOTION_QUERY_MAX_FAILURES{5};
virtual bool SetFocuserMaxPosition(uint32_t ticks) override
SetFocuserMaxPosition Update focuser maximum position. It only updates the PresetNP property limits.
virtual bool Handshake() override
Handshake Try to communicate with the focuser and read its firmware version.
virtual bool SetFocuserBacklash(int32_t steps) override
SetFocuserBacklash Set the focuser backlash compensation value.
virtual bool SetFocuserBacklashEnabled(bool enabled) override
SetFocuserBacklashEnabled Enables or disables the focuser backlash compensation.
virtual void TimerHit() override
Callback function to be called once SetTimer duration elapses.
virtual bool SyncFocuser(uint32_t ticks) override
SyncFocuser Set current position to ticks without moving the focuser.
virtual bool updateProperties() override
Updates the state and definition of properties based on the current connection status....
const char * getDefaultName() override
virtual bool initProperties() override
Initializes the default properties for the focuser device. Sets up standard INDI properties,...
virtual bool ReverseFocuser(bool enabled) override
ReverseFocuser Reverse focuser motion direction.
virtual IPState MoveRelFocuser(FocusDirection dir, uint32_t ticks) override
MoveFocuser the focuser to an relative position.
virtual bool AbortFocuser() override
AbortFocuser all focus motion.
virtual IPState MoveAbsFocuser(uint32_t targetTicks) override
MoveFocuser the focuser to an absolute position.
virtual ~AskarWAF() override=default