38#define RBB_MAX_LEN 256
39#define CMDB_MAX_LEN 32
51 virtual bool ISNewNumber(
const char *dev,
const char *name,
double values[],
char *names[],
int n)
override;
55 virtual bool UnPark()
override;
56 virtual bool Park()
override;
91 void splitString(
const char *str,
char array[][100],
int *count);
void splitString(const char *str, char array[][100], int *count)
IPState MoveAbsFocuser(uint32_t targetTicks) override
MoveFocuser the focuser to an absolute position.
const char * getDefaultName() override
IPState MoveRelFocuser(FocusDirection dir, uint32_t ticks) override
MoveFocuser the focuser to an relative position.
bool initProperties() override
Called to initialize basic properties required all the time.
long int OSTimeoutMicroSeconds
INDI::PropertyText VersionTP
bool sendCommandBlind(const char *cmd)
int getCommandSingleCharResponse(int fd, char *data, const char *cmd)
virtual void getBasicData() override
void ISGetProperties(const char *dev) override
define the driver's properties to the client. Usually, only a minimum set of properties are defined t...
bool AbortFocuser() override
AbortFocuser all focus motion.
virtual bool SetTrackMode(uint8_t mode) override
SetTrackMode Set active tracking mode. Do not change track state.
int getCommandSingleCharErrorOrLongResponse(int fd, char *data, const char *cmd, bool shortTimeout)
virtual IPState ExecuteHomeAction(TelescopeHomeAction action) override
Execute a homing action.
virtual bool ReadScopeStatus() override
Read telescope status.
virtual bool UnPark() override
Unpark the telescope if already parked.
INDI::PropertyNumber GuideRateNP
bool updateProperties() override
Called when connected state changes, to add/remove properties.
virtual bool ISNewNumber(const char *dev, const char *name, double values[], char *names[], int n) override
Process the client newNumber command.
long int OSTimeoutSeconds
virtual bool Park() override
Park the telescope to its home position.
virtual bool SetTrackEnabled(bool enabled) override
SetTrackEnabled Engages or disengages mount tracking. If there are no tracking modes available,...
Implementations for common driver routines.