Instrument Neutral Distributed Interface INDI  2.0.2
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
LX200_OnStep Class Reference

#include <lx200_OnStep.h>

Inheritance diagram for LX200_OnStep:
LX200Generic INDI::WeatherInterface INDI::RotatorInterface LX200Telescope INDI::Telescope INDI::GuiderInterface INDI::FocuserInterface INDI::DefaultDevice INDI::ParentDevice INDI::BaseDevice

Public Member Functions

 LX200_OnStep ()
 
 ~LX200_OnStep ()
 
virtual const char * getDefaultName () override
 
virtual bool initProperties () override
 Called to initialize basic properties required all the time. More...
 
virtual void ISGetProperties (const char *dev) override
 define the driver's properties to the client. Usually, only a minimum set of properties are defined to the client in this function if the device is in disconnected state. Those properties should be enough to enable the client to establish a connection to the device. In addition to CONNECT/DISCONNECT, such properties may include port name, IP address, etc. You should check if the device is already connected, and if this is true, then you must define the remainder of the the properties to the client in this function. Otherwise, the remainder of the driver's properties are defined to the client in updateProperties() function which is called when a client connects/disconnects from a device. More...
 
virtual bool updateProperties () override
 Called when connected state changes, to add/remove properties. More...
 
virtual bool ISNewNumber (const char *dev, const char *name, double values[], char *names[], int n) override
 Process the client newNumber command. More...
 
virtual bool ISNewSwitch (const char *dev, const char *name, ISState *states, char *names[], int n) override
 Process the client newSwitch command. More...
 
- Public Member Functions inherited from LX200Generic
 LX200Generic ()
 
virtual ~LX200Generic () override=default
 
- Public Member Functions inherited from LX200Telescope
 LX200Telescope ()
 
uint32_t getLX200Capability () const
 
void setLX200Capability (uint32_t cap)
 
virtual const char * getDriverName () override
 
virtual bool Handshake () override
 perform handshake with device to check communication More...
 
virtual bool ISNewText (const char *dev, const char *name, char *texts[], char *names[], int n) override
 Process the client newSwitch command. More...
 
void updateFocusTimer ()
 
- Public Member Functions inherited from INDI::Telescope
 Telescope ()
 
virtual ~Telescope ()
 
virtual bool ISSnoopDevice (XMLEle *root) override
 Process a snoop event from INDI server. This function is called when a snooped property is updated in a snooped driver. More...
 
uint32_t GetTelescopeCapability () const
 GetTelescopeCapability returns the capability of the Telescope. More...
 
void SetTelescopeCapability (uint32_t cap, uint8_t slewRateCount)
 SetTelescopeCapability sets the Telescope capabilities. All capabilities must be initialized. More...
 
bool CanGOTO ()
 
bool CanSync ()
 
bool CanFlip ()
 
bool CanAbort ()
 
bool CanPark ()
 
bool CanControlTrack ()
 
bool HasTime ()
 
bool HasLocation ()
 
bool HasPierSide ()
 
bool HasPierSideSimulation ()
 
bool CanTrackSatellite ()
 
bool HasPECState ()
 
bool HasTrackMode ()
 
bool HasTrackRate ()
 
virtual void TimerHit () override
 Called when setTimer() time is up. More...
 
void SetParkDataType (TelescopeParkData type)
 setParkDataType Sets the type of parking data stored in the park data file and presented to the user. More...
 
bool InitPark ()
 InitPark Loads parking data (stored in ~/.indi/ParkData.xml) that contains parking status and parking position. More...
 
bool isParked ()
 isParked is mount currently parked? More...
 
double GetAxis1Park () const
 
double GetAxis1ParkDefault () const
 
double GetAxis2Park () const
 
double GetAxis2ParkDefault () const
 
void SetAxis1Park (double value)
 SetRAPark Set current RA/AZ parking position. The data park file (stored in ~/.indi/ParkData.xml) is updated in the process. More...
 
void SetAxis1ParkDefault (double steps)
 SetRAPark Set default RA/AZ parking position. More...
 
void SetAxis2Park (double steps)
 SetDEPark Set current DEC/ALT parking position. The data park file (stored in ~/.indi/ParkData.xml) is updated in the process. More...
 
void SetAxis2ParkDefault (double steps)
 SetDEParkDefault Set default DEC/ALT parking position. More...
 
bool isLocked () const
 isLocked is mount currently locked? More...
 
void setTelescopeConnection (const uint8_t &value)
 setTelescopeConnection Set telescope connection mode. Child class should call this in the constructor before Telescope registers any connection interfaces More...
 
uint8_t getTelescopeConnection () const
 
void setPierSide (TelescopePierSide side)
 
TelescopePierSide getPierSide ()
 
void setPECState (TelescopePECState state)
 
TelescopePECState getPECState ()
 
- Public Member Functions inherited from INDI::DefaultDevice
 DefaultDevice ()
 
virtual ~DefaultDevice () override=default
 
void addAuxControls ()
 Add Debug, Simulation, and Configuration options to the driver. More...
 
void addDebugControl ()
 Add Debug control to the driver. More...
 
void addSimulationControl ()
 Add Simulation control to the driver. More...
 
void addConfigurationControl ()
 Add Configuration control to the driver. More...
 
void addPollPeriodControl ()
 Add Polling period control to the driver. More...
 
void resetProperties ()
 Set all properties to IDLE state. More...
 
void defineNumber (INumberVectorProperty *nvp)
 Define number vector to client & register it. Alternatively, IDDefNumber can be used but the property will not get registered and the driver will not be able to save configuration files. More...
 
void defineProperty (INumberVectorProperty *property)
 
void defineText (ITextVectorProperty *tvp)
 Define text vector to client & register it. Alternatively, IDDefText can be used but the property will not get registered and the driver will not be able to save configuration files. More...
 
void defineProperty (ITextVectorProperty *property)
 
void defineSwitch (ISwitchVectorProperty *svp)
 Define switch vector to client & register it. Alternatively, IDDefswitch can be used but the property will not get registered and the driver will not be able to save configuration files. More...
 
void defineProperty (ISwitchVectorProperty *property)
 
void defineLight (ILightVectorProperty *lvp)
 Define light vector to client & register it. Alternatively, IDDeflight can be used but the property will not get registered and the driver will not be able to save configuration files. More...
 
void defineProperty (ILightVectorProperty *property)
 
void defineBLOB (IBLOBVectorProperty *bvp)
 Define BLOB vector to client & register it. Alternatively, IDDefBLOB can be used but the property will not get registered and the driver will not be able to save configuration files. More...
 
void defineProperty (IBLOBVectorProperty *property)
 
void defineProperty (INDI::Property &property)
 
virtual bool deleteProperty (const char *propertyName)
 Delete a property and unregister it. It will also be deleted from all clients. More...
 
bool deleteProperty (INDI::Property &property)
 deleteProperty Delete a property and unregister it. It will also be deleted from all clients. More...
 
virtual void setConnected (bool status, IPState state=IPS_OK, const char *msg=nullptr)
 Set connection switch status in the client. More...
 
int SetTimer (uint32_t ms)
 Set a timer to call the function TimerHit after ms milliseconds. More...
 
void RemoveTimer (int id)
 Remove timer added with SetTimer. More...
 
virtual const char * getDriverExec ()
 
void setVersion (uint16_t vMajor, uint16_t vMinor)
 Set driver version information to be defined in DRIVER_INFO property as vMajor.vMinor. More...
 
uint16_t getMajorVersion () const
 
uint16_t getMinorVersion () const
 
virtual bool ISNewBLOB (const char *dev, const char *name, int sizes[], int blobsizes[], char *blobs[], char *formats[], char *names[], int n)
 Process the client newBLOB command. More...
 
uint16_t getDriverInterface () const
 
void setDriverInterface (uint16_t value)
 setInterface Set driver interface. By default the driver interface is set to GENERAL_DEVICE. You may send an ORed list of DeviceInterface values. More...
 
void watchDevice (const char *deviceName, const std::function< void(INDI::BaseDevice)> &callback)
 Add a device to the watch list. More...
 
- Public Member Functions inherited from INDI::ParentDevice
 ParentDevice (Type type)
 
 ~ParentDevice ()
 
 ParentDevice (ParentDevice &&other)=default
 
ParentDeviceoperator= (ParentDevice &&other)=default
 
- Public Member Functions inherited from INDI::BaseDevice
 BaseDevice ()
 
virtual ~BaseDevice ()
 
void registerProperty (const INDI::Property &property)
 Register the property to be able to observe and update. More...
 
void registerProperty (const INDI::Property &property, INDI_PROPERTY_TYPE type)
 
int removeProperty (const char *name, char *errmsg)
 Remove a property. More...
 
void watchProperty (const char *name, const std::function< void(INDI::Property)> &callback, WATCH watch=WATCH_NEW)
 Call the callback function if property is available. More...
 
Property getProperty (const char *name, INDI_PROPERTY_TYPE type=INDI_UNKNOWN) const
 Return a property and its type given its name. More...
 
Properties getProperties ()
 Return a list of all properties in the device. More...
 
const Properties getProperties () const
 
INDI::PropertyNumber getNumber (const char *name) const
 
INDI::PropertyText getText (const char *name) const
 
INDI::PropertySwitch getSwitch (const char *name) const
 
INDI::PropertyLight getLight (const char *name) const
 
INDI::PropertyBlob getBLOB (const char *name) const
 
IPState getPropertyState (const char *name) const
 
IPerm getPropertyPermission (const char *name) const
 
void * getRawProperty (const char *name, INDI_PROPERTY_TYPE type=INDI_UNKNOWN) const
 Return a property and its type given its name. More...
 
void addMessage (const std::string &msg)
 Add message to the driver's message queue. More...
 
void checkMessage (XMLEle *root)
 
void doMessage (XMLEle *msg)
 
const std::string & messageQueue (size_t index) const
 
const std::string & lastMessage () const
 
bool isValid () const
 
bool isConnected () const
 
void attach ()
 indicates that the device is ready More...
 
void detach ()
 indicates that the device is being removed More...
 
void setMediator (INDI::BaseMediator *mediator)
 Set the driver's mediator to receive notification of news devices and updated property values. More...
 
INDI::BaseMediatorgetMediator () const
 
void setDeviceName (const char *dev)
 Set the device name. More...
 
const char * getDeviceName () const
 
bool isDeviceNameMatch (const char *otherName) const
 Check that the device name matches the argument. More...
 
bool isDeviceNameMatch (const std::string &otherName) const
 Check that the device name matches the argument. More...
 
const char * getDriverName () const
 
const char * getDriverExec () const
 
const char * getDriverVersion () const
 
uint16_t getDriverInterface () const
 getDriverInterface returns ORed values of DRIVER_INTERFACE. It presents the device classes supported by the driver. More...
 
bool buildSkeleton (const char *filename)
 Build driver properties from a skeleton file. More...
 
int buildProp (const INDI::LilXmlElement &root, char *errmsg, bool isDynamic=false)
 Build a property given the supplied XML element (defXXX) More...
 
int setValue (const INDI::LilXmlElement &root, char *errmsg)
 handle SetXXX commands from client More...
 
 operator BaseDevice * ()
 
BaseDeviceoperator-> ()
 
bool operator!= (std::nullptr_t) const
 
bool operator== (std::nullptr_t) const
 
 operator bool () const
 
 operator bool ()
 
- Public Member Functions inherited from INDI::GuiderInterface
virtual void GuideComplete (INDI_EQ_AXIS axis)
 Call GuideComplete once the guiding pulse is complete. More...
 
- Public Member Functions inherited from INDI::FocuserInterface
uint32_t GetCapability () const
 GetFocuserCapability returns the capability of the focuser. More...
 
void SetCapability (uint32_t cap)
 FI::SetCapability sets the focuser capabilities. All capabilities must be initialized. More...
 
bool CanAbsMove ()
 
bool CanRelMove ()
 
bool CanAbort ()
 
bool CanReverse ()
 
bool CanSync ()
 
bool HasVariableSpeed ()
 
bool HasBacklash ()
 
- Public Member Functions inherited from INDI::RotatorInterface
uint32_t GetCapability () const
 GetRotatorCapability returns the capability of the Rotator. More...
 
void SetCapability (uint32_t cap)
 SetRotatorCapability sets the Rotator capabilities. All capabilities must be initialized. More...
 
bool CanAbort ()
 
bool CanHome ()
 
bool CanSync ()
 
bool CanReverse ()
 
bool HasBacklash ()
 

Protected Member Functions

virtual void getBasicData () override
 
virtual bool Park () override
 Park the telescope to its home position. More...
 
virtual bool UnPark () override
 Unpark the telescope if already parked. More...
 
virtual bool SetCurrentPark () override
 SetCurrentPark Set current coordinates/encoders value as the desired parking position. More...
 
virtual bool SetDefaultPark () override
 SetDefaultPark Set default coordinates/encoders value as the desired parking position. More...
 
virtual bool SetTrackEnabled (bool enabled) override
 SetTrackEnabled Engages or disengages mount tracking. If there are no tracking modes available, it is assumed sidereal. Otherwise, whatever tracking mode should be activated or deactivated accordingly. More...
 
virtual bool updateLocation (double latitude, double longitude, double elevation) override
 Update telescope location settings. More...
 
virtual bool setLocalDate (uint8_t days, uint8_t months, uint16_t years) override
 
virtual bool ReadScopeStatus () override
 Read telescope status. More...
 
virtual int setSiteLongitude (int fd, double Long)
 
virtual int setSiteLatitude (int fd, double Long)
 
virtual bool SetTrackRate (double raRate, double deRate) override
 SetTrackRate Set custom tracking rates. More...
 
virtual void slewError (int slewCode) override
 
virtual bool Sync (double ra, double dec) override
 Set the telescope current RA and DEC coordinates to the supplied RA and DEC coordinates. More...
 
virtual bool saveConfigItems (FILE *fp) override
 saveConfigItems Save parameters ranges in the config file. More...
 
virtual void Init_Outputs ()
 
virtual bool sendScopeTime () override
 
virtual bool sendScopeLocation () override
 
virtual bool setUTCOffset (double offset) override
 
virtual bool Goto (double ra, double dec) override
 Move the scope to the supplied RA and DEC coordinates. More...
 
IPState MoveFocuser (FocusDirection dir, int speed, uint16_t duration) override
 MoveFocuser the focuser in a particular direction with a specific speed for a finite duration. More...
 
IPState MoveAbsFocuser (uint32_t targetTicks) override
 MoveFocuser the focuser to an absolute position. More...
 
IPState MoveRelFocuser (FocusDirection dir, uint32_t ticks) override
 MoveFocuser the focuser to an relative position. More...
 
bool AbortFocuser () override
 AbortFocuser all focus motion. More...
 
IPState MoveRotator (double angle) override
 MoveRotator Go to specific angle. More...
 
IPState HomeRotator () override
 HomeRotator Go to home position. More...
 
bool AbortRotator () override
 AbortRotator Abort all motion. More...
 
bool SetRotatorBacklash (int32_t steps) override
 SetRotatorBacklash Set the Rotatorer backlash compensation value. More...
 
bool SetRotatorBacklashEnabled (bool enabled) override
 SetRotatorBacklashEnabled Enables or disables the Rotator backlash compensation. More...
 
IPState StopPECPlayback (int axis)
 
IPState StartPECPlayback (int axis)
 
IPState ClearPECBuffer (int axis)
 
IPState StartPECRecord (int axis)
 
IPState SavePECBuffer (int axis)
 
IPState PECStatus (int axis)
 
IPState ReadPECBuffer (int axis)
 
IPState WritePECBuffer (int axis)
 
bool ISPECRecorded (int axis)
 
IPState AlignStartGeometric (int stars)
 
IPState AlignAddStar ()
 AlignStartGeometric starts the OnStep Multistar align process. More...
 
IPState AlignDone ()
 
IPState AlignWrite ()
 
virtual bool UpdateAlignStatus ()
 
virtual bool UpdateAlignErr ()
 
IPState OSEnableOutput (int output)
 
IPState OSDisableOutput (int output)
 
bool OSGetOutputState (int output)
 
bool sendOnStepCommand (const char *cmd)
 
bool sendOnStepCommandBlind (const char *cmd)
 
int flushIO (int fd)
 
int getCommandSingleCharResponse (int fd, char *data, const char *cmd)
 
int getCommandSingleCharErrorOrLongResponse (int fd, char *data, const char *cmd)
 
int getCommandDoubleResponse (int fd, double *value, char *data, const char *cmd)
 
int getCommandIntResponse (int fd, int *value, char *data, const char *cmd)
 
int setMinElevationLimit (int fd, int min)
 
int OSUpdateFocuser ()
 
int OSUpdateRotator ()
 
virtual IPState updateWeather () override
 updateWeather Update weather conditions from device or service. The function should not change the state of any property in the device as this is handled by Weather. It should only update the raw values. More...
 
virtual void SyncParkStatus (bool isparked) override
 SyncParkStatus Update the state and switches for parking. More...
 
virtual void SetParked (bool isparked) override
 SetParked Change the mount parking status. The data park file (stored in ~/.indi/ParkData.xml) is updated in the process. More...
 
void PrintTrackState ()
 PrintTrackState will print to the debug log the status of TrackState if DEBUG_TRACKSTATE is defined otherwise it will simply return. More...
 
- Protected Member Functions inherited from LX200Telescope
virtual bool SetSlewRate (int index) override
 SetSlewRate Set desired slew rate index. More...
 
virtual bool SetTrackMode (uint8_t mode) override
 SetTrackMode Set active tracking mode. Do not change track state. More...
 
virtual bool MoveNS (INDI_DIR_NS dir, TelescopeMotionCommand command) override
 Start or Stop the telescope motion in the direction dir. More...
 
virtual bool MoveWE (INDI_DIR_WE dir, TelescopeMotionCommand command) override
 Move the telescope in the direction dir. More...
 
virtual bool Abort () override
 Abort any telescope motion including tracking if possible. More...
 
virtual bool updateTime (ln_date *utc, double utc_offset) override
 Update telescope time, date, and UTC offset. More...
 
virtual IPState GuideNorth (uint32_t ms) override
 Guide north for ms milliseconds. North is defined as DEC+. More...
 
virtual IPState GuideSouth (uint32_t ms) override
 Guide south for ms milliseconds. South is defined as DEC-. More...
 
virtual IPState GuideEast (uint32_t ms) override
 Guide east for ms milliseconds. East is defined as RA+. More...
 
virtual IPState GuideWest (uint32_t ms) override
 Guide west for ms milliseconds. West is defined as RA-. More...
 
virtual int SendPulseCmd (int8_t direction, uint32_t duration_msec)
 
virtual bool isSlewComplete ()
 
virtual bool checkConnection ()
 
virtual void debugTriggered (bool enable) override
 Inform driver that the debug option was triggered. This function is called after setDebug is triggered by the client. Reimplement this function if your driver needs to take specific action after debug is enabled/disabled. Otherwise, you can use isDebug() to check if simulation is enabled or disabled. More...
 
virtual bool getLocalDate (char *dateString)
 
virtual bool getLocalTime (char *timeString)
 
virtual bool setLocalTime24 (uint8_t hour, uint8_t minute, uint8_t second)
 
virtual bool getUTFOffset (double *offset)
 
void getAlignment ()
 
bool updateSlewRate (int index)
 
void mountSim ()
 
virtual bool ReverseFocuser (bool enabled) override
 ReverseFocuser Reverse focuser motion direction. More...
 
virtual bool SetFocuserSpeed (int speed) override
 SetFocuserSpeed Set Focuser speed. More...
 
void guideTimeoutNS ()
 
void guideTimeoutWE ()
 
- Protected Member Functions inherited from INDI::Telescope
void NewRaDec (double ra, double dec)
 The child class calls this function when it has updates. More...
 
virtual bool Flip (double ra, double dec)
 Move and flip the scope to the supplied RA and DEC coordinates. More...
 
virtual int AddTrackMode (const char *name, const char *label, bool isDefault=false)
 AddTrackMode. More...
 
void updateObserverLocation (double latitude, double longitude, double elevation)
 Update location settings of the observer. More...
 
virtual bool SetParkPosition (double Axis1Value, double Axis2Value)
 SetParkPosition Set desired parking position to the supplied value. This ONLY sets the desired park position value and does not perform parking. More...
 
bool callHandshake ()
 callHandshake Helper function that sets the port file descriptor before calling the actual Handshake function implenented in drivers More...
 
void processNSWE (double mag, double angle)
 
void processJoystick (const char *joystick_n, double mag, double angle)
 
void processAxis (const char *axis_n, double value)
 
void processSlewPresets (double mag, double angle)
 
void processButton (const char *button_n, ISState state)
 
TelescopePierSide expectedPierSide (double ra)
 Calculate the expected pier side for scopes that do not report this property themselves. More...
 
bool LoadScopeConfig ()
 Load scope settings from XML files. More...
 
bool HasDefaultScopeConfig ()
 Load scope settings from XML files. More...
 
bool UpdateScopeConfig ()
 Save scope settings to XML files. More...
 
std::string GetHomeDirectory () const
 Validate a file name. More...
 
int GetScopeConfigIndex () const
 Get the scope config index. More...
 
bool CheckFile (const std::string &file_name, bool writable) const
 Check if a file exists and it is readable. More...
 
void sendTimeFromSystem ()
 
bool getSimulatePierSide () const
 
void setSimulatePierSide (bool value)
 
const char * getPierSideStr (TelescopePierSide ps)
 
const char * LoadParkData ()
 
bool WriteParkData ()
 
bool PurgeParkData ()
 
- Protected Member Functions inherited from INDI::DefaultDevice
void setDynamicPropertiesBehavior (bool defineEnabled, bool deleteEnabled)
 setDynamicPropertiesBehavior controls handling of dynamic properties. Dyanmic properties are those generated from an external skeleton XML file. By default all properties, including dynamic properties, are defined to the client in ISGetProperties(). Furthermore, when űdeleteProperty(properyName) is called, the dynamic property is deleted by default, and can only be restored by calling buildSkeleton(filename) again. However, it is sometimes desirable to skip the definition of the dynamic properties on startup and delegate this task to the child class. To control this behavior, set enabled to false. More...
 
virtual bool loadConfig (bool silent=false, const char *property=nullptr)
 Load the last saved configuration file. More...
 
bool loadConfig (INDI::Property &property)
 Load property config from the configuration file. If the property configuration is successfully parsed, the corresponding ISNewXXX is called with the values parsed from the config file. More...
 
virtual bool saveConfig (bool silent=false, const char *property=nullptr)
 Save the current properties in a configuration file. More...
 
bool saveConfig (INDI::Property &property)
 Save a property in the configuration file. More...
 
virtual bool purgeConfig ()
 purgeConfig Remove config file from disk. More...
 
virtual bool saveAllConfigItems (FILE *fp)
 saveAllConfigItems Save all the drivers' properties in the configuration file More...
 
virtual bool loadDefaultConfig ()
 Load the default configuration file. More...
 
void setDebug (bool enable)
 Toggle driver debug status A driver can be more verbose if Debug option is enabled by the client. More...
 
void setSimulation (bool enable)
 Toggle driver simulation status A driver can run in simulation mode if Simulation option is enabled by the client. More...
 
virtual void simulationTriggered (bool enable)
 Inform driver that the simulation option was triggered. This function is called after setSimulation is triggered by the client. Reimplement this function if your driver needs to take specific action after simulation is enabled/disabled. Otherwise, you can use isSimulation() to check if simulation is enabled or disabled. More...
 
bool isDebug () const
 
bool isSimulation () const
 
virtual bool Connect ()
 Connect to the device. INDI::DefaultDevice implementation connects to appropriate connection interface (Serial or TCP) governed by connectionMode. If connection is successful, it proceed to call Handshake() function to ensure communication with device is successful. For other communication interface, override the method in the child class implementation. More...
 
virtual bool Disconnect ()
 Disconnect from device. More...
 
void registerConnection (Connection::Interface *newConnection)
 registerConnection Add new connection plugin to the existing connection pool. The connection type shall be defined to the client in ISGetProperties() More...
 
bool unRegisterConnection (Connection::Interface *existingConnection)
 unRegisterConnection Remove connection from existing pool More...
 
Connection::InterfacegetActiveConnection ()
 
void setActiveConnection (Connection::Interface *existingConnection)
 setActiveConnection Switch the active connection to the passed connection plugin More...
 
void setDefaultPollingPeriod (uint32_t msec)
 setDefaultPollingPeriod Change the default polling period to call TimerHit() function in the driver. More...
 
void setPollingPeriodRange (uint32_t minimum, uint32_t maximum)
 setPollingPeriodRange Set the range permitted by the polling range in milliseconds More...
 
uint32_t getPollingPeriod () const
 getPollingPeriod Return the polling period. More...
 
void setCurrentPollingPeriod (uint32_t msec)
 setCurrentPollingPeriod Change the current polling period to call TimerHit() function in the driver. More...
 
uint32_t getCurrentPollingPeriod () const
 getCurrentPollingPeriod Return the current polling period. More...
 
uint32_t & refCurrentPollingPeriod () __attribute__((deprecated))
 
uint32_t refCurrentPollingPeriod () const __attribute__((deprecated))
 
bool isConfigLoading () const
 isConfigLoading Check if driver configuration is currently in the process of getting loaded. More...
 
bool isInitializationComplete () const
 isInitializationComplete Check if driver initialization is complete. More...
 
void syncDriverInfo ()
 syncDriverInfo sends the current driver information to the client. More...
 
 DefaultDevice (const std::shared_ptr< DefaultDevicePrivate > &dd)
 
- Protected Member Functions inherited from INDI::ParentDevice
 ParentDevice (const std::shared_ptr< ParentDevicePrivate > &dd)
 
- Protected Member Functions inherited from INDI::BaseDevice
 BaseDevice (BaseDevicePrivate &dd)
 
 BaseDevice (const std::shared_ptr< BaseDevicePrivate > &dd)
 
- Protected Member Functions inherited from INDI::GuiderInterface
 GuiderInterface ()
 
 ~GuiderInterface ()
 
void initGuiderProperties (const char *deviceName, const char *groupName)
 Initilize guider properties. It is recommended to call this function within initProperties() of your primary device. More...
 
void processGuiderProperties (const char *name, double values[], char *names[], int n)
 Call this function whenever client updates GuideNSNP or GuideWSP properties in the primary device. This function then takes care of issuing the corresponding GuideXXXX function accordingly. More...
 
- Protected Member Functions inherited from INDI::FocuserInterface
 FocuserInterface (DefaultDevice *defaultDevice)
 
virtual ~FocuserInterface ()=default
 
void initProperties (const char *groupName)
 Initilize focuser properties. It is recommended to call this function within initProperties() of your primary device. More...
 
bool updateProperties ()
 updateProperties Define or Delete Rotator properties based on the connection status of the base device More...
 
bool processNumber (const char *dev, const char *name, double values[], char *names[], int n)
 Process focus number properties. More...
 
bool processSwitch (const char *dev, const char *name, ISState *states, char *names[], int n)
 Process focus switch properties. More...
 
virtual bool SyncFocuser (uint32_t ticks)
 SyncFocuser Set current position to ticks without moving the focuser. More...
 
virtual bool SetFocuserMaxPosition (uint32_t ticks)
 SetFocuserMaxPosition Set Focuser Maximum position limit in the hardware. More...
 
virtual bool SetFocuserBacklash (int32_t steps)
 SetFocuserBacklash Set the focuser backlash compensation value. More...
 
virtual bool SetFocuserBacklashEnabled (bool enabled)
 SetFocuserBacklashEnabled Enables or disables the focuser backlash compensation. More...
 
bool saveConfigItems (FILE *fp)
 saveConfigItems save focuser properties defined in the interface in config file More...
 
- Protected Member Functions inherited from INDI::WeatherInterface
 WeatherInterface (DefaultDevice *defaultDevice)
 
virtual ~WeatherInterface ()
 
void initProperties (const char *statusGroup, const char *paramsGroup)
 Initilize focuser properties. It is recommended to call this function within initProperties() of your primary device. More...
 
bool updateProperties ()
 updateProperties Define or Delete Rotator properties based on the connection status of the base device More...
 
bool processNumber (const char *dev, const char *name, double values[], char *names[], int n)
 Process weather number properties. More...
 
bool processSwitch (const char *dev, const char *name, ISState *states, char *names[], int n)
 Process weather switch properties. More...
 
void checkWeatherUpdate ()
 checkWeatherUpdate Calls updateWeather and update critical parameters accordingly. More...
 
void addParameter (std::string name, std::string label, double numMinOk, double numMaxOk, double percWarning)
 addParameter Add a physical weather measurable parameter to the weather driver. The weather value has three zones: More...
 
bool setCriticalParameter (std::string param)
 setCriticalParameter Set parameter that is considered critical to the operation of the observatory. The parameter state can affect the overall weather driver state which signals the client to take appropriate action depending on the severity of the state. More...
 
void setParameterValue (std::string name, double value)
 setParameterValue Update weather parameter value More...
 
IPState checkParameterState (const std::string &param) const
 checkParameterState Checks the given parameter against the defined bounds More...
 
IPState checkParameterState (const INumber &parameter) const
 
bool syncCriticalParameters ()
 updateWeatherState Send update weather state to client More...
 
- Protected Member Functions inherited from INDI::RotatorInterface
 RotatorInterface (DefaultDevice *defaultDevice)
 
void initProperties (const char *groupName)
 Initilize Rotator properties. It is recommended to call this function within initProperties() of your primary device. More...
 
bool updateProperties ()
 updateProperties Define or Delete Rotator properties based on the connection status of the base device More...
 
bool processNumber (const char *dev, const char *name, double values[], char *names[], int n)
 Process Rotator number properties. More...
 
bool processSwitch (const char *dev, const char *name, ISState *states, char *names[], int n)
 Process Rotator switch properties. More...
 
virtual bool SyncRotator (double angle)
 SyncRotator Set current angle as the supplied angle without moving the rotator. More...
 
virtual bool ReverseRotator (bool enabled)
 ReverseRotator Reverse the direction of the rotator. CW is usually the normal direction, and CCW is the reversed direction. More...
 
bool saveConfigItems (FILE *fp)
 saveConfigItems save focuser properties defined in the interface in config file More...
 

Protected Attributes

MountType OSMountType = MOUNTTYPE_GEM
 
bool OSPECEnabled = false
 
bool OSPECviaGU = false
 
bool OSAlignCompleted = false
 
ITextVectorProperty ObjectInfoTP
 
IText ObjectInfoT [1] {}
 
ISwitchVectorProperty StarCatalogSP
 
ISwitch StarCatalogS [3]
 
ISwitchVectorProperty DeepSkyCatalogSP
 
ISwitch DeepSkyCatalogS [7]
 
ISwitchVectorProperty SolarSP
 
ISwitch SolarS [10]
 
INumberVectorProperty ObjectNoNP
 
INumber ObjectNoN [1]
 
INumberVectorProperty MaxSlewRateNP
 
INumber MaxSlewRateN [1]
 
INumberVectorProperty BacklashNP
 
INumber BacklashN [2]
 
INumberVectorProperty ElevationLimitNP
 
INumber ElevationLimitN [2]
 
ITextVectorProperty VersionTP
 
IText VersionT [5] {}
 
OnStepVersion OnStepMountVersion = OSV_UNKNOWN
 
long int OSTimeoutSeconds = 0
 
long int OSTimeoutMicroSeconds = 100000
 
ITextVectorProperty OnstepStatTP
 
IText OnstepStat [11] {}
 
bool TMCDrivers = true
 
bool OSHighPrecision = false
 
bool OSFocuser1 = false
 
ISwitchVectorProperty OSFocus1InitializeSP
 
ISwitch OSFocus1InitializeS [4]
 
INumberVectorProperty FocuserTNP
 
INumber FocuserTN [2]
 
ISwitchVectorProperty TFCCompensationSP
 
ISwitch TFCCompensationS [2]
 
INumberVectorProperty TFCCoefficientNP
 
INumber TFCCoefficientN [1]
 
INumberVectorProperty TFCDeadbandNP
 
INumber TFCDeadbandN [1]
 
int OSNumFocusers = 0
 
ISwitchVectorProperty OSFocusSelectSP
 
ISwitch OSFocusSelectS [9]
 
bool OSFocuser2 = false
 
ISwitchVectorProperty OSFocus2RateSP
 
ISwitch OSFocus2RateS [4]
 
ISwitchVectorProperty OSFocus2MotionSP
 
ISwitch OSFocus2MotionS [3]
 
INumberVectorProperty OSFocus2TargNP
 
INumber OSFocus2TargN [1]
 
bool OSRotator1 = false
 
ISwitchVectorProperty OSRotatorRateSP
 
ISwitch OSRotatorRateS [4]
 
ISwitchVectorProperty OSRotatorDerotateSP
 
ISwitch OSRotatorDerotateS [2]
 
int IsTracking = 0
 
ISwitchVectorProperty ReticSP
 
ISwitch ReticS [2]
 
ISwitchVectorProperty TrackCompSP
 
ISwitch TrackCompS [3]
 
ISwitchVectorProperty TrackAxisSP
 
ISwitch TrackAxisS [3]
 
ISwitchVectorProperty FrequencyAdjustSP
 
ISwitch FrequencyAdjustS [3]
 
ISwitchVectorProperty AutoFlipSP
 
ISwitch AutoFlipS [2]
 
ISwitchVectorProperty HomePauseSP
 
ISwitch HomePauseS [3]
 
ISwitchVectorProperty SetHomeSP
 
ISwitch SetHomeS [2]
 
ISwitchVectorProperty PreferredPierSideSP
 
ISwitch PreferredPierSideS [3]
 
INumberVectorProperty minutesPastMeridianNP
 
INumber minutesPastMeridianN [2]
 
ISwitchVectorProperty OSPECStatusSP
 
ISwitch OSPECStatusS [5]
 
ISwitchVectorProperty OSPECIndexSP
 
ISwitch OSPECIndexS [2]
 
ISwitchVectorProperty OSPECRecordSP
 
ISwitch OSPECRecordS [3]
 
ISwitchVectorProperty OSPECReadSP
 
ISwitch OSPECReadS [2]
 
INumberVectorProperty OSPECCurrentIndexNP
 
INumber OSPECCurrentIndexN [2]
 
INumberVectorProperty OSPECUserIndexNP
 
INumber OSPECUserIndexN [2]
 
INumberVectorProperty OSPECRWValuesNP
 
INumber OSPECRWValuesN [2]
 
ISwitchVectorProperty OSNAlignStarsSP
 
ISwitch OSNAlignStarsS [9]
 
ISwitchVectorProperty OSNAlignSP
 
ISwitch OSNAlignS [4]
 
ISwitchVectorProperty OSNAlignWriteSP
 
ISwitch OSNAlignWriteS [1]
 
ISwitchVectorProperty OSNAlignPolarRealignSP
 
ISwitch OSNAlignPolarRealignS [2]
 
IText OSNAlignT [8] {}
 
ITextVectorProperty OSNAlignTP
 
IText OSNAlignErrT [4] {}
 
ITextVectorProperty OSNAlignErrTP
 
char OSNAlignStat [RB_MAX_LEN]
 
ISwitchVectorProperty OSOutput1SP
 
ISwitch OSOutput1S [2]
 
ISwitchVectorProperty OSOutput2SP
 
ISwitch OSOutput2S [2]
 
INumber OutputPorts [PORTS_COUNT]
 
INumberVectorProperty OutputPorts_NP
 
bool OSHasOutputs = true
 
INumber GuideRateN [2]
 
INumberVectorProperty GuideRateNP
 
char OSStat [RB_MAX_LEN]
 
char OldOSStat [RB_MAX_LEN]
 
char OSPier [RB_MAX_LEN]
 
char OldOSPier [RB_MAX_LEN]
 
bool OSSeparate_Pulse_Guide_Rate = false
 
bool OSSupports_bitfield_Gu = false
 
uint8_t PECStatusGU = 0
 
uint8_t ParkStatusGU = 0
 
bool OSCpuTemp_good
 
INumberVectorProperty OSSetTemperatureNP
 
INumber OSSetTemperatureN [1]
 
INumberVectorProperty OSSetHumidityNP
 
INumber OSSetHumidityN [1]
 
INumberVectorProperty OSSetPressureNP
 
INumber OSSetPressureN [1]
 
INumberVectorProperty OSSetAltitudeNP
 
INumber OSSetAltitudeN [1]
 
- Protected Attributes inherited from LX200Telescope
int GuideNSTID { -1 }
 
int GuideWETID { -1 }
 
int8_t guide_direction_ns { -1 }
 
int8_t guide_direction_we { -1 }
 
int timeFormat = -1
 
int currentSiteNum {0}
 
int trackingMode {0}
 
bool sendTimeOnStartup = true
 
bool sendLocationOnStartup = true
 
uint8_t DBG_SCOPE {0}
 
double JD {0}
 
double targetRA {0}
 
double targetDEC {0}
 
double currentRA {0.0000001}
 
double currentDEC {0.0000001}
 
int MaxReticleFlashRate {0}
 
ISwitchVectorProperty AlignmentSP
 
ISwitch AlignmentS [3]
 
INumberVectorProperty TrackFreqNP
 
INumber TrackFreqN [1]
 
ISwitchVectorProperty UsePulseCmdSP
 
ISwitch UsePulseCmdS [2]
 
bool usePulseCommand { false }
 
ISwitchVectorProperty SiteSP
 
ISwitch SiteS [4]
 
ITextVectorProperty SiteNameTP
 
IText SiteNameT [1] {}
 
ISwitchVectorProperty FocusModeSP
 
ISwitch FocusModeS [3]
 
uint32_t genericCapability {0}
 
- Protected Attributes inherited from INDI::Telescope
IGeographicCoordinates m_Location { 0, 0, 0 }
 
TelescopeStatus TrackState {SCOPE_IDLE}
 
TelescopeStatus RememberTrackState {SCOPE_IDLE}
 RememberTrackState Remember last state of Track State to fall back to in case of errors or aborts. More...
 
INumberVectorProperty EqNP
 
INumber EqN [2]
 
INumberVectorProperty TargetNP
 
INumber TargetN [2]
 
ISwitchVectorProperty AbortSP
 
ISwitch AbortS [1]
 
ISwitchVectorProperty CoordSP
 
ISwitch CoordS [4]
 
INumberVectorProperty LocationNP
 
INumber LocationN [3]
 
ISwitchVectorProperty ParkSP
 
ISwitch ParkS [2]
 
INumber ParkPositionN [2]
 
INumberVectorProperty ParkPositionNP
 
ISwitch ParkOptionS [4]
 
ISwitchVectorProperty ParkOptionSP
 
ISwitch MovementNSS [2]
 
ISwitchVectorProperty MovementNSSP
 
ISwitch MovementWES [2]
 
ISwitchVectorProperty MovementWESP
 
INDI::PropertySwitch ReverseMovementSP {2}
 
ISwitchVectorProperty SlewRateSP
 
ISwitchSlewRateS {nullptr}
 
INumber ScopeParametersN [4]
 
INumberVectorProperty ScopeParametersNP
 
IText TimeT [2] {}
 
ITextVectorProperty TimeTP
 
ITextVectorProperty ActiveDeviceTP
 
IText ActiveDeviceT [2] {}
 
ISwitchVectorProperty DomePolicySP
 
ISwitch DomePolicyS [2]
 
ISwitchVectorProperty MotionControlModeTP
 
ISwitch MotionControlModeT [2]
 
ISwitch LockAxisS [2]
 
ISwitchVectorProperty LockAxisSP
 
ISwitch PierSideS [2]
 
ISwitchVectorProperty PierSideSP
 
ISwitchVectorProperty SimulatePierSideSP
 
ISwitch SimulatePierSideS [2]
 
TelescopePierSide lastPierSide
 
TelescopePierSide currentPierSide
 
ITextVectorProperty TLEtoTrackTP
 Text Vector property defining the orbital elements of an artificial satellite (TLE). Example implementation. More...
 
IText TLEtoTrackT [1] {}
 
enum INDI::Telescope:: { ... }  SatelliteWindow
 
ITextVectorProperty SatPassWindowTP
 Text Vector property defining the start and end of a satellite pass (window contains pass). Example implementation. More...
 
IText SatPassWindowT [SAT_PASS_WINDOW_COUNT] {}
 
enum INDI::Telescope:: { ... }  SatelliteTracking
 
ISwitchVectorProperty TrackSatSP
 Switch Vector property defining the state of the satellite tracking of the mount. Example implementation. More...
 
ISwitch TrackSatS [SAT_TRACK_COUNT]
 
ISwitch PECStateS [2]
 
ISwitchVectorProperty PECStateSP
 
ISwitchVectorProperty TrackModeSP
 
ISwitchTrackModeS { nullptr }
 
ISwitchVectorProperty TrackStateSP
 
ISwitch TrackStateS [2]
 
INumberVectorProperty TrackRateNP
 
INumber TrackRateN [2]
 
TelescopePECState lastPECState {PEC_UNKNOWN}
 
TelescopePECState currentPECState {PEC_UNKNOWN}
 
uint32_t capability {0}
 
int last_we_motion {-1}
 
int last_ns_motion {-1}
 
int PortFD = -1
 
Connection::SerialserialConnection = nullptr
 
Connection::TCPtcpConnection = nullptr
 
const std::string ScopeConfigRootXmlNode { "scopeconfig" }
 
const std::string ScopeConfigDeviceXmlNode { "device" }
 
const std::string ScopeConfigNameXmlNode { "name" }
 
const std::string ScopeConfigScopeFocXmlNode { "scopefoc" }
 
const std::string ScopeConfigScopeApXmlNode { "scopeap" }
 
const std::string ScopeConfigGScopeFocXmlNode { "gscopefoc" }
 
const std::string ScopeConfigGScopeApXmlNode { "gscopeap" }
 
const std::string ScopeConfigLabelApXmlNode { "label" }
 
ISwitch ScopeConfigs [6]
 
ISwitchVectorProperty ScopeConfigsSP
 
ITextVectorProperty ScopeConfigNameTP
 
IText ScopeConfigNameT [1] {}
 
const std::string ScopeConfigFileName
 The telescope/guide scope configuration file name. More...
 
bool IsParked {false}
 
TelescopeParkData parkDataType {PARK_NONE}
 
- Protected Attributes inherited from INDI::BaseDevice
std::shared_ptr< BaseDevicePrivated_ptr
 
- Protected Attributes inherited from INDI::GuiderInterface
INumber GuideNSN [2]
 
INumberVectorProperty GuideNSNP
 
INumber GuideWEN [2]
 
INumberVectorProperty GuideWENP
 
- Protected Attributes inherited from INDI::FocuserInterface
INumberVectorProperty FocusSpeedNP
 
INumber FocusSpeedN [1]
 
ISwitchVectorProperty FocusMotionSP
 
ISwitch FocusMotionS [2]
 
INumberVectorProperty FocusTimerNP
 
INumber FocusTimerN [1]
 
INumberVectorProperty FocusAbsPosNP
 
INumber FocusAbsPosN [1]
 
INumberVectorProperty FocusRelPosNP
 
INumber FocusRelPosN [1]
 
INumberVectorProperty FocusMaxPosNP
 
INumber FocusMaxPosN [1]
 
INumberVectorProperty FocusSyncNP
 
INumber FocusSyncN [1]
 
ISwitchVectorProperty FocusAbortSP
 
ISwitch FocusAbortS [1]
 
ISwitchVectorProperty FocusReverseSP
 
ISwitch FocusReverseS [2]
 
ISwitchVectorProperty FocusBacklashSP
 
ISwitch FocusBacklashS [2]
 
INumberVectorProperty FocusBacklashNP
 
INumber FocusBacklashN [1]
 
uint32_t capability
 
double lastTimerValue = { 0 }
 
DefaultDevicem_defaultDevice { nullptr }
 
- Protected Attributes inherited from INDI::WeatherInterface
INumberParametersN {nullptr}
 
INumberVectorProperty ParametersNP
 
INumberVectorPropertyParametersRangeNP {nullptr}
 
uint8_t nRanges {0}
 
ILightcritialParametersL {nullptr}
 
ILightVectorProperty critialParametersLP
 
INDI::PropertyNumber UpdatePeriodNP {1}
 
INDI::PropertySwitch RefreshSP {1}
 
INDI::PropertySwitch OverrideSP {1}
 
- Protected Attributes inherited from INDI::RotatorInterface
INumber GotoRotatorN [1]
 
INumberVectorProperty GotoRotatorNP
 
INumber SyncRotatorN [1]
 
INumberVectorProperty SyncRotatorNP
 
ISwitch AbortRotatorS [1]
 
ISwitchVectorProperty AbortRotatorSP
 
ISwitch HomeRotatorS [1]
 
ISwitchVectorProperty HomeRotatorSP
 
ISwitch ReverseRotatorS [2]
 
ISwitchVectorProperty ReverseRotatorSP
 
ISwitchVectorProperty RotatorBacklashSP
 
ISwitch RotatorBacklashS [2]
 
INumberVectorProperty RotatorBacklashNP
 
INumber RotatorBacklashN [1]
 
uint32_t rotatorCapability = 0
 
DefaultDevicem_defaultDevice { nullptr }
 

Additional Inherited Members

- Public Types inherited from LX200Telescope
enum  {
  LX200_HAS_FOCUS = 1 << 0 , LX200_HAS_TRACKING_FREQ = 1 << 1 , LX200_HAS_ALIGNMENT_TYPE = 1 << 2 , LX200_HAS_SITES = 1 << 3 ,
  LX200_HAS_PULSE_GUIDING = 1 << 4 , LX200_HAS_PRECISE_TRACKING_FREQ = 1 << 5
}
 
- Public Types inherited from INDI::Telescope
enum  TelescopeStatus {
  SCOPE_IDLE , SCOPE_SLEWING , SCOPE_TRACKING , SCOPE_PARKING ,
  SCOPE_PARKED
}
 
enum  TelescopeMotionCommand { MOTION_START = 0 , MOTION_STOP }
 
enum  TelescopeSlewRate { SLEW_GUIDE , SLEW_CENTERING , SLEW_FIND , SLEW_MAX }
 
enum  TelescopeTrackMode { TRACK_SIDEREAL , TRACK_SOLAR , TRACK_LUNAR , TRACK_CUSTOM }
 
enum  TelescopeTrackState { TRACK_ON , TRACK_OFF , TRACK_UNKNOWN }
 
enum  TelescopeParkData {
  PARK_NONE , PARK_RA_DEC , PARK_HA_DEC , PARK_AZ_ALT ,
  PARK_RA_DEC_ENCODER , PARK_AZ_ALT_ENCODER
}
 
enum  TelescopeLocation { LOCATION_LATITUDE , LOCATION_LONGITUDE , LOCATION_ELEVATION }
 
enum  TelescopePierSide { PIER_UNKNOWN = -1 , PIER_WEST = 0 , PIER_EAST = 1 }
 
enum  TelescopePECState { PEC_UNKNOWN = -1 , PEC_OFF = 0 , PEC_ON = 1 }
 
enum  DomeLockingPolicy { DOME_IGNORED , DOME_LOCKS }
 
enum  { CONNECTION_NONE = 1 << 0 , CONNECTION_SERIAL = 1 << 1 , CONNECTION_TCP = 1 << 2 }
 
enum  {
  TELESCOPE_CAN_GOTO = 1 << 0 , TELESCOPE_CAN_SYNC = 1 << 1 , TELESCOPE_CAN_PARK = 1 << 2 , TELESCOPE_CAN_ABORT = 1 << 3 ,
  TELESCOPE_HAS_TIME = 1 << 4 , TELESCOPE_HAS_LOCATION = 1 << 5 , TELESCOPE_HAS_PIER_SIDE = 1 << 6 , TELESCOPE_HAS_PEC = 1 << 7 ,
  TELESCOPE_HAS_TRACK_MODE = 1 << 8 , TELESCOPE_CAN_CONTROL_TRACK = 1 << 9 , TELESCOPE_HAS_TRACK_RATE = 1 << 10 , TELESCOPE_HAS_PIER_SIDE_SIMULATION = 1 << 11 ,
  TELESCOPE_CAN_TRACK_SATELLITE = 1 << 12 , TELESCOPE_CAN_FLIP = 1 << 13
}
 
- Public Types inherited from INDI::ParentDevice
enum  Type { Valid , Invalid }
 
- Public Types inherited from INDI::BaseDevice
enum  INDI_ERROR { INDI_DEVICE_NOT_FOUND = -1 , INDI_PROPERTY_INVALID = -2 , INDI_PROPERTY_DUPLICATED = -3 , INDI_DISPATCH_ERROR = -4 }
 
enum  { INDI_ENABLED , INDI_DISABLED }
 
enum  WATCH { WATCH_NEW = 0 , WATCH_UPDATE , WATCH_NEW_OR_UPDATE }
 
enum  DRIVER_INTERFACE {
  GENERAL_INTERFACE = 0 , TELESCOPE_INTERFACE = (1 << 0) , CCD_INTERFACE = (1 << 1) , GUIDER_INTERFACE = (1 << 2) ,
  FOCUSER_INTERFACE = (1 << 3) , FILTER_INTERFACE = (1 << 4) , DOME_INTERFACE = (1 << 5) , GPS_INTERFACE = (1 << 6) ,
  WEATHER_INTERFACE = (1 << 7) , AO_INTERFACE = (1 << 8) , DUSTCAP_INTERFACE = (1 << 9) , LIGHTBOX_INTERFACE = (1 << 10) ,
  DETECTOR_INTERFACE = (1 << 11) , ROTATOR_INTERFACE = (1 << 12) , SPECTROGRAPH_INTERFACE = (1 << 13) , CORRELATOR_INTERFACE = (1 << 14) ,
  AUX_INTERFACE = (1 << 15) , SENSOR_INTERFACE = SPECTROGRAPH_INTERFACE | DETECTOR_INTERFACE | CORRELATOR_INTERFACE
}
 The DRIVER_INTERFACE enum defines the class of devices the driver implements. A driver may implement one or more interfaces. More...
 
typedef INDI::Properties Properties
 
- Public Types inherited from INDI::FocuserInterface
enum  FocusDirection { FOCUS_INWARD , FOCUS_OUTWARD }
 
enum  {
  FOCUSER_CAN_ABS_MOVE = 1 << 0 , FOCUSER_CAN_REL_MOVE = 1 << 1 , FOCUSER_CAN_ABORT = 1 << 2 , FOCUSER_CAN_REVERSE = 1 << 3 ,
  FOCUSER_CAN_SYNC = 1 << 4 , FOCUSER_HAS_VARIABLE_SPEED = 1 << 5 , FOCUSER_HAS_BACKLASH = 1 << 6
}
 
- Public Types inherited from INDI::RotatorInterface
enum  {
  ROTATOR_CAN_ABORT = 1 << 0 , ROTATOR_CAN_HOME = 1 << 1 , ROTATOR_CAN_SYNC = 1 << 2 , ROTATOR_CAN_REVERSE = 1 << 3 ,
  ROTATOR_HAS_BACKLASH = 1 << 4
}
 
- Static Public Member Functions inherited from INDI::Telescope
static void joystickHelper (const char *joystick_n, double mag, double angle, void *context)
 
static void axisHelper (const char *axis_n, double value, void *context)
 
static void buttonHelper (const char *button_n, ISState state, void *context)
 
- Static Public Member Functions inherited from INDI::BaseDevice
static std::string getSharedFilePath (std::string fileName)
 
- Public Attributes inherited from LX200Telescope
enum LX200Telescope:: { ... }  LX200Capability
 
- Public Attributes inherited from INDI::Telescope
enum INDI::Telescope:: { ... }  TelescopeConnection
 
enum INDI::Telescope:: { ... }  TelescopeCapability
 
- Public Attributes inherited from INDI::FocuserInterface
enum INDI::FocuserInterface:: { ... }  FocuserCapability
 
- Public Attributes inherited from INDI::RotatorInterface
enum INDI::RotatorInterface:: { ... }  RotatorCapability
 
- Protected Types inherited from INDI::Telescope
enum  { PARK_CURRENT , PARK_DEFAULT , PARK_WRITE_DATA , PARK_PURGE_DATA }
 
enum  { REVERSE_NS , REVERSE_WE }
 
enum  { MOTION_CONTROL_JOYSTICK , MOTION_CONTROL_AXES }
 
enum  { SAT_PASS_WINDOW_START , SAT_PASS_WINDOW_END , SAT_PASS_WINDOW_COUNT }
 
enum  { SAT_TRACK , SAT_HALT , SAT_TRACK_COUNT }
 
enum  {
  SCOPE_CONFIG1 , SCOPE_CONFIG2 , SCOPE_CONFIG3 , SCOPE_CONFIG4 ,
  SCOPE_CONFIG5 , SCOPE_CONFIG6
}
 
- Static Protected Member Functions inherited from LX200Telescope
static void updateFocusHelper (void *p)
 
static void guideTimeoutHelperNS (void *p)
 
static void guideTimeoutHelperWE (void *p)
 

Detailed Description

Definition at line 162 of file lx200_OnStep.h.

Constructor & Destructor Documentation

◆ LX200_OnStep()

LX200_OnStep::LX200_OnStep ( )

Definition at line 48 of file lx200_OnStep.cpp.

◆ ~LX200_OnStep()

LX200_OnStep::~LX200_OnStep ( )
inline

Definition at line 166 of file lx200_OnStep.h.

Member Function Documentation

◆ AbortFocuser()

bool LX200_OnStep::AbortFocuser ( )
overrideprotectedvirtual

AbortFocuser all focus motion.

Returns
True if abort is successful, false otherwise.

Reimplemented from LX200Telescope.

Definition at line 3837 of file lx200_OnStep.cpp.

◆ AbortRotator()

bool LX200_OnStep::AbortRotator ( )
overrideprotectedvirtual

AbortRotator Abort all motion.

Returns
True if successful, false otherwise.

Reimplemented from INDI::RotatorInterface.

Definition at line 4292 of file lx200_OnStep.cpp.

◆ AlignAddStar()

IPState LX200_OnStep::AlignAddStar ( )
protected

AlignStartGeometric starts the OnStep Multistar align process.

Max of 9 stars,

Parameters
starsNumber of stars to be included. If stars is more than the controller supports, it will be reduced.
Returns
IPS_BUSY if no issues, IPS_ALERT if commands don't get the expected response.

Definition at line 4621 of file lx200_OnStep.cpp.

◆ AlignDone()

IPState LX200_OnStep::AlignDone ( )
protected

Definition at line 4742 of file lx200_OnStep.cpp.

◆ AlignStartGeometric()

IPState LX200_OnStep::AlignStartGeometric ( int  stars)
protected

Definition at line 4581 of file lx200_OnStep.cpp.

◆ AlignWrite()

IPState LX200_OnStep::AlignWrite ( )
protected

Definition at line 4759 of file lx200_OnStep.cpp.

◆ ClearPECBuffer()

IPState LX200_OnStep::ClearPECBuffer ( int  axis)
protected

Definition at line 4408 of file lx200_OnStep.cpp.

◆ flushIO()

int LX200_OnStep::flushIO ( int  fd)
protected

Definition at line 3498 of file lx200_OnStep.cpp.

◆ getBasicData()

void LX200_OnStep::getBasicData ( void  )
overrideprotectedvirtual

Reimplemented from LX200Telescope.

Definition at line 1971 of file lx200_OnStep.cpp.

◆ getCommandDoubleResponse()

int LX200_OnStep::getCommandDoubleResponse ( int  fd,
double *  value,
char *  data,
const char *  cmd 
)
protected

Definition at line 3519 of file lx200_OnStep.cpp.

◆ getCommandIntResponse()

int LX200_OnStep::getCommandIntResponse ( int  fd,
int *  value,
char *  data,
const char *  cmd 
)
protected

Definition at line 3574 of file lx200_OnStep.cpp.

◆ getCommandSingleCharErrorOrLongResponse()

int LX200_OnStep::getCommandSingleCharErrorOrLongResponse ( int  fd,
char *  data,
const char *  cmd 
)
protected

Definition at line 3623 of file lx200_OnStep.cpp.

◆ getCommandSingleCharResponse()

int LX200_OnStep::getCommandSingleCharResponse ( int  fd,
char *  data,
const char *  cmd 
)
protected

Definition at line 3458 of file lx200_OnStep.cpp.

◆ getDefaultName()

const char * LX200_OnStep::getDefaultName ( )
overridevirtual
Returns
Default name of the device.

Reimplemented from LX200Telescope.

Definition at line 83 of file lx200_OnStep.cpp.

◆ Goto()

bool LX200_OnStep::Goto ( double  ra,
double  dec 
)
overrideprotectedvirtual

Move the scope to the supplied RA and DEC coordinates.

Returns
True if successful, false otherwise
Note
If not implemented by the child class, this function by default returns false with a warning message.

Reimplemented from LX200Telescope.

Definition at line 5243 of file lx200_OnStep.cpp.

◆ HomeRotator()

IPState LX200_OnStep::HomeRotator ( )
overrideprotectedvirtual

HomeRotator Go to home position.

Returns
State of operation: IPS_OK is motion is completed, IPS_BUSY if motion in progress, IPS_ALERT on error.

Reimplemented from INDI::RotatorInterface.

Definition at line 4279 of file lx200_OnStep.cpp.

◆ Init_Outputs()

void LX200_OnStep::Init_Outputs ( )
protectedvirtual

Definition at line 5013 of file lx200_OnStep.cpp.

◆ initProperties()

bool LX200_OnStep::initProperties ( )
overridevirtual

Called to initialize basic properties required all the time.

Reimplemented from LX200Telescope.

Definition at line 88 of file lx200_OnStep.cpp.

◆ ISGetProperties()

void LX200_OnStep::ISGetProperties ( const char *  dev)
overridevirtual

define the driver's properties to the client. Usually, only a minimum set of properties are defined to the client in this function if the device is in disconnected state. Those properties should be enough to enable the client to establish a connection to the device. In addition to CONNECT/DISCONNECT, such properties may include port name, IP address, etc. You should check if the device is already connected, and if this is true, then you must define the remainder of the the properties to the client in this function. Otherwise, the remainder of the driver's properties are defined to the client in updateProperties() function which is called when a client connects/disconnects from a device.

Parameters
devname of the device
Note
This function is called by the INDI framework, do not call it directly. See LX200 Generic driver for an example implementation

Reimplemented from LX200Telescope.

Definition at line 434 of file lx200_OnStep.cpp.

◆ ISNewNumber()

bool LX200_OnStep::ISNewNumber ( const char *  dev,
const char *  name,
double  values[],
char *  names[],
int  n 
)
overridevirtual

Process the client newNumber command.

Note
This function is called by the INDI framework, do not call it directly.
Returns
True if any property was successfully processed, false otherwise.

Reimplemented from LX200Telescope.

Definition at line 779 of file lx200_OnStep.cpp.

◆ ISNewSwitch()

bool LX200_OnStep::ISNewSwitch ( const char *  dev,
const char *  name,
ISState states,
char *  names[],
int  n 
)
overridevirtual

Process the client newSwitch command.

Note
This function is called by the INDI framework, do not call it directly.
Returns
True if any property was successfully processed, false otherwise.

Reimplemented from LX200Telescope.

Definition at line 1241 of file lx200_OnStep.cpp.

◆ ISPECRecorded()

bool LX200_OnStep::ISPECRecorded ( int  axis)
protected

◆ MoveAbsFocuser()

IPState LX200_OnStep::MoveAbsFocuser ( uint32_t  targetTicks)
overrideprotectedvirtual

MoveFocuser the focuser to an absolute position.

Parameters
ticksThe new position of the focuser.
Returns
Return IPS_OK if motion is completed and focuser reached requested position. Return IPS_BUSY if focuser started motion to requested position and is in progress. Return IPS_ALERT if there is an error.

Reimplemented from INDI::FocuserInterface.

Definition at line 3806 of file lx200_OnStep.cpp.

◆ MoveFocuser()

IPState LX200_OnStep::MoveFocuser ( FocusDirection  dir,
int  speed,
uint16_t  duration 
)
overrideprotectedvirtual

MoveFocuser the focuser in a particular direction with a specific speed for a finite duration.

Parameters
dirDirection of focuser, either FOCUS_INWARD or FOCUS_OUTWARD.
speedSpeed of focuser if supported by the focuser.
durationThe timeout in milliseconds before the focus motion halts. Pass 0 to move indefinitely.
Returns
Return IPS_OK if motion is completed and focuser reached requested position. Return IPS_BUSY if focuser started motion to requested position and is in progress. Return IPS_ALERT if there is an error.

Reimplemented from LX200Telescope.

Definition at line 3792 of file lx200_OnStep.cpp.

◆ MoveRelFocuser()

IPState LX200_OnStep::MoveRelFocuser ( FocusDirection  dir,
uint32_t  ticks 
)
overrideprotectedvirtual

MoveFocuser the focuser to an relative position.

Parameters
dirDirection of focuser, either FOCUS_INWARD or FOCUS_OUTWARD.
ticksThe relative ticks to move.
Returns
Return IPS_OK if motion is completed and focuser reached requested position. Return IPS_BUSY if focuser started motion to requested position and is in progress. Return IPS_ALERT if there is an error.

Reimplemented from INDI::FocuserInterface.

Definition at line 3824 of file lx200_OnStep.cpp.

◆ MoveRotator()

IPState LX200_OnStep::MoveRotator ( double  angle)
overrideprotectedvirtual

MoveRotator Go to specific angle.

Parameters
angleTarget angle in degrees.
Returns
State of operation: IPS_OK is motion is completed, IPS_BUSY if motion in progress, IPS_ALERT on error.

Implements INDI::RotatorInterface.

Definition at line 4253 of file lx200_OnStep.cpp.

◆ OSDisableOutput()

IPState LX200_OnStep::OSDisableOutput ( int  output)
protected

Definition at line 4794 of file lx200_OnStep.cpp.

◆ OSEnableOutput()

IPState LX200_OnStep::OSEnableOutput ( int  output)
protected

◆ OSGetOutputState()

bool LX200_OnStep::OSGetOutputState ( int  output)
protected

Definition at line 4848 of file lx200_OnStep.cpp.

◆ OSUpdateFocuser()

int LX200_OnStep::OSUpdateFocuser ( )
protected

Definition at line 3846 of file lx200_OnStep.cpp.

◆ OSUpdateRotator()

int LX200_OnStep::OSUpdateRotator ( )
protected

Definition at line 4165 of file lx200_OnStep.cpp.

◆ Park()

bool LX200_OnStep::Park ( )
overrideprotectedvirtual

Park the telescope to its home position.

Returns
True if successful, false otherwise
Note
If not implemented by the child class, this function by default returns false with a warning message.

Reimplemented from LX200Telescope.

Definition at line 2084 of file lx200_OnStep.cpp.

◆ PECStatus()

IPState LX200_OnStep::PECStatus ( int  axis)
protected

Definition at line 4450 of file lx200_OnStep.cpp.

◆ PrintTrackState()

void LX200_OnStep::PrintTrackState ( )
protected

PrintTrackState will print to the debug log the status of TrackState if DEBUG_TRACKSTATE is defined otherwise it will simply return.

Definition at line 5361 of file lx200_OnStep.cpp.

◆ ReadPECBuffer()

IPState LX200_OnStep::ReadPECBuffer ( int  axis)
protected

Definition at line 4548 of file lx200_OnStep.cpp.

◆ ReadScopeStatus()

bool LX200_OnStep::ReadScopeStatus ( )
overrideprotectedvirtual

Read telescope status.

This function checks the following:

  1. Check if the link to the telescope is alive.
  2. Update telescope status: Idle, Slewing, Parking..etc.
  3. Read coordinates
Returns
True if reading scope status is OK, false if an error is encounterd.
Note
This function is not implemented in Telescope, it must be implemented in the child class

Reimplemented from LX200Telescope.

Definition at line 2126 of file lx200_OnStep.cpp.

◆ saveConfigItems()

bool LX200_OnStep::saveConfigItems ( FILE *  fp)
overrideprotectedvirtual

saveConfigItems Save parameters ranges in the config file.

Parameters
fppointer to open config file
Returns
true of success, false otherwise.

Reimplemented from INDI::WeatherInterface.

Definition at line 5006 of file lx200_OnStep.cpp.

◆ SavePECBuffer()

IPState LX200_OnStep::SavePECBuffer ( int  axis)
protected

Definition at line 4429 of file lx200_OnStep.cpp.

◆ sendOnStepCommand()

bool LX200_OnStep::sendOnStepCommand ( const char *  cmd)
protected

Definition at line 3428 of file lx200_OnStep.cpp.

◆ sendOnStepCommandBlind()

bool LX200_OnStep::sendOnStepCommandBlind ( const char *  cmd)
protected

Definition at line 3405 of file lx200_OnStep.cpp.

◆ sendScopeLocation()

bool LX200_OnStep::sendScopeLocation ( )
overrideprotectedvirtual

Reimplemented from LX200Telescope.

Definition at line 5135 of file lx200_OnStep.cpp.

◆ sendScopeTime()

bool LX200_OnStep::sendScopeTime ( )
overrideprotectedvirtual

Reimplemented from LX200Telescope.

Definition at line 5065 of file lx200_OnStep.cpp.

◆ SetCurrentPark()

bool LX200_OnStep::SetCurrentPark ( )
overrideprotectedvirtual

SetCurrentPark Set current coordinates/encoders value as the desired parking position.

Returns
True if current mount coordinates are set as parking position, false on error.
Note
If not implemented by the child class, this function by default returns false with a warning message.

Reimplemented from INDI::Telescope.

Definition at line 2043 of file lx200_OnStep.cpp.

◆ SetDefaultPark()

bool LX200_OnStep::SetDefaultPark ( )
overrideprotectedvirtual

SetDefaultPark Set default coordinates/encoders value as the desired parking position.

Returns
True if default park coordinates are set as parking position, false on error.
Note
If not implemented by the child class, this function by default returns false with a warning message.

Reimplemented from INDI::Telescope.

Definition at line 2059 of file lx200_OnStep.cpp.

◆ setLocalDate()

bool LX200_OnStep::setLocalDate ( uint8_t  days,
uint8_t  months,
uint16_t  years 
)
overrideprotectedvirtual

Reimplemented from LX200Telescope.

Definition at line 3394 of file lx200_OnStep.cpp.

◆ setMinElevationLimit()

int LX200_OnStep::setMinElevationLimit ( int  fd,
int  min 
)
protected

Definition at line 3702 of file lx200_OnStep.cpp.

◆ SetParked()

void LX200_OnStep::SetParked ( bool  isparked)
overrideprotectedvirtual

SetParked Change the mount parking status. The data park file (stored in ~/.indi/ParkData.xml) is updated in the process.

Parameters
isparkedset to true if parked, false otherwise.

Reimplemented from INDI::Telescope.

Definition at line 5351 of file lx200_OnStep.cpp.

◆ SetRotatorBacklash()

bool LX200_OnStep::SetRotatorBacklash ( int32_t  steps)
overrideprotectedvirtual

SetRotatorBacklash Set the Rotatorer backlash compensation value.

Parameters
stepsvalue in absolute steps to compensate
Returns
True if successful, false otherwise.

Reimplemented from INDI::RotatorInterface.

Definition at line 4299 of file lx200_OnStep.cpp.

◆ SetRotatorBacklashEnabled()

bool LX200_OnStep::SetRotatorBacklashEnabled ( bool  enabled)
overrideprotectedvirtual

SetRotatorBacklashEnabled Enables or disables the Rotator backlash compensation.

Parameters
enableflag to enable or disable backlash compensation
Returns
True if successful, false otherwise.

Reimplemented from INDI::RotatorInterface.

Definition at line 4311 of file lx200_OnStep.cpp.

◆ setSiteLatitude()

int LX200_OnStep::setSiteLatitude ( int  fd,
double  Long 
)
protectedvirtual

Definition at line 3738 of file lx200_OnStep.cpp.

◆ setSiteLongitude()

int LX200_OnStep::setSiteLongitude ( int  fd,
double  Long 
)
protectedvirtual

Definition at line 3713 of file lx200_OnStep.cpp.

◆ SetTrackEnabled()

bool LX200_OnStep::SetTrackEnabled ( bool  enabled)
overrideprotectedvirtual

SetTrackEnabled Engages or disengages mount tracking. If there are no tracking modes available, it is assumed sidereal. Otherwise, whatever tracking mode should be activated or deactivated accordingly.

Parameters
enabledTrue to engage tracking, false to stop tracking completely.
Returns
True if successful, false otherwise
Note
If not implemented by the child class, this function by default returns false with a warning message.

Reimplemented from INDI::Telescope.

Definition at line 3369 of file lx200_OnStep.cpp.

◆ SetTrackRate()

bool LX200_OnStep::SetTrackRate ( double  raRate,
double  deRate 
)
overrideprotectedvirtual

SetTrackRate Set custom tracking rates.

Parameters
raRateRA tracking rate in arcsecs/s
deRateDEC tracking rate in arcsecs/s
Returns
True if successful, false otherwise
Note
If not implemented by the child class, this function by default returns false with a warning message.

Reimplemented from INDI::Telescope.

Definition at line 4881 of file lx200_OnStep.cpp.

◆ setUTCOffset()

bool LX200_OnStep::setUTCOffset ( double  offset)
overrideprotectedvirtual

Reimplemented from LX200Telescope.

Definition at line 5386 of file lx200_OnStep.cpp.

◆ slewError()

void LX200_OnStep::slewError ( int  slewCode)
overrideprotectedvirtual

Reimplemented from LX200Telescope.

Definition at line 4900 of file lx200_OnStep.cpp.

◆ StartPECPlayback()

IPState LX200_OnStep::StartPECPlayback ( int  axis)
protected

Definition at line 4338 of file lx200_OnStep.cpp.

◆ StartPECRecord()

IPState LX200_OnStep::StartPECRecord ( int  axis)
protected

Definition at line 4388 of file lx200_OnStep.cpp.

◆ StopPECPlayback()

IPState LX200_OnStep::StopPECPlayback ( int  axis)
protected

Definition at line 4368 of file lx200_OnStep.cpp.

◆ Sync()

bool LX200_OnStep::Sync ( double  ra,
double  dec 
)
overrideprotectedvirtual

Set the telescope current RA and DEC coordinates to the supplied RA and DEC coordinates.

Returns
True if successful, false otherwise
Note
If not implemented by the child class, this function by default returns false with a warning message.

Reimplemented from LX200Telescope.

Definition at line 4953 of file lx200_OnStep.cpp.

◆ SyncParkStatus()

void LX200_OnStep::SyncParkStatus ( bool  isparked)
overrideprotectedvirtual

SyncParkStatus Update the state and switches for parking.

Parameters
isparkedTrue if parked, false otherwise.

Reimplemented from INDI::Telescope.

Definition at line 5326 of file lx200_OnStep.cpp.

◆ UnPark()

bool LX200_OnStep::UnPark ( )
overrideprotectedvirtual

Unpark the telescope if already parked.

Returns
True if successful, false otherwise
Note
If not implemented by the child class, this function by default returns false with a warning message.

Reimplemented from INDI::Telescope.

Definition at line 2068 of file lx200_OnStep.cpp.

◆ UpdateAlignErr()

bool LX200_OnStep::UpdateAlignErr ( )
protectedvirtual

Definition at line 4684 of file lx200_OnStep.cpp.

◆ UpdateAlignStatus()

bool LX200_OnStep::UpdateAlignStatus ( )
protectedvirtual

Definition at line 4636 of file lx200_OnStep.cpp.

◆ updateLocation()

bool LX200_OnStep::updateLocation ( double  latitude,
double  longitude,
double  elevation 
)
overrideprotectedvirtual

Update telescope location settings.

Parameters
latitudeSite latitude in degrees.
longitudeSite latitude in degrees increasing eastward from Greenwich (0 to 360).
elevationSite elevation in meters.
Returns
True if successful, false otherwise
Note
If not implemented by the child class, this function by default returns false with a warning message.

Reimplemented from LX200Telescope.

Definition at line 3668 of file lx200_OnStep.cpp.

◆ updateProperties()

bool LX200_OnStep::updateProperties ( )
overridevirtual

Called when connected state changes, to add/remove properties.

Reimplemented from LX200Telescope.

Definition at line 440 of file lx200_OnStep.cpp.

◆ updateWeather()

virtual IPState LX200_OnStep::updateWeather ( )
inlineoverrideprotectedvirtual

updateWeather Update weather conditions from device or service. The function should not change the state of any property in the device as this is handled by Weather. It should only update the raw values.

Returns
Return overall state. The state should be IPS_OK if data is valid. IPS_BUSY if weather update is in progress. IPS_ALERT is there is an error. The clients will only accept values with IPS_OK state.

Reimplemented from INDI::WeatherInterface.

Definition at line 469 of file lx200_OnStep.h.

◆ WritePECBuffer()

IPState LX200_OnStep::WritePECBuffer ( int  axis)
protected

Definition at line 4564 of file lx200_OnStep.cpp.

Member Data Documentation

◆ AutoFlipS

ISwitch LX200_OnStep::AutoFlipS[2]
protected

Definition at line 382 of file lx200_OnStep.h.

◆ AutoFlipSP

ISwitchVectorProperty LX200_OnStep::AutoFlipSP
protected

Definition at line 381 of file lx200_OnStep.h.

◆ BacklashN

INumber LX200_OnStep::BacklashN[2]
protected

Definition at line 301 of file lx200_OnStep.h.

◆ BacklashNP

INumberVectorProperty LX200_OnStep::BacklashNP
protected

Definition at line 300 of file lx200_OnStep.h.

◆ DeepSkyCatalogS

ISwitch LX200_OnStep::DeepSkyCatalogS[7]
protected

Definition at line 289 of file lx200_OnStep.h.

◆ DeepSkyCatalogSP

ISwitchVectorProperty LX200_OnStep::DeepSkyCatalogSP
protected

Definition at line 288 of file lx200_OnStep.h.

◆ ElevationLimitN

INumber LX200_OnStep::ElevationLimitN[2]
protected

Definition at line 304 of file lx200_OnStep.h.

◆ ElevationLimitNP

INumberVectorProperty LX200_OnStep::ElevationLimitNP
protected

Definition at line 303 of file lx200_OnStep.h.

◆ FocuserTN

INumber LX200_OnStep::FocuserTN[2]
protected

Definition at line 329 of file lx200_OnStep.h.

◆ FocuserTNP

INumberVectorProperty LX200_OnStep::FocuserTNP
protected

Definition at line 328 of file lx200_OnStep.h.

◆ FrequencyAdjustS

ISwitch LX200_OnStep::FrequencyAdjustS[3]
protected

Definition at line 379 of file lx200_OnStep.h.

◆ FrequencyAdjustSP

ISwitchVectorProperty LX200_OnStep::FrequencyAdjustSP
protected

Definition at line 378 of file lx200_OnStep.h.

◆ GuideRateN

INumber LX200_OnStep::GuideRateN[2]
protected

Definition at line 435 of file lx200_OnStep.h.

◆ GuideRateNP

INumberVectorProperty LX200_OnStep::GuideRateNP
protected

Definition at line 436 of file lx200_OnStep.h.

◆ HomePauseS

ISwitch LX200_OnStep::HomePauseS[3]
protected

Definition at line 385 of file lx200_OnStep.h.

◆ HomePauseSP

ISwitchVectorProperty LX200_OnStep::HomePauseSP
protected

Definition at line 384 of file lx200_OnStep.h.

◆ IsTracking

int LX200_OnStep::IsTracking = 0
protected

Definition at line 365 of file lx200_OnStep.h.

◆ MaxSlewRateN

INumber LX200_OnStep::MaxSlewRateN[1]
protected

Definition at line 298 of file lx200_OnStep.h.

◆ MaxSlewRateNP

INumberVectorProperty LX200_OnStep::MaxSlewRateNP
protected

Definition at line 297 of file lx200_OnStep.h.

◆ minutesPastMeridianN

INumber LX200_OnStep::minutesPastMeridianN[2]
protected

Definition at line 394 of file lx200_OnStep.h.

◆ minutesPastMeridianNP

INumberVectorProperty LX200_OnStep::minutesPastMeridianNP
protected

Definition at line 393 of file lx200_OnStep.h.

◆ ObjectInfoT

IText LX200_OnStep::ObjectInfoT[1] {}
protected

Definition at line 283 of file lx200_OnStep.h.

◆ ObjectInfoTP

ITextVectorProperty LX200_OnStep::ObjectInfoTP
protected

Definition at line 282 of file lx200_OnStep.h.

◆ ObjectNoN

INumber LX200_OnStep::ObjectNoN[1]
protected

Definition at line 295 of file lx200_OnStep.h.

◆ ObjectNoNP

INumberVectorProperty LX200_OnStep::ObjectNoNP
protected

Definition at line 294 of file lx200_OnStep.h.

◆ OldOSPier

char LX200_OnStep::OldOSPier[RB_MAX_LEN]
protected

Definition at line 443 of file lx200_OnStep.h.

◆ OldOSStat

char LX200_OnStep::OldOSStat[RB_MAX_LEN]
protected

Definition at line 439 of file lx200_OnStep.h.

◆ OnStepMountVersion

OnStepVersion LX200_OnStep::OnStepMountVersion = OSV_UNKNOWN
protected

Definition at line 309 of file lx200_OnStep.h.

◆ OnstepStat

IText LX200_OnStep::OnstepStat[11] {}
protected

Definition at line 316 of file lx200_OnStep.h.

◆ OnstepStatTP

ITextVectorProperty LX200_OnStep::OnstepStatTP
protected

Definition at line 315 of file lx200_OnStep.h.

◆ OSAlignCompleted

bool LX200_OnStep::OSAlignCompleted = false
protected

Definition at line 262 of file lx200_OnStep.h.

◆ OSCpuTemp_good

bool LX200_OnStep::OSCpuTemp_good
protected
Initial value:
=
true

Definition at line 453 of file lx200_OnStep.h.

◆ OSFocus1InitializeS

ISwitch LX200_OnStep::OSFocus1InitializeS[4]
protected

Definition at line 325 of file lx200_OnStep.h.

◆ OSFocus1InitializeSP

ISwitchVectorProperty LX200_OnStep::OSFocus1InitializeSP
protected

Definition at line 324 of file lx200_OnStep.h.

◆ OSFocus2MotionS

ISwitch LX200_OnStep::OSFocus2MotionS[3]
protected

Definition at line 350 of file lx200_OnStep.h.

◆ OSFocus2MotionSP

ISwitchVectorProperty LX200_OnStep::OSFocus2MotionSP
protected

Definition at line 349 of file lx200_OnStep.h.

◆ OSFocus2RateS

ISwitch LX200_OnStep::OSFocus2RateS[4]
protected

Definition at line 347 of file lx200_OnStep.h.

◆ OSFocus2RateSP

ISwitchVectorProperty LX200_OnStep::OSFocus2RateSP
protected

Definition at line 346 of file lx200_OnStep.h.

◆ OSFocus2TargN

INumber LX200_OnStep::OSFocus2TargN[1]
protected

Definition at line 353 of file lx200_OnStep.h.

◆ OSFocus2TargNP

INumberVectorProperty LX200_OnStep::OSFocus2TargNP
protected

Definition at line 352 of file lx200_OnStep.h.

◆ OSFocuser1

bool LX200_OnStep::OSFocuser1 = false
protected

Definition at line 323 of file lx200_OnStep.h.

◆ OSFocuser2

bool LX200_OnStep::OSFocuser2 = false
protected

Definition at line 345 of file lx200_OnStep.h.

◆ OSFocusSelectS

ISwitch LX200_OnStep::OSFocusSelectS[9]
protected

Definition at line 340 of file lx200_OnStep.h.

◆ OSFocusSelectSP

ISwitchVectorProperty LX200_OnStep::OSFocusSelectSP
protected

Definition at line 339 of file lx200_OnStep.h.

◆ OSHasOutputs

bool LX200_OnStep::OSHasOutputs = true
protected

Definition at line 433 of file lx200_OnStep.h.

◆ OSHighPrecision

bool LX200_OnStep::OSHighPrecision = false
protected

Definition at line 319 of file lx200_OnStep.h.

◆ OSMountType

MountType LX200_OnStep::OSMountType = MOUNTTYPE_GEM
protected

Definition at line 195 of file lx200_OnStep.h.

◆ OSNAlignErrT

IText LX200_OnStep::OSNAlignErrT[4] {}
protected

Definition at line 421 of file lx200_OnStep.h.

◆ OSNAlignErrTP

ITextVectorProperty LX200_OnStep::OSNAlignErrTP
protected

Definition at line 422 of file lx200_OnStep.h.

◆ OSNAlignPolarRealignS

ISwitch LX200_OnStep::OSNAlignPolarRealignS[2]
protected

Definition at line 418 of file lx200_OnStep.h.

◆ OSNAlignPolarRealignSP

ISwitchVectorProperty LX200_OnStep::OSNAlignPolarRealignSP
protected

Definition at line 417 of file lx200_OnStep.h.

◆ OSNAlignS

ISwitch LX200_OnStep::OSNAlignS[4]
protected

Definition at line 414 of file lx200_OnStep.h.

◆ OSNAlignSP

ISwitchVectorProperty LX200_OnStep::OSNAlignSP
protected

Definition at line 413 of file lx200_OnStep.h.

◆ OSNAlignStarsS

ISwitch LX200_OnStep::OSNAlignStarsS[9]
protected

Definition at line 412 of file lx200_OnStep.h.

◆ OSNAlignStarsSP

ISwitchVectorProperty LX200_OnStep::OSNAlignStarsSP
protected

Definition at line 411 of file lx200_OnStep.h.

◆ OSNAlignStat

char LX200_OnStep::OSNAlignStat[RB_MAX_LEN]
protected

Definition at line 423 of file lx200_OnStep.h.

◆ OSNAlignT

IText LX200_OnStep::OSNAlignT[8] {}
protected

Definition at line 419 of file lx200_OnStep.h.

◆ OSNAlignTP

ITextVectorProperty LX200_OnStep::OSNAlignTP
protected

Definition at line 420 of file lx200_OnStep.h.

◆ OSNAlignWriteS

ISwitch LX200_OnStep::OSNAlignWriteS[1]
protected

Definition at line 416 of file lx200_OnStep.h.

◆ OSNAlignWriteSP

ISwitchVectorProperty LX200_OnStep::OSNAlignWriteSP
protected

Definition at line 415 of file lx200_OnStep.h.

◆ OSNumFocusers

int LX200_OnStep::OSNumFocusers = 0
protected

Definition at line 338 of file lx200_OnStep.h.

◆ OSOutput1S

ISwitch LX200_OnStep::OSOutput1S[2]
protected

Definition at line 426 of file lx200_OnStep.h.

◆ OSOutput1SP

ISwitchVectorProperty LX200_OnStep::OSOutput1SP
protected

Definition at line 425 of file lx200_OnStep.h.

◆ OSOutput2S

ISwitch LX200_OnStep::OSOutput2S[2]
protected

Definition at line 428 of file lx200_OnStep.h.

◆ OSOutput2SP

ISwitchVectorProperty LX200_OnStep::OSOutput2SP
protected

Definition at line 427 of file lx200_OnStep.h.

◆ OSPECCurrentIndexN

INumber LX200_OnStep::OSPECCurrentIndexN[2]
protected

Definition at line 405 of file lx200_OnStep.h.

◆ OSPECCurrentIndexNP

INumberVectorProperty LX200_OnStep::OSPECCurrentIndexNP
protected

Definition at line 404 of file lx200_OnStep.h.

◆ OSPECEnabled

bool LX200_OnStep::OSPECEnabled = false
protected

Definition at line 241 of file lx200_OnStep.h.

◆ OSPECIndexS

ISwitch LX200_OnStep::OSPECIndexS[2]
protected

Definition at line 399 of file lx200_OnStep.h.

◆ OSPECIndexSP

ISwitchVectorProperty LX200_OnStep::OSPECIndexSP
protected

Definition at line 398 of file lx200_OnStep.h.

◆ OSPECReadS

ISwitch LX200_OnStep::OSPECReadS[2]
protected

Definition at line 403 of file lx200_OnStep.h.

◆ OSPECReadSP

ISwitchVectorProperty LX200_OnStep::OSPECReadSP
protected

Definition at line 402 of file lx200_OnStep.h.

◆ OSPECRecordS

ISwitch LX200_OnStep::OSPECRecordS[3]
protected

Definition at line 401 of file lx200_OnStep.h.

◆ OSPECRecordSP

ISwitchVectorProperty LX200_OnStep::OSPECRecordSP
protected

Definition at line 400 of file lx200_OnStep.h.

◆ OSPECRWValuesN

INumber LX200_OnStep::OSPECRWValuesN[2]
protected

Definition at line 409 of file lx200_OnStep.h.

◆ OSPECRWValuesNP

INumberVectorProperty LX200_OnStep::OSPECRWValuesNP
protected

Definition at line 408 of file lx200_OnStep.h.

◆ OSPECStatusS

ISwitch LX200_OnStep::OSPECStatusS[5]
protected

Definition at line 397 of file lx200_OnStep.h.

◆ OSPECStatusSP

ISwitchVectorProperty LX200_OnStep::OSPECStatusSP
protected

Definition at line 396 of file lx200_OnStep.h.

◆ OSPECUserIndexN

INumber LX200_OnStep::OSPECUserIndexN[2]
protected

Definition at line 407 of file lx200_OnStep.h.

◆ OSPECUserIndexNP

INumberVectorProperty LX200_OnStep::OSPECUserIndexNP
protected

Definition at line 406 of file lx200_OnStep.h.

◆ OSPECviaGU

bool LX200_OnStep::OSPECviaGU = false
protected

Definition at line 242 of file lx200_OnStep.h.

◆ OSPier

char LX200_OnStep::OSPier[RB_MAX_LEN]
protected

Definition at line 442 of file lx200_OnStep.h.

◆ OSRotator1

bool LX200_OnStep::OSRotator1 = false
protected

Definition at line 356 of file lx200_OnStep.h.

◆ OSRotatorDerotateS

ISwitch LX200_OnStep::OSRotatorDerotateS[2]
protected

Definition at line 361 of file lx200_OnStep.h.

◆ OSRotatorDerotateSP

ISwitchVectorProperty LX200_OnStep::OSRotatorDerotateSP
protected

Definition at line 360 of file lx200_OnStep.h.

◆ OSRotatorRateS

ISwitch LX200_OnStep::OSRotatorRateS[4]
protected

Definition at line 358 of file lx200_OnStep.h.

◆ OSRotatorRateSP

ISwitchVectorProperty LX200_OnStep::OSRotatorRateSP
protected

Definition at line 357 of file lx200_OnStep.h.

◆ OSSeparate_Pulse_Guide_Rate

bool LX200_OnStep::OSSeparate_Pulse_Guide_Rate = false
protected

Definition at line 445 of file lx200_OnStep.h.

◆ OSSetAltitudeN

INumber LX200_OnStep::OSSetAltitudeN[1]
protected

Definition at line 465 of file lx200_OnStep.h.

◆ OSSetAltitudeNP

INumberVectorProperty LX200_OnStep::OSSetAltitudeNP
protected

Definition at line 464 of file lx200_OnStep.h.

◆ OSSetHumidityN

INumber LX200_OnStep::OSSetHumidityN[1]
protected

Definition at line 460 of file lx200_OnStep.h.

◆ OSSetHumidityNP

INumberVectorProperty LX200_OnStep::OSSetHumidityNP
protected

Definition at line 459 of file lx200_OnStep.h.

◆ OSSetPressureN

INumber LX200_OnStep::OSSetPressureN[1]
protected

Definition at line 462 of file lx200_OnStep.h.

◆ OSSetPressureNP

INumberVectorProperty LX200_OnStep::OSSetPressureNP
protected

Definition at line 461 of file lx200_OnStep.h.

◆ OSSetTemperatureN

INumber LX200_OnStep::OSSetTemperatureN[1]
protected

Definition at line 458 of file lx200_OnStep.h.

◆ OSSetTemperatureNP

INumberVectorProperty LX200_OnStep::OSSetTemperatureNP
protected

Definition at line 457 of file lx200_OnStep.h.

◆ OSStat

char LX200_OnStep::OSStat[RB_MAX_LEN]
protected

Definition at line 438 of file lx200_OnStep.h.

◆ OSSupports_bitfield_Gu

bool LX200_OnStep::OSSupports_bitfield_Gu = false
protected

Definition at line 446 of file lx200_OnStep.h.

◆ OSTimeoutMicroSeconds

long int LX200_OnStep::OSTimeoutMicroSeconds = 100000
protected

Definition at line 312 of file lx200_OnStep.h.

◆ OSTimeoutSeconds

long int LX200_OnStep::OSTimeoutSeconds = 0
protected

Definition at line 311 of file lx200_OnStep.h.

◆ OutputPorts

INumber LX200_OnStep::OutputPorts[PORTS_COUNT]
protected

Definition at line 431 of file lx200_OnStep.h.

◆ OutputPorts_NP

INumberVectorProperty LX200_OnStep::OutputPorts_NP
protected

Definition at line 432 of file lx200_OnStep.h.

◆ ParkStatusGU

uint8_t LX200_OnStep::ParkStatusGU = 0
protected

Definition at line 448 of file lx200_OnStep.h.

◆ PECStatusGU

uint8_t LX200_OnStep::PECStatusGU = 0
protected

Definition at line 447 of file lx200_OnStep.h.

◆ PreferredPierSideS

ISwitch LX200_OnStep::PreferredPierSideS[3]
protected

Definition at line 391 of file lx200_OnStep.h.

◆ PreferredPierSideSP

ISwitchVectorProperty LX200_OnStep::PreferredPierSideSP
protected

Definition at line 390 of file lx200_OnStep.h.

◆ ReticS

ISwitch LX200_OnStep::ReticS[2]
protected

Definition at line 369 of file lx200_OnStep.h.

◆ ReticSP

ISwitchVectorProperty LX200_OnStep::ReticSP
protected

Definition at line 368 of file lx200_OnStep.h.

◆ SetHomeS

ISwitch LX200_OnStep::SetHomeS[2]
protected

Definition at line 388 of file lx200_OnStep.h.

◆ SetHomeSP

ISwitchVectorProperty LX200_OnStep::SetHomeSP
protected

Definition at line 387 of file lx200_OnStep.h.

◆ SolarS

ISwitch LX200_OnStep::SolarS[10]
protected

Definition at line 292 of file lx200_OnStep.h.

◆ SolarSP

ISwitchVectorProperty LX200_OnStep::SolarSP
protected

Definition at line 291 of file lx200_OnStep.h.

◆ StarCatalogS

ISwitch LX200_OnStep::StarCatalogS[3]
protected

Definition at line 286 of file lx200_OnStep.h.

◆ StarCatalogSP

ISwitchVectorProperty LX200_OnStep::StarCatalogSP
protected

Definition at line 285 of file lx200_OnStep.h.

◆ TFCCoefficientN

INumber LX200_OnStep::TFCCoefficientN[1]
protected

Definition at line 333 of file lx200_OnStep.h.

◆ TFCCoefficientNP

INumberVectorProperty LX200_OnStep::TFCCoefficientNP
protected

Definition at line 332 of file lx200_OnStep.h.

◆ TFCCompensationS

ISwitch LX200_OnStep::TFCCompensationS[2]
protected

Definition at line 331 of file lx200_OnStep.h.

◆ TFCCompensationSP

ISwitchVectorProperty LX200_OnStep::TFCCompensationSP
protected

Definition at line 330 of file lx200_OnStep.h.

◆ TFCDeadbandN

INumber LX200_OnStep::TFCDeadbandN[1]
protected

Definition at line 335 of file lx200_OnStep.h.

◆ TFCDeadbandNP

INumberVectorProperty LX200_OnStep::TFCDeadbandNP
protected

Definition at line 334 of file lx200_OnStep.h.

◆ TMCDrivers

bool LX200_OnStep::TMCDrivers = true
protected

Definition at line 318 of file lx200_OnStep.h.

◆ TrackAxisS

ISwitch LX200_OnStep::TrackAxisS[3]
protected

Definition at line 376 of file lx200_OnStep.h.

◆ TrackAxisSP

ISwitchVectorProperty LX200_OnStep::TrackAxisSP
protected

Definition at line 375 of file lx200_OnStep.h.

◆ TrackCompS

ISwitch LX200_OnStep::TrackCompS[3]
protected

Definition at line 373 of file lx200_OnStep.h.

◆ TrackCompSP

ISwitchVectorProperty LX200_OnStep::TrackCompSP
protected

Definition at line 372 of file lx200_OnStep.h.

◆ VersionT

IText LX200_OnStep::VersionT[5] {}
protected

Definition at line 307 of file lx200_OnStep.h.

◆ VersionTP

ITextVectorProperty LX200_OnStep::VersionTP
protected

Definition at line 306 of file lx200_OnStep.h.


The documentation for this class was generated from the following files: