Instrument Neutral Distributed Interface INDI  1.9.5
Classes | Enumerations | Functions
ieqprolegacydriver.h File Reference
#include <string>

Go to the source code of this file.

Classes

struct  IEQInfo
 
struct  FirmwareInfo
 

Enumerations

enum  IEQ_GPS_STATUS { GPS_OFF, GPS_ON, GPS_DATA_OK }
 
enum  IEQ_SYSTEM_STATUS {
  ST_STOPPED, ST_TRACKING_PEC_OFF, ST_SLEWING, ST_GUIDING,
  ST_MERIDIAN_FLIPPING, ST_TRACKING_PEC_ON, ST_PARKED, ST_HOME
}
 
enum  IEQ_TRACK_RATE {
  TR_SIDEREAL, TR_LUNAR, TR_SOLAR, TR_KING,
  TR_CUSTOM
}
 
enum  IEQ_SLEW_RATE {
  SR_1, SR_2, SR_3, SR_4,
  SR_5, SR_6, SR_7, SR_8,
  SR_MAX
}
 
enum  IEQ_TIME_SOURCE { TS_RS232, TS_CONTROLLER, TS_GPS }
 
enum  IEQ_HEMISPHERE { HEMI_SOUTH, HEMI_NORTH }
 
enum  IEQ_FIRMWARE {
  FW_MODEL, FW_BOARD, FW_CONTROLLER, FW_RA,
  FW_DEC
}
 
enum  IEQ_AXIS { RA_AXIS, DEC_AXIS }
 
enum  IEQ_DIRECTION { IEQ_N, IEQ_S, IEQ_W, IEQ_E }
 
enum  IEQ_HOME_OPERATION { IEQ_FIND_HOME, IEQ_SET_HOME, IEQ_GOTO_HOME }
 

Functions

void set_ieqpro_debug (bool enable)
 
void set_ieqpro_simulation (bool enable)
 
void set_ieqpro_device (const char *name)
 
void set_sim_gps_status (IEQ_GPS_STATUS value)
 
void set_sim_system_status (IEQ_SYSTEM_STATUS value)
 
void set_sim_track_rate (IEQ_TRACK_RATE value)
 
void set_sim_slew_rate (IEQ_SLEW_RATE value)
 
void set_sim_time_source (IEQ_TIME_SOURCE value)
 
void set_sim_hemisphere (IEQ_HEMISPHERE value)
 
void set_sim_ra (double ra)
 
void set_sim_dec (double dec)
 
void set_sim_guide_rate (double rate)
 
bool check_ieqpro_connection (int fd)
 
bool get_ieqpro_status (int fd, IEQInfo *info)
 
bool get_ieqpro_firmware (int fd, FirmwareInfo *info)
 
bool get_ieqpro_main_firmware (int fd, FirmwareInfo *info)
 
bool get_ieqpro_radec_firmware (int fd, FirmwareInfo *info)
 
bool get_ieqpro_model (int fd, FirmwareInfo *info)
 
bool get_ieqpro_coords (int fd, double *ra, double *dec)
 
bool get_ieqpro_utc_date_time (int fd, double *utc_hours, int *yy, int *mm, int *dd, int *hh, int *minute, int *ss)
 
bool start_ieqpro_motion (int fd, IEQ_DIRECTION dir)
 
bool stop_ieqpro_motion (int fd, IEQ_DIRECTION dir)
 
bool set_ieqpro_slew_rate (int fd, IEQ_SLEW_RATE rate)
 
bool set_ieqpro_custom_ra_track_rate (int fd, double rate)
 
bool set_ieqpro_custom_de_track_rate (int fd, double rate)
 
bool set_ieqpro_track_mode (int fd, IEQ_TRACK_RATE rate)
 
bool set_ieqpro_track_enabled (int fd, bool enabled)
 
bool abort_ieqpro (int fd)
 
bool slew_ieqpro (int fd)
 
bool sync_ieqpro (int fd)
 
bool set_ieqpro_ra (int fd, double ra)
 
bool set_ieqpro_dec (int fd, double dec)
 
bool find_ieqpro_home (int fd)
 
bool goto_ieqpro_home (int fd)
 
bool set_ieqpro_current_home (int fd)
 
bool park_ieqpro (int fd)
 
bool unpark_ieqpro (int fd)
 
bool set_ieqpro_guide_rate (int fd, double raRate, double deRate)
 
bool get_ieqpro_guide_rate (int fd, double *raRate, double *deRate)
 
bool start_ieqpro_guide (int fd, IEQ_DIRECTION dir, uint32_t ms)
 
bool set_ieqpro_longitude (int fd, double longitude)
 
bool set_ieqpro_latitude (int fd, double latitude)
 
bool get_ieqpro_longitude (int fd, double *longitude)
 
bool get_ieqpro_latitude (int fd, double *latitude)
 
bool set_ieqpro_local_date (int fd, int yy, int mm, int dd)
 
bool set_ieqpro_local_time (int fd, int hh, int mm, int ss)
 
bool set_ieqpro_utc_offset (int fd, double offset_hours)
 
bool set_ieqpro_daylight_saving (int fd, bool enabled)
 

Enumeration Type Documentation

◆ IEQ_AXIS

enum IEQ_AXIS
Enumerator
RA_AXIS 
DEC_AXIS 

Definition at line 41 of file ieqprolegacydriver.h.

◆ IEQ_DIRECTION

Enumerator
IEQ_N 
IEQ_S 
IEQ_W 
IEQ_E 

Definition at line 42 of file ieqprolegacydriver.h.

◆ IEQ_FIRMWARE

Enumerator
FW_MODEL 
FW_BOARD 
FW_CONTROLLER 
FW_RA 
FW_DEC 

Definition at line 40 of file ieqprolegacydriver.h.

◆ IEQ_GPS_STATUS

Enumerator
GPS_OFF 
GPS_ON 
GPS_DATA_OK 

Definition at line 25 of file ieqprolegacydriver.h.

◆ IEQ_HEMISPHERE

Enumerator
HEMI_SOUTH 
HEMI_NORTH 

Definition at line 39 of file ieqprolegacydriver.h.

◆ IEQ_HOME_OPERATION

Enumerator
IEQ_FIND_HOME 
IEQ_SET_HOME 
IEQ_GOTO_HOME 

Definition at line 43 of file ieqprolegacydriver.h.

◆ IEQ_SLEW_RATE

Enumerator
SR_1 
SR_2 
SR_3 
SR_4 
SR_5 
SR_6 
SR_7 
SR_8 
SR_MAX 

Definition at line 37 of file ieqprolegacydriver.h.

◆ IEQ_SYSTEM_STATUS

Enumerator
ST_STOPPED 
ST_TRACKING_PEC_OFF 
ST_SLEWING 
ST_GUIDING 
ST_MERIDIAN_FLIPPING 
ST_TRACKING_PEC_ON 
ST_PARKED 
ST_HOME 

Definition at line 26 of file ieqprolegacydriver.h.

◆ IEQ_TIME_SOURCE

Enumerator
TS_RS232 
TS_CONTROLLER 
TS_GPS 

Definition at line 38 of file ieqprolegacydriver.h.

◆ IEQ_TRACK_RATE

Enumerator
TR_SIDEREAL 
TR_LUNAR 
TR_SOLAR 
TR_KING 
TR_CUSTOM 

Definition at line 36 of file ieqprolegacydriver.h.

Function Documentation

◆ abort_ieqpro()

bool abort_ieqpro ( int  fd)

Definition at line 1193 of file ieqprolegacydriver.cpp.

◆ check_ieqpro_connection()

bool check_ieqpro_connection ( int  fd)

Definition at line 115 of file ieqprolegacydriver.cpp.

◆ find_ieqpro_home()

bool find_ieqpro_home ( int  fd)

Definition at line 556 of file ieqprolegacydriver.cpp.

◆ get_ieqpro_coords()

bool get_ieqpro_coords ( int  fd,
double *  ra,
double *  dec 
)

Get RA/DEC

Definition at line 1958 of file ieqprolegacydriver.cpp.

◆ get_ieqpro_firmware()

bool get_ieqpro_firmware ( int  fd,
FirmwareInfo info 
)

Get All firmware informatin in addition to mount model

Definition at line 229 of file ieqprolegacydriver.cpp.

◆ get_ieqpro_guide_rate()

bool get_ieqpro_guide_rate ( int  fd,
double *  raRate,
double *  deRate 
)

Definition at line 983 of file ieqprolegacydriver.cpp.

◆ get_ieqpro_latitude()

bool get_ieqpro_latitude ( int  fd,
double *  latitude 
)

Definition at line 1688 of file ieqprolegacydriver.cpp.

◆ get_ieqpro_longitude()

bool get_ieqpro_longitude ( int  fd,
double *  longitude 
)

Definition at line 1629 of file ieqprolegacydriver.cpp.

◆ get_ieqpro_main_firmware()

bool get_ieqpro_main_firmware ( int  fd,
FirmwareInfo info 
)

Get mainboard and controller firmware only

Definition at line 327 of file ieqprolegacydriver.cpp.

◆ get_ieqpro_model()

bool get_ieqpro_model ( int  fd,
FirmwareInfo info 
)

Get Mount model

Definition at line 248 of file ieqprolegacydriver.cpp.

◆ get_ieqpro_radec_firmware()

bool get_ieqpro_radec_firmware ( int  fd,
FirmwareInfo info 
)

Get RA and DEC firmware info

Definition at line 387 of file ieqprolegacydriver.cpp.

◆ get_ieqpro_status()

bool get_ieqpro_status ( int  fd,
IEQInfo info 
)

Get iEQ current status info

Definition at line 169 of file ieqprolegacydriver.cpp.

◆ get_ieqpro_utc_date_time()

bool get_ieqpro_utc_date_time ( int  fd,
double *  utc_hours,
int *  yy,
int *  mm,
int *  dd,
int *  hh,
int *  minute,
int *  ss 
)

Get UTC/Date/Time

Definition at line 2032 of file ieqprolegacydriver.cpp.

◆ goto_ieqpro_home()

bool goto_ieqpro_home ( int  fd)

Definition at line 604 of file ieqprolegacydriver.cpp.

◆ park_ieqpro()

bool park_ieqpro ( int  fd)

Definition at line 1086 of file ieqprolegacydriver.cpp.

◆ set_ieqpro_current_home()

bool set_ieqpro_current_home ( int  fd)

Definition at line 652 of file ieqprolegacydriver.cpp.

◆ set_ieqpro_custom_de_track_rate()

bool set_ieqpro_custom_de_track_rate ( int  fd,
double  rate 
)

Definition at line 875 of file ieqprolegacydriver.cpp.

◆ set_ieqpro_custom_ra_track_rate()

bool set_ieqpro_custom_ra_track_rate ( int  fd,
double  rate 
)

Definition at line 819 of file ieqprolegacydriver.cpp.

◆ set_ieqpro_daylight_saving()

bool set_ieqpro_daylight_saving ( int  fd,
bool  enabled 
)

Definition at line 1847 of file ieqprolegacydriver.cpp.

◆ set_ieqpro_debug()

void set_ieqpro_debug ( bool  enable)

Definition at line 49 of file ieqprolegacydriver.cpp.

◆ set_ieqpro_dec()

bool set_ieqpro_dec ( int  fd,
double  dec 
)

Definition at line 1455 of file ieqprolegacydriver.cpp.

◆ set_ieqpro_device()

void set_ieqpro_device ( const char *  name)

Definition at line 64 of file ieqprolegacydriver.cpp.

◆ set_ieqpro_guide_rate()

bool set_ieqpro_guide_rate ( int  fd,
double  raRate,
double  deRate 
)

Definition at line 931 of file ieqprolegacydriver.cpp.

◆ set_ieqpro_latitude()

bool set_ieqpro_latitude ( int  fd,
double  latitude 
)

Definition at line 1572 of file ieqprolegacydriver.cpp.

◆ set_ieqpro_local_date()

bool set_ieqpro_local_date ( int  fd,
int  yy,
int  mm,
int  dd 
)

Definition at line 1747 of file ieqprolegacydriver.cpp.

◆ set_ieqpro_local_time()

bool set_ieqpro_local_time ( int  fd,
int  hh,
int  mm,
int  ss 
)

Definition at line 1797 of file ieqprolegacydriver.cpp.

◆ set_ieqpro_longitude()

bool set_ieqpro_longitude ( int  fd,
double  longitude 
)

Definition at line 1515 of file ieqprolegacydriver.cpp.

◆ set_ieqpro_ra()

bool set_ieqpro_ra ( int  fd,
double  ra 
)

Definition at line 1401 of file ieqprolegacydriver.cpp.

◆ set_ieqpro_simulation()

void set_ieqpro_simulation ( bool  enable)

Definition at line 54 of file ieqprolegacydriver.cpp.

◆ set_ieqpro_slew_rate()

bool set_ieqpro_slew_rate ( int  fd,
IEQ_SLEW_RATE  rate 
)

Definition at line 700 of file ieqprolegacydriver.cpp.

◆ set_ieqpro_track_enabled()

bool set_ieqpro_track_enabled ( int  fd,
bool  enabled 
)

Definition at line 1350 of file ieqprolegacydriver.cpp.

◆ set_ieqpro_track_mode()

bool set_ieqpro_track_mode ( int  fd,
IEQ_TRACK_RATE  rate 
)

Definition at line 751 of file ieqprolegacydriver.cpp.

◆ set_ieqpro_utc_offset()

bool set_ieqpro_utc_offset ( int  fd,
double  offset_hours 
)

Definition at line 1900 of file ieqprolegacydriver.cpp.

◆ set_sim_dec()

void set_sim_dec ( double  dec)

Definition at line 104 of file ieqprolegacydriver.cpp.

◆ set_sim_gps_status()

void set_sim_gps_status ( IEQ_GPS_STATUS  value)

Definition at line 69 of file ieqprolegacydriver.cpp.

◆ set_sim_guide_rate()

void set_sim_guide_rate ( double  rate)

◆ set_sim_hemisphere()

void set_sim_hemisphere ( IEQ_HEMISPHERE  value)

Definition at line 94 of file ieqprolegacydriver.cpp.

◆ set_sim_ra()

void set_sim_ra ( double  ra)

Definition at line 99 of file ieqprolegacydriver.cpp.

◆ set_sim_slew_rate()

void set_sim_slew_rate ( IEQ_SLEW_RATE  value)

Definition at line 84 of file ieqprolegacydriver.cpp.

◆ set_sim_system_status()

void set_sim_system_status ( IEQ_SYSTEM_STATUS  value)

Definition at line 74 of file ieqprolegacydriver.cpp.

◆ set_sim_time_source()

void set_sim_time_source ( IEQ_TIME_SOURCE  value)

Definition at line 89 of file ieqprolegacydriver.cpp.

◆ set_sim_track_rate()

void set_sim_track_rate ( IEQ_TRACK_RATE  value)

Definition at line 79 of file ieqprolegacydriver.cpp.

◆ slew_ieqpro()

bool slew_ieqpro ( int  fd)

Definition at line 1243 of file ieqprolegacydriver.cpp.

◆ start_ieqpro_guide()

bool start_ieqpro_guide ( int  fd,
IEQ_DIRECTION  dir,
uint32_t  ms 
)

Definition at line 1036 of file ieqprolegacydriver.cpp.

◆ start_ieqpro_motion()

bool start_ieqpro_motion ( int  fd,
IEQ_DIRECTION  dir 
)

Definition at line 447 of file ieqprolegacydriver.cpp.

◆ stop_ieqpro_motion()

bool stop_ieqpro_motion ( int  fd,
IEQ_DIRECTION  dir 
)

Definition at line 495 of file ieqprolegacydriver.cpp.

◆ sync_ieqpro()

bool sync_ieqpro ( int  fd)

Definition at line 1302 of file ieqprolegacydriver.cpp.

◆ unpark_ieqpro()

bool unpark_ieqpro ( int  fd)

Definition at line 1144 of file ieqprolegacydriver.cpp.