48 virtual bool ISNewNumber(
const char *dev,
const char *name,
double values[],
char *names[],
int n)
override;
49 virtual bool ISNewSwitch(
const char *dev,
const char *name,
ISState *states,
char *names[],
int n)
override;
50 virtual bool ISNewText(
const char *dev,
const char *name,
char *texts[],
char *names[],
int n)
override;
70 virtual bool SetPowerPort(
size_t port,
bool enabled)
override;
71 virtual bool SetDewPort(
size_t port,
bool enabled,
double dutyCycle)
override;
75 virtual bool SetUSBPort(
size_t port,
bool enabled)
override;
90 bool getConsumptionData();
91 bool getMetricsData();
92 bool findExternalMotorController();
93 bool getXMCStartupData();
94 std::vector<std::string> split(
const std::string &input,
const std::string ®ex);
136 bool setPowerEnabled(uint8_t port,
bool enabled);
137 bool setPowerOnBoot();
138 bool setLedIndicator(
bool enabled);
141 bool setAutoDewEnabled(
bool enabled);
142 bool setAutoDewAggression(uint8_t value);
143 bool getAutoDewAggression();
144 bool setDewPWM(uint8_t
id, uint8_t value);
148 bool setFocuserMaxSpeed(uint16_t maxSpeed);
149 bool setFocuserMicrosteps(
int value);
157 bool sendCommand(
const char *
cmd,
char *res);
160 bool setupComplete {
false };
249 std::vector<std::string> lastSensorData;
250 std::vector<std::string> lastConsumptionData;
251 std::vector<std::string> lastMetricsData;
252 char stopChar { 0xD };
253 bool m_HasExternalMotor {
false };
255 static constexpr const uint8_t PEGASUS_TIMEOUT {3};
256 static constexpr const uint8_t PEGASUS_LEN {128};
257 static constexpr const char *ENVIRONMENT_TAB {
"Environment"};
258 static constexpr const char *FIRMWARE_TAB {
"Firmware"};
The Serial class manages connection with serial devices including Bluetooth. Serial communication is ...
Class to provide extended functionality for devices in addition to the functionality provided by INDI...
Provides interface to implement focuser functionality.
Provides interface to implement weather reporting and safety monitoring functionality.
virtual bool SetPowerPort(size_t port, bool enabled) override
Power Interface Implementations.
virtual bool AbortFocuser() override
AbortFocuser all focus motion.
const char * getDefaultName() override
virtual bool SyncFocuser(uint32_t ticks) override
SyncFocuser Set current position to ticks without moving the focuser.
virtual bool SetFocuserBacklashEnabled(bool enabled) override
SetFocuserBacklashEnabled Enables or disables the focuser backlash compensation.
virtual bool SetDewPort(size_t port, bool enabled, double dutyCycle) override
SetDewPort Set DEW/Dew port duty cycle.
virtual bool ReverseFocuser(bool enabled) override
ReverseFocuser Reverse focuser motion direction.
virtual bool ISNewText(const char *dev, const char *name, char *texts[], char *names[], int n) override
Process the client newSwitch command.
virtual bool ISNewNumber(const char *dev, const char *name, double values[], char *names[], int n) override
Process the client newNumber command.
virtual IPState updateWeather() override
updateWeather Update weather conditions from device or service. The function should not change the st...
virtual IPState MoveRelFocuser(FocusDirection dir, uint32_t ticks) override
MoveFocuser the focuser to an relative position.
virtual bool initProperties() override
Initialize properties initial state and value. The child class must implement this function.
virtual bool ISNewSwitch(const char *dev, const char *name, ISState *states, char *names[], int n) override
Process the client newSwitch command.
virtual bool updateProperties() override
updateProperties is called whenever there is a change in the CONNECTION status of the driver....
virtual bool SetUSBPort(size_t port, bool enabled) override
SetUSBPort Set USB port on/off.
virtual void TimerHit() override
Callback function to be called once SetTimer duration elapses.
virtual bool saveConfigItems(FILE *fp) override
saveConfigItems Save specific properties in the provide config file handler. Child class usually over...
virtual IPState MoveAbsFocuser(uint32_t targetTicks) override
MoveFocuser the focuser to an absolute position.
virtual bool SetLEDEnabled(bool enabled) override
SetLEDEnabled Enable/disable power LEDs.
virtual bool CyclePower() override
CyclePower Cycle power to all ports.
virtual bool SetFocuserBacklash(int32_t steps) override
SetFocuserBacklash Set the focuser backlash compensation value.
virtual bool SetAutoDewEnabled(size_t port, bool enabled) override
SetAutoDewEnabled Enable/disable automatic dew control.
Combines all INDI Connection Plugins. Each INDI connection plugin is responsible of managing communic...