33 virtual bool ISNewNumber(
const char *dev,
const char *name,
double values[],
char *names[],
int n)
override;
42 virtual uint32_t GetAbsFocuserPosition();
43 virtual bool SetApperture(uint32_t index);
47 bool sendCommand(
const char *
cmd,
char * res =
nullptr,
int cmd_len = -1,
int res_len = -1);
48 void hexDump(
char * buf,
const char * data,
int size);
49 std::vector<std::string> split(
const std::string &input,
const std::string ®ex);
52 static const char DRIVER_STOP_CHAR { 0x23 };
54 static constexpr const uint8_t DRIVER_TIMEOUT {3};
56 static constexpr const uint8_t DRIVER_LEN {64};
virtual bool ISNewNumber(const char *dev, const char *name, double values[], char *names[], int n) override
Processes incoming new number values from the client for this device. Handles updates to FocuserInter...
const char * getDefaultName() override
bool updateProperties() override
Updates the state and definition of properties based on the current connection status....
virtual IPState MoveAbsFocuser(uint32_t targetTicks) override
MoveFocuser the focuser to an absolute position.
bool initProperties() override
Initializes the default properties for the focuser device. Sets up standard INDI properties,...
virtual IPState MoveRelFocuser(FocusDirection dir, uint32_t ticks) override
MoveFocuser the focuser to an relative position.
virtual bool Disconnect() override
Disconnect from device.
virtual bool Handshake() override
Performs a device-specific handshake after a connection is established. This method should be overrid...