41 virtual bool ISNewNumber(
const char *dev,
const char *name,
double values[],
char *names[],
int n)
override;
42 virtual bool ISNewSwitch(
const char *dev,
const char *name,
ISState *states,
char *names[],
int n)
override;
59 bool getParameter(
const std::string ¶meter, std::string &value);
64 bool setParameter(
const std::string ¶meter,
const std::string &value);
70 bool sendCommandOK(
const char *
cmd);
71 bool sendCommand(
const char *
cmd,
char * res =
nullptr,
int cmd_len = -1,
int res_len = -1);
72 void hexDump(
char * buf,
const char * data,
int size);
73 std::vector<std::string> split(
const std::string &input,
const std::string ®ex);
78 void getStartupValues();
79 template <
typename T> std::string to_string(
const T a_value,
const int n = 2);
106 ISwitch TemperatureCompensationS[2];
124 INumber TemperatureSettingsN[3];
155 std::map<Summary, std::string> m_Summary;
156 bool m_ConfirmFactoryReset {
false };
161 static constexpr const char * SETTINGS_TAB =
"Settings";
162 static constexpr const char * COMPENSATION_TAB =
"Compensation";
164 static const char DRIVER_STOP_CHAR { 0x0A };
166 static constexpr const uint8_t DRIVER_TIMEOUT {3};
168 static constexpr const uint8_t DRIVER_LEN {192};
virtual bool SetFocuserMaxPosition(uint32_t ticks) override
Reverse Focuser Motion.
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...
virtual void TimerHit() override
Callback function to be called once SetTimer duration elapses.
virtual bool updateProperties() override
Updates the state and definition of properties based on the current connection status....
virtual IPState MoveRelFocuser(FocusDirection dir, unsigned int ticks) override
virtual bool ReverseFocuser(bool enabled) override
Reverse Focuser Motion.
virtual IPState MoveAbsFocuser(uint32_t targetTicks) override
MoveFocuser the focuser to an absolute position.
const char * getDefaultName() override
virtual bool initProperties() override
Initializes the default properties for the focuser device. Sets up standard INDI properties,...
virtual bool saveConfigItems(FILE *fp) override
virtual bool AbortFocuser() override
AbortFocuser all focus motion.
virtual bool Handshake() override
Performs a device-specific handshake after a connection is established. This method should be overrid...
virtual bool SyncFocuser(uint32_t ticks) override
Sync focuser.
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...
Number vector property descriptor.
Switch vector property descriptor.
Text vector property descriptor.