30 virtual ~AAF2()
override =
default;
77 bool sendCommand(
const char *
cmd,
char * res =
nullptr);
80 bool readTemperature();
92 double targetPos { 0 }, lastPos { 0 }, lastTemperature { 0 };
95 static const uint8_t DRIVER_RES { 32 };
97 static const char DRIVER_DEL {
'#' };
99 static const uint8_t DRIVER_TIMEOUT { 3 };
virtual bool AbortFocuser() override
AbortFocuser all focus motion.
virtual ~AAF2() override=default
virtual IPState MoveRelFocuser(FocusDirection dir, uint32_t ticks) override
MoveRelFocuser Move focuser for a relative amount of ticks in a specific direction.
virtual bool SyncFocuser(uint32_t ticks) override
SyncFocuser Set the supplied position as the current focuser position.
virtual void TimerHit() override
Callback function to be called once SetTimer duration elapses.
virtual bool initProperties() override
Initilize properties initial state and value. The child class must implement this function.
virtual bool updateProperties() override
updateProperties is called whenever there is a change in the CONNECTION status of the driver....
virtual bool Handshake() override
Handshake Try to communicate with Focuser and see if there is a valid response.
virtual IPState MoveAbsFocuser(uint32_t targetTicks) override
MoveAbsFocuser Move to an absolute target position.
const char * getDefaultName() override
Number vector property descriptor.