TwiceAsNice
2019-02-18
|
#include "lx200driver.h"
#include "indicom.h"
#include "indilogger.h"
#include <cstring>
#include <unistd.h>
#include <termios.h>
Macros | |
#define | LX200_TIMEOUT 5 /* FD timeout in seconds */ |
#define | RB_MAX_LEN 64 |
Functions | |
void | setLX200Debug (const char *deviceName, unsigned int debug_level) |
char | ACK (int fd) |
int | check_lx200_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 | 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, const 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 | SendPulseCmd (int fd, int direction, uint32_t duration_msec) |
int | checkLX200Format (int fd) |
int | getLX200Format () |
int | selectSite (int fd, int siteNum) |
int | selectCatalogObject (int fd, int catalog, int NNNN) |
int | selectSubCatalog (int fd, int catalog, int subCatalog) |
int | isSlewComplete (int fd) |
int | setGPSFocuserSpeed (int fd, int speed) |
int | SendPulseCmd (int fd, int direction, int duration_msec) |
Variables | |
int | controller_format |
char | lx200Name [MAXINDIDEVICE] |
unsigned int | DBG_SCOPE |
#define LX200_TIMEOUT 5 /* FD timeout in seconds */ |
#define RB_MAX_LEN 64 |
int abortSlew | ( | int | fd | ) |
char ACK | ( | int | fd | ) |
int check_lx200_connection | ( | int | fd | ) |
int checkLX200Format | ( | int | fd | ) |
int getCalendarDate | ( | int | fd, |
char * | date | ||
) |
int getCommandInt | ( | int | fd, |
int * | value, | ||
const char * | cmd | ||
) |
int getCommandSexa | ( | int | fd, |
double * | value, | ||
const char * | cmd | ||
) |
static int getCommandString | ( | int | fd, |
char * | data, | ||
const char * | cmd | ||
) |
int getHomeSearchStatus | ( | int | fd, |
int * | status | ||
) |
int getLX200Format | ( | ) |
int getOTATemp | ( | int | fd, |
double * | value | ||
) |
int getSiteLatitude | ( | int | fd, |
int * | dd, | ||
int * | mm | ||
) |
int getSiteLongitude | ( | int | fd, |
int * | ddd, | ||
int * | mm | ||
) |
int getSiteName | ( | int | fd, |
char * | siteName, | ||
int | siteNum | ||
) |
int getTimeFormat | ( | int | fd, |
int * | format | ||
) |
int getTrackFreq | ( | int | fd, |
double * | value | ||
) |
int HaltMovement | ( | int | fd, |
int | direction | ||
) |
int isSlewComplete | ( | int | fd | ) |
int MoveTo | ( | int | fd, |
int | direction | ||
) |
int selectCatalogObject | ( | int | fd, |
int | catalog, | ||
int | NNNN | ||
) |
int selectSite | ( | int | fd, |
int | siteNum | ||
) |
int selectSubCatalog | ( | int | fd, |
int | catalog, | ||
int | subCatalog | ||
) |
int selectTrackingMode | ( | int | fd, |
int | trackMode | ||
) |
int SendPulseCmd | ( | int | fd, |
int | direction, | ||
uint32_t | duration_msec | ||
) |
int SendPulseCmd | ( | int | fd, |
int | direction, | ||
int | duration_msec | ||
) |
int setAlignmentMode | ( | int | fd, |
unsigned int | alignMode | ||
) |
int setCalenderDate | ( | int | fd, |
int | dd, | ||
int | mm, | ||
int | yy | ||
) |
int setCommandInt | ( | int | fd, |
int | data, | ||
const char * | cmd | ||
) |
int setCommandXYZ | ( | int | fd, |
int | x, | ||
int | y, | ||
int | z, | ||
const char * | cmd | ||
) |
int setFocuserMotion | ( | int | fd, |
int | motionType | ||
) |
int setFocuserSpeedMode | ( | int | fd, |
int | speedMode | ||
) |
int setGPSFocuserSpeed | ( | int | fd, |
int | speed | ||
) |
void setLX200Debug | ( | const char * | deviceName, |
unsigned int | debug_level | ||
) |
int setMaxElevationLimit | ( | int | fd, |
int | max | ||
) |
int setMaxSlewRate | ( | int | fd, |
int | slewRate | ||
) |
int setMinElevationLimit | ( | int | fd, |
int | min | ||
) |
int setObjAlt | ( | int | fd, |
double | alt | ||
) |
int setObjAz | ( | int | fd, |
double | az | ||
) |
int setObjectDEC | ( | int | fd, |
double | dec | ||
) |
int setObjectRA | ( | int | fd, |
double | ra | ||
) |
int setSiteLatitude | ( | int | fd, |
double | Lat | ||
) |
int setSiteLongitude | ( | int | fd, |
double | Long | ||
) |
int setSiteName | ( | int | fd, |
char * | siteName, | ||
int | siteNum | ||
) |
int setSlewMode | ( | int | fd, |
int | slewMode | ||
) |
int setStandardProcedure | ( | int | fd, |
const char * | writeData | ||
) |
int setTrackFreq | ( | int | fd, |
double | trackF | ||
) |
int setUTCOffset | ( | int | fd, |
double | hours | ||
) |
int Slew | ( | int | fd | ) |
int Sync | ( | int | fd, |
char * | matchedObject | ||
) |
int controller_format |
unsigned int DBG_SCOPE |
char lx200Name[MAXINDIDEVICE] |