Instrument Neutral Distributed Interface INDI  1.9.5
Macros | Functions | Variables
ieq45driver8406.c File Reference
#include "ieq45driver.h"
#include "indicom.h"
#include "indidevapi.h"
#include <termios.h>

Go to the source code of this file.

Macros

#define IEQ45_TIMEOUT   5 /* FD timeout in seconds */
 

Functions

int check_IEQ45_connection (int fd)
 
int getCommandSexa (int fd, double *value, const char *cmd)
 
int getCommandString (int fd, char *data, const char *cmd)
 
int getCommandInt (int fd, int *value, const char *cmd)
 
int getTrackFreq (int fd, double *value)
 
int getSiteLatitude (int fd, int *dd, int *mm)
 
int getSiteLongitude (int fd, int *ddd, int *mm)
 
int getCalendarDate (int fd, char *date)
 
int getSiteName (int fd, char *siteName, int siteNum)
 
int getNumberOfBars (int fd, int *value)
 
int getHomeSearchStatus (int fd, int *status)
 
int getOTATemp (int fd, double *value)
 
int getTimeFormat (int fd, int *format)
 
int setCommandInt (int fd, int data, const char *cmd)
 
int setCommandXYZ (int fd, int x, int y, int z, const char *cmd)
 
int setStandardProcedure (int fd, char *writeData)
 
int setSlewMode (int fd, int slewMode)
 
int setAlignmentMode (int fd, unsigned int alignMode)
 
int setObjectRA (int fd, double ra)
 
int setObjectDEC (int fd, double dec)
 
int setCalenderDate (int fd, int dd, int mm, int yy)
 
int setUTCOffset (int fd, double hours)
 
int setTrackFreq (int fd, double trackF)
 
int setSiteLongitude (int fd, double Long)
 
int setSiteLatitude (int fd, double Lat)
 
int setObjAz (int fd, double az)
 
int setObjAlt (int fd, double alt)
 
int setSiteName (int fd, char *siteName, int siteNum)
 
int setMaxSlewRate (int fd, int slewRate)
 
int setFocuserMotion (int fd, int motionType)
 
int setFocuserSpeedMode (int fd, int speedMode)
 
int setMinElevationLimit (int fd, int min)
 
int setMaxElevationLimit (int fd, int max)
 
int Slew (int fd)
 
int Sync (int fd, char *matchedObject)
 
int abortSlew (int fd)
 
int MoveTo (int fd, int direction)
 
int HaltMovement (int fd, int direction)
 
int selectTrackingMode (int fd, int trackMode)
 
int selectAPTrackingMode (int fd, int trackMode)
 
int SendPulseCmd (int fd, int direction, int duration_msec)
 
int checkIEQ45Format (int fd)
 
int selectSite (int fd, int siteNum)
 
int selectCatalogObject (int fd, int catalog, int NNNN)
 
int selectSubCatalog (int fd, int catalog, int subCatalog)
 
void remove_spaces (char *texto_recibe)
 
int updateSkyCommanderCoord (int fd, double *ra, double *dec)
 
int updateIntelliscopeCoord (int fd, double *ra, double *dec)
 
int setGPSFocuserSpeed (int fd, int speed)
 

Variables

int controller_format
 

Macro Definition Documentation

◆ IEQ45_TIMEOUT

#define IEQ45_TIMEOUT   5 /* FD timeout in seconds */

Definition at line 31 of file ieq45driver8406.c.

Function Documentation

◆ abortSlew()

int abortSlew ( int  fd)

Definition at line 1231 of file ieq45driver8406.c.

◆ check_IEQ45_connection()

int check_IEQ45_connection ( int  fd)

Definition at line 146 of file ieq45driver8406.c.

◆ checkIEQ45Format()

int checkIEQ45Format ( int  fd)

Definition at line 1363 of file ieq45driver8406.c.

◆ getCalendarDate()

int getCalendarDate ( int  fd,
char *  date 
)

Definition at line 281 of file ieq45driver8406.c.

◆ getCommandInt()

int getCommandInt ( int  fd,
int *  value,
const char *  cmd 
)

Definition at line 220 of file ieq45driver8406.c.

◆ getCommandSexa()

int getCommandSexa ( int  fd,
double *  value,
const char *  cmd 
)

Definition at line 188 of file ieq45driver8406.c.

◆ getCommandString()

int getCommandString ( int  fd,
char *  data,
const char *  cmd 
)

Definition at line 251 of file ieq45driver8406.c.

◆ getHomeSearchStatus()

int getHomeSearchStatus ( int  fd,
int *  status 
)

Definition at line 524 of file ieq45driver8406.c.

◆ getNumberOfBars()

int getNumberOfBars ( int  fd,
int *  value 
)

Definition at line 502 of file ieq45driver8406.c.

◆ getOTATemp()

int getOTATemp ( int  fd,
double *  value 
)

Definition at line 554 of file ieq45driver8406.c.

◆ getSiteLatitude()

int getSiteLatitude ( int  fd,
int *  dd,
int *  mm 
)

Definition at line 403 of file ieq45driver8406.c.

◆ getSiteLongitude()

int getSiteLongitude ( int  fd,
int *  ddd,
int *  mm 
)

Definition at line 434 of file ieq45driver8406.c.

◆ getSiteName()

int getSiteName ( int  fd,
char *  siteName,
int  siteNum 
)

Definition at line 343 of file ieq45driver8406.c.

◆ getTimeFormat()

int getTimeFormat ( int  fd,
int *  format 
)

Definition at line 309 of file ieq45driver8406.c.

◆ getTrackFreq()

int getTrackFreq ( int  fd,
double *  value 
)

Definition at line 466 of file ieq45driver8406.c.

◆ HaltMovement()

int HaltMovement ( int  fd,
int  direction 
)

Definition at line 1185 of file ieq45driver8406.c.

◆ MoveTo()

int MoveTo ( int  fd,
int  direction 
)

Definition at line 1127 of file ieq45driver8406.c.

◆ remove_spaces()

void remove_spaces ( char *  texto_recibe)

Definition at line 176 of file ieq45driver8406.c.

◆ selectAPTrackingMode()

int selectAPTrackingMode ( int  fd,
int  trackMode 
)

Definition at line 459 of file lx200apdriver.cpp.

◆ selectCatalogObject()

int selectCatalogObject ( int  fd,
int  catalog,
int  NNNN 
)

Definition at line 1313 of file ieq45driver8406.c.

◆ selectSite()

int selectSite ( int  fd,
int  siteNum 
)

Definition at line 1273 of file ieq45driver8406.c.

◆ selectSubCatalog()

int selectSubCatalog ( int  fd,
int  catalog,
int  subCatalog 
)

Definition at line 1343 of file ieq45driver8406.c.

◆ selectTrackingMode()

int selectTrackingMode ( int  fd,
int  trackMode 
)

Definition at line 1394 of file ieq45driver8406.c.

◆ SendPulseCmd()

int SendPulseCmd ( int  fd,
int  direction,
int  duration_msec 
)

Definition at line 1157 of file ieq45driver8406.c.

◆ setAlignmentMode()

int setAlignmentMode ( int  fd,
unsigned int  alignMode 
)

Definition at line 793 of file ieq45driver8406.c.

◆ setCalenderDate()

int setCalenderDate ( int  fd,
int  dd,
int  mm,
int  yy 
)

Definition at line 825 of file ieq45driver8406.c.

◆ setCommandInt()

int setCommandInt ( int  fd,
int  data,
const char *  cmd 
)

Definition at line 688 of file ieq45driver8406.c.

◆ setCommandXYZ()

int setCommandXYZ ( int  fd,
int  x,
int  y,
int  z,
const char *  cmd 
)

Definition at line 784 of file ieq45driver8406.c.

◆ setFocuserMotion()

int setFocuserMotion ( int  fd,
int  motionType 
)

Definition at line 984 of file ieq45driver8406.c.

◆ setFocuserSpeedMode()

int setFocuserSpeedMode ( int  fd,
int  speedMode 
)

Definition at line 1015 of file ieq45driver8406.c.

◆ setGPSFocuserSpeed()

int setGPSFocuserSpeed ( int  fd,
int  speed 
)

Definition at line 1055 of file ieq45driver8406.c.

◆ setMaxElevationLimit()

int setMaxElevationLimit ( int  fd,
int  max 
)

Definition at line 714 of file ieq45driver8406.c.

◆ setMaxSlewRate()

int setMaxSlewRate ( int  fd,
int  slewRate 
)

Definition at line 723 of file ieq45driver8406.c.

◆ setMinElevationLimit()

int setMinElevationLimit ( int  fd,
int  min 
)

Definition at line 705 of file ieq45driver8406.c.

◆ setObjAlt()

int setObjAlt ( int  fd,
double  alt 
)

Definition at line 908 of file ieq45driver8406.c.

◆ setObjAz()

int setObjAz ( int  fd,
double  az 
)

Definition at line 896 of file ieq45driver8406.c.

◆ setObjectDEC()

int setObjectDEC ( int  fd,
double  dec 
)

Definition at line 753 of file ieq45driver8406.c.

◆ setObjectRA()

int setObjectRA ( int  fd,
double  ra 
)

Definition at line 735 of file ieq45driver8406.c.

◆ setSiteLatitude()

int setSiteLatitude ( int  fd,
double  Lat 
)

Definition at line 884 of file ieq45driver8406.c.

◆ setSiteLongitude()

int setSiteLongitude ( int  fd,
double  Long 
)

Definition at line 872 of file ieq45driver8406.c.

◆ setSiteName()

int setSiteName ( int  fd,
char *  siteName,
int  siteNum 
)

Definition at line 920 of file ieq45driver8406.c.

◆ setSlewMode()

int setSlewMode ( int  fd,
int  slewMode 
)

Definition at line 945 of file ieq45driver8406.c.

◆ setStandardProcedure()

int setStandardProcedure ( int  fd,
char *  writeData 
)

Definition at line 657 of file ieq45driver8406.c.

◆ setTrackFreq()

int setTrackFreq ( int  fd,
double  trackF 
)

Definition at line 1089 of file ieq45driver8406.c.

◆ setUTCOffset()

int setUTCOffset ( int  fd,
double  hours 
)

Definition at line 861 of file ieq45driver8406.c.

◆ Slew()

int Slew ( int  fd)

Definition at line 1102 of file ieq45driver8406.c.

◆ Sync()

int Sync ( int  fd,
char *  matchedObject 
)

Definition at line 1245 of file ieq45driver8406.c.

◆ updateIntelliscopeCoord()

int updateIntelliscopeCoord ( int  fd,
double *  ra,
double *  dec 
)

Definition at line 609 of file ieq45driver8406.c.

◆ updateSkyCommanderCoord()

int updateSkyCommanderCoord ( int  fd,
double *  ra,
double *  dec 
)

Definition at line 579 of file ieq45driver8406.c.

Variable Documentation

◆ controller_format

int controller_format

Definition at line 33 of file ieq45driver8406.c.