Instrument Neutral Distributed Interface INDI  1.9.5
Macros | Functions | Variables
ieq45driver8407.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
 
int is8407ver = 0
 

Macro Definition Documentation

◆ IEQ45_TIMEOUT

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

Definition at line 36 of file ieq45driver8407.c.

Function Documentation

◆ abortSlew()

int abortSlew ( int  fd)

Definition at line 1256 of file ieq45driver8407.c.

◆ check_IEQ45_connection()

int check_IEQ45_connection ( int  fd)

Definition at line 152 of file ieq45driver8407.c.

◆ checkIEQ45Format()

int checkIEQ45Format ( int  fd)

Definition at line 1388 of file ieq45driver8407.c.

◆ getCalendarDate()

int getCalendarDate ( int  fd,
char *  date 
)

Definition at line 303 of file ieq45driver8407.c.

◆ getCommandInt()

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

Definition at line 242 of file ieq45driver8407.c.

◆ getCommandSexa()

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

Definition at line 209 of file ieq45driver8407.c.

◆ getCommandString()

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

Definition at line 273 of file ieq45driver8407.c.

◆ getHomeSearchStatus()

int getHomeSearchStatus ( int  fd,
int *  status 
)

Definition at line 546 of file ieq45driver8407.c.

◆ getNumberOfBars()

int getNumberOfBars ( int  fd,
int *  value 
)

Definition at line 524 of file ieq45driver8407.c.

◆ getOTATemp()

int getOTATemp ( int  fd,
double *  value 
)

Definition at line 576 of file ieq45driver8407.c.

◆ getSiteLatitude()

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

Definition at line 425 of file ieq45driver8407.c.

◆ getSiteLongitude()

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

Definition at line 456 of file ieq45driver8407.c.

◆ getSiteName()

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

Definition at line 365 of file ieq45driver8407.c.

◆ getTimeFormat()

int getTimeFormat ( int  fd,
int *  format 
)

Definition at line 331 of file ieq45driver8407.c.

◆ getTrackFreq()

int getTrackFreq ( int  fd,
double *  value 
)

Definition at line 488 of file ieq45driver8407.c.

◆ HaltMovement()

int HaltMovement ( int  fd,
int  direction 
)

Definition at line 1210 of file ieq45driver8407.c.

◆ MoveTo()

int MoveTo ( int  fd,
int  direction 
)

Definition at line 1152 of file ieq45driver8407.c.

◆ remove_spaces()

void remove_spaces ( char *  texto_recibe)

Definition at line 197 of file ieq45driver8407.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 1338 of file ieq45driver8407.c.

◆ selectSite()

int selectSite ( int  fd,
int  siteNum 
)

Definition at line 1298 of file ieq45driver8407.c.

◆ selectSubCatalog()

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

Definition at line 1368 of file ieq45driver8407.c.

◆ selectTrackingMode()

int selectTrackingMode ( int  fd,
int  trackMode 
)

Definition at line 1419 of file ieq45driver8407.c.

◆ SendPulseCmd()

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

Definition at line 1182 of file ieq45driver8407.c.

◆ setAlignmentMode()

int setAlignmentMode ( int  fd,
unsigned int  alignMode 
)

Definition at line 815 of file ieq45driver8407.c.

◆ setCalenderDate()

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

Definition at line 847 of file ieq45driver8407.c.

◆ setCommandInt()

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

Definition at line 710 of file ieq45driver8407.c.

◆ setCommandXYZ()

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

Definition at line 806 of file ieq45driver8407.c.

◆ setFocuserMotion()

int setFocuserMotion ( int  fd,
int  motionType 
)

Definition at line 1006 of file ieq45driver8407.c.

◆ setFocuserSpeedMode()

int setFocuserSpeedMode ( int  fd,
int  speedMode 
)

Definition at line 1037 of file ieq45driver8407.c.

◆ setGPSFocuserSpeed()

int setGPSFocuserSpeed ( int  fd,
int  speed 
)

Definition at line 1077 of file ieq45driver8407.c.

◆ setMaxElevationLimit()

int setMaxElevationLimit ( int  fd,
int  max 
)

Definition at line 736 of file ieq45driver8407.c.

◆ setMaxSlewRate()

int setMaxSlewRate ( int  fd,
int  slewRate 
)

Definition at line 745 of file ieq45driver8407.c.

◆ setMinElevationLimit()

int setMinElevationLimit ( int  fd,
int  min 
)

Definition at line 727 of file ieq45driver8407.c.

◆ setObjAlt()

int setObjAlt ( int  fd,
double  alt 
)

Definition at line 930 of file ieq45driver8407.c.

◆ setObjAz()

int setObjAz ( int  fd,
double  az 
)

Definition at line 918 of file ieq45driver8407.c.

◆ setObjectDEC()

int setObjectDEC ( int  fd,
double  dec 
)

Definition at line 775 of file ieq45driver8407.c.

◆ setObjectRA()

int setObjectRA ( int  fd,
double  ra 
)

Definition at line 757 of file ieq45driver8407.c.

◆ setSiteLatitude()

int setSiteLatitude ( int  fd,
double  Lat 
)

Definition at line 906 of file ieq45driver8407.c.

◆ setSiteLongitude()

int setSiteLongitude ( int  fd,
double  Long 
)

Definition at line 894 of file ieq45driver8407.c.

◆ setSiteName()

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

Definition at line 942 of file ieq45driver8407.c.

◆ setSlewMode()

int setSlewMode ( int  fd,
int  slewMode 
)

Definition at line 967 of file ieq45driver8407.c.

◆ setStandardProcedure()

int setStandardProcedure ( int  fd,
char *  writeData 
)

Definition at line 679 of file ieq45driver8407.c.

◆ setTrackFreq()

int setTrackFreq ( int  fd,
double  trackF 
)

Definition at line 1111 of file ieq45driver8407.c.

◆ setUTCOffset()

int setUTCOffset ( int  fd,
double  hours 
)

Definition at line 883 of file ieq45driver8407.c.

◆ Slew()

int Slew ( int  fd)

Definition at line 1124 of file ieq45driver8407.c.

◆ Sync()

int Sync ( int  fd,
char *  matchedObject 
)

Definition at line 1270 of file ieq45driver8407.c.

◆ updateIntelliscopeCoord()

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

Definition at line 631 of file ieq45driver8407.c.

◆ updateSkyCommanderCoord()

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

Definition at line 601 of file ieq45driver8407.c.

Variable Documentation

◆ controller_format

int controller_format

Definition at line 38 of file ieq45driver8407.c.

◆ is8407ver

int is8407ver = 0

Definition at line 39 of file ieq45driver8407.c.