139 bool ISNewNumber(
const char *dev,
const char *name,
double values[],
char *names[],
int n)
override;
140 bool ISNewSwitch(
const char *dev,
const char *name,
ISState *states,
char *names[],
int n)
override;
141 bool ISNewText(
const char *dev,
const char *name,
char *texts[],
char *names[],
int n)
override;
150 bool Park()
override;
153 bool Flip(
double ra,
double dec)
override;
170 bool setLocalDate(uint8_t days, uint8_t months, uint16_t years)
override;
176 int AddSyncPoint(
double MRa,
double MDec,
double MSide,
double PRa,
double PDec,
double SidTime);
249 bool sendWakeOnLanPacket();
250 bool m_ShutdownPending {
false };
254 void updateMeridianValues(
bool all);
255 std::chrono::steady_clock::time_point lastMeridianFastPoll;
256 std::chrono::steady_clock::time_point lastMeridianSlowPoll;
258 bool MountSlewing {
false };
259 void updateSlewDependentValues();
265 float DEC_JNOW = 0.0;
266 char SideOfPier =
'x';
273 double SiderealTime = -1;
virtual void TimerHit() override
Called when setTimer() time is up.
LX200_10MICRON_MINI_ALIGNMENT_POINT
INDI::PropertyNumber MeridianLimitsNP
INumber RefractionModelTemperatureN[1]
INDI::PropertySwitch AllowedMeridianSideSP
void ISGetProperties(const char *dev) override
define the driver's properties to the client. Usually, only a minimum set of properties are defined t...
LX200_10MICRON_MERIDIAN_LIMITS
void getBasicData() override
bool Handshake() override
perform handshake with device to check communication
bool saveConfigItems(FILE *fp) override
saveConfigItems Save specific properties in the provide config file handler. Child class usually over...
INumberVectorProperty ModelCountNP
INumberVectorProperty NewAlignmentPointsNP
ISwitchVectorProperty AlignmentStateSP
ITextVectorProperty NewModelNameTP
bool CalculateSatTrajectory(std::string start_pass_isodatetime, std::string end_pass_isodatetime)
INumberVectorProperty NewAlpNP
INumber NewAlignmentPointsN[1]
bool SetTrackMode(uint8_t mode) override
SetTrackMode Set active tracking mode. Do not change track state.
int setStandardProcedureAndExpectChar(int fd, const char *data, const char *expect)
ITextVectorProperty WoLMacTP
bool getSlewSettleTime(LX200_10MICRON_READ_CONTEXT context)
LX200_10MICRON_UNATTENDED_FLIP_SETTINGS
@ UNATTENDED_FLIP_DISABLED
@ UNATTENDED_FLIP_ENABLED
bool UnPark() override
Unpark the telescope if already parked.
void updateUnattendedFlipSetting(LX200_10MICRON_READ_CONTEXT context)
LX200_10MICRON_MINI_ALIGNMENT_POINT_RO
int monthToNumber(const char *monthName)
INumberVectorProperty RefractionModelPressureNP
bool ISNewSwitch(const char *dev, const char *name, ISState *states, char *names[], int n) override
Process the client newSwitch command.
bool getAllowedMeridianSide(LX200_10MICRON_READ_CONTEXT context)
int setStandardProcedureWithoutRead(int fd, const char *data)
bool setAllowedMeridianSide(int side)
INumberVectorProperty RefractionModelTemperatureNP
bool SetTLEtoFollow(const char *tle)
ISwitchVectorProperty WoLSendSP
LX200_10MICRON_TARGET_PIER_SIDE
LX200_10MICRON_ALIGNMENT_POINT
bool getTimeToTrackingEnd()
bool getUnattendedFlipSetting()
INDI::PropertyNumber SlewSettleTimeNP
bool getTrackMode(LX200_10MICRON_READ_CONTEXT context)
INDI::PropertyNumber TrackingEndNP
ITextVectorProperty ProductTP
bool setLocalDate(uint8_t days, uint8_t months, uint16_t years) override
bool ISNewNumber(const char *dev, const char *name, double values[], char *names[], int n) override
Process the client newNumber command.
INDI::PropertySwitch TargetPierSideSP
LX200_10MICRON_ALIGNMENT_STATE
const char * getDefaultName() override
virtual int SetRefractionModelPressure(double pressure)
INumber MiniNewAlpN[MALP_COUNT]
bool ISNewText(const char *dev, const char *name, char *texts[], char *names[], int n) override
Process the client newSwitch command.
bool getMeridianLimits(LX200_10MICRON_READ_CONTEXT context)
bool setSlewSettleTime(double seconds)
INumberVectorProperty TLEfromDatabaseNP
INumber NewAlpN[ALP_COUNT]
int setStandardProcedureAndReturnResponse(int fd, const char *data, char *response, int max_response_length)
LX200_10MICRON_10MICRON_GSTAT
@ GSTAT_SLEWING_OR_STOPPING
@ GSTAT_TRACKING_OUTSIDE_LIMITS
@ GSTAT_FOLLOWING_SATELLITE
@ GSTAT_NOT_TRACKING_AND_NOT_MOVING
bool ReadScopeStatus() override
Read telescope status.
LX200_10MICRON_READ_CONTEXT
ISwitch UnattendedFlipS[UNATTENDED_FLIP_COUNT]
bool initProperties() override
Called to initialize basic properties required all the time.
INDI::PropertySwitch MountShutdownSP
INumber MiniNewAlpRON[MALPRO_COUNT]
bool setMeridianLimits(int slewLimit, int trackLimit)
bool updateProperties() override
Called when connected state changes, to add/remove properties.
virtual int SetRefractionModelTemperature(double temperature)
bool saveModel(const char *name)
bool SetTrackEnabled(bool enabled) override
SetTrackEnabled Engages or disengages mount tracking. If there are no tracking modes available,...
bool Park() override
Park the telescope to its home position.
bool SyncConfigBehaviour(bool cmcfg)
LX200_10MICRON_PRODUCT_INFO
@ PRODUCT_FIRMWARE_VERSION
INumberVectorProperty MiniNewAlpRONP
ISwitchVectorProperty UnattendedFlipSP
bool Flip(double ra, double dec) override
Move and flip the scope to the supplied RA and DEC coordinates.
INumber TLEfromDatabaseN[1]
LX200_10MICRON_ALLOWED_MERIDIAN_SIDE
@ MERIDIAN_SIDE_EAST_ONLY
@ MERIDIAN_SIDE_WEST_ONLY
INumber AlignmentPointsN[1]
int AddSyncPoint(double MRa, double MDec, double MSide, double PRa, double PDec, double SidTime)
INumberVectorProperty MiniNewAlpNP
ISwitch AlignmentStateS[ALIGN_COUNT]
bool confirmUnattendedFlipSetting(int wanted)
INumberVectorProperty AlignmentPointsNP
bool SetTLEfromDatabase(int tleN)
int AddSyncPointHere(double PRa, double PDec)
bool setUnattendedFlipSetting(bool setting)
INumber RefractionModelPressureN[1]
struct _ISwitchVectorProperty ISwitchVectorProperty
struct _ITextVectorProperty ITextVectorProperty
struct _INumberVectorProperty INumberVectorProperty
*brief user defined string literal for JSON values *sa std::size_t n