30 #define NOTESTABLISHED 0
32 #define MOUNTNOTINITIALIZED 0
33 #define MOUNTINITIALIZED 1
44 virtual bool ISNewSwitch(
const char *dev,
const char *name,
ISState *states,
char *names[],
int n)
override;
45 virtual bool ISNewNumber(
const char *dev,
const char *name,
double values[],
char *names[],
int n)
override;
60 virtual bool Park()
override;
64 virtual bool Goto(
double,
double)
override;
65 virtual bool updateTime(ln_date *utc,
double utc_offset)
override;
66 virtual bool updateLocation(
double latitude,
double longitude,
double elevation)
override;
69 virtual int SendPulseCmd(int8_t direction, uint32_t duration_msec)
override;
115 bool setBasicDataPart0();
116 bool setBasicDataPart1();
119 void syncSideOfPier();
121 bool timeUpdated =
false, locationUpdated =
false;
virtual bool initProperties() override
Called to initialize basic properties required all the time.
ISwitchVectorProperty StartUpSP
ISwitchVectorProperty APSlewSpeedSP
virtual bool SetTrackEnabled(bool enabled) override
SetTrackEnabled Engages or disengages mount tracking. If there are no tracking modes available,...
virtual bool updateTime(ln_date *utc, double utc_offset) override
Update telescope time, date, and UTC offset.
ISwitchVectorProperty APGuideSpeedSP
virtual bool UnPark() override
Unpark the telescope if already parked.
virtual int SendPulseCmd(int8_t direction, uint32_t duration_msec) override
virtual bool getUTFOffset(double *offset) override
virtual void ISGetProperties(const char *dev) override
define the driver's properties to the client. Usually, only a minimum set of properties are defined t...
virtual bool SetTrackMode(uint8_t mode) override
SetTrackMode Set active tracking mode. Do not change track state.
INumber HorizontalCoordsN[2]
ISwitchVectorProperty SwapSP
virtual bool ISNewNumber(const char *dev, const char *name, double values[], char *names[], int n) override
Process the client newNumber command.
virtual bool saveConfigItems(FILE *fp) override
saveConfigItems Save specific properties in the provide config file handler. Child class usually over...
virtual const char * getDefaultName() override
virtual bool ReadScopeStatus() override
Read telescope status.
INumberVectorProperty SlewAccuracyNP
virtual bool updateProperties() override
Called when connected state changes, to add/remove properties.
virtual bool SetDefaultPark() override
SetDefaultPark Set default coordinates/encoders value as the desired parking position.
IText DeclinationAxisT[1]
virtual bool Park() override
Park the telescope to its home position.
ITextVectorProperty VersionTP
virtual bool updateLocation(double latitude, double longitude, double elevation) override
Update telescope location settings.
virtual bool Handshake() override
perform handshake with device to check communication
INumberVectorProperty HorizontalCoordsNP
virtual bool SetTrackRate(double raRate, double deRate) override
SetTrackRate Set custom tracking rates.
virtual bool SetCurrentPark() override
SetCurrentPark Set current coordinates/encoders value as the desired parking position.
virtual bool ISNewSwitch(const char *dev, const char *name, ISState *states, char *names[], int n) override
Process the client newSwitch command.
INumber HourangleCoordsN[2]
virtual bool SetSlewRate(int index) override
SetSlewRate Set desired slew rate index.
ISwitchVectorProperty SyncCMRSP
virtual bool Disconnect() override
Disconnect from device.
INumberVectorProperty HourangleCoordsNP
virtual bool Sync(double ra, double dec) override
Set the telescope current RA and DEC coordinates to the supplied RA and DEC coordinates.
virtual bool Goto(double, double) override
Move the scope to the supplied RA and DEC coordinates.
virtual void debugTriggered(bool enable) override
Inform driver that the debug option was triggered. This function is called after setDebug is triggere...
ITextVectorProperty DeclinationAxisTP
#define MOUNTNOTINITIALIZED
Number vector property descriptor.
Switch vector property descriptor.
Text vector property descriptor.