Instrument Neutral Distributed Interface INDI
2.0.2
|
Go to the source code of this file.
Macros | |
#define | MAGELLAN_TIMEOUT 5 /* FD timeout in seconds */ |
#define | MAGELLAN_ERROR -1 /* Default Error Code */ |
#define | MAGELLAN_OK 0 /* Default Success Code */ |
#define | MAGELLAN_ACK 'P' /* Default Success Code */ |
#define | CENTURY_THRESHOLD 91 /* When to goto 21st Century */ |
#define | CONNECTION_RETRIES 2 /* Retry Attempt cut-off */ |
#define | getMAGELLANRA(fd, x) getCommandSexa(fd, x, "#:GR#") |
#define | getMAGELLANDEC(fd, x) getCommandSexa(fd, x, "#:GD#") |
Enumerations | |
enum | TFreq { LX200_TRACK_SIDEREAL , LX200_TRACK_SOLAR , LX200_TRACK_LUNAR , LX200_TRACK_MANUAL , MAGELLAN_TRACK_DEFAULT , MAGELLAN_TRACK_LUNAR , MAGELLAN_TRACK_MANUAL , IEQ45_TRACK_SIDERAL , IEQ45_TRACK_LUNAR , IEQ45_TRACK_SOLAR , IEQ45_TRACK_ZERO } |
enum | TTimeFormat { LX200_24 , LX200_AM , LX200_PM , MAGELLAN_24 , MAGELLAN_AM , MAGELLAN_PM , IEQ45_24 , IEQ45_AM , IEQ45_PM } |
Functions | |
char | ACK (int fd) |
int | check_magellan_connection (int fd) |
int | getCommandSexa (int fd, double *value, const char *cmd) |
int | getCalendarDate (int fd, char *date) |
#define CENTURY_THRESHOLD 91 /* When to goto 21st Century */ |
Definition at line 45 of file magellandriver.h.
#define CONNECTION_RETRIES 2 /* Retry Attempt cut-off */ |
Definition at line 46 of file magellandriver.h.
#define getMAGELLANDEC | ( | fd, | |
x | |||
) | getCommandSexa(fd, x, "#:GD#") |
Definition at line 50 of file magellandriver.h.
#define getMAGELLANRA | ( | fd, | |
x | |||
) | getCommandSexa(fd, x, "#:GR#") |
Definition at line 49 of file magellandriver.h.
#define MAGELLAN_ACK 'P' /* Default Success Code */ |
Definition at line 43 of file magellandriver.h.
#define MAGELLAN_ERROR -1 /* Default Error Code */ |
Definition at line 41 of file magellandriver.h.
#define MAGELLAN_OK 0 /* Default Success Code */ |
Definition at line 42 of file magellandriver.h.
#define MAGELLAN_TIMEOUT 5 /* FD timeout in seconds */ |
Definition at line 40 of file magellandriver.h.
enum TFreq |
Definition at line 25 of file magellandriver.h.
enum TTimeFormat |
Enumerator | |
---|---|
LX200_24 | |
LX200_AM | |
LX200_PM | |
MAGELLAN_24 | |
MAGELLAN_AM | |
MAGELLAN_PM | |
IEQ45_24 | |
IEQ45_AM | |
IEQ45_PM |
Definition at line 33 of file magellandriver.h.
char ACK | ( | int | fd | ) |
Definition at line 108 of file lx200driver.cpp.
int check_magellan_connection | ( | int | fd | ) |
Definition at line 59 of file magellandriver.c.
int getCalendarDate | ( | int | fd, |
char * | date | ||
) |
Definition at line 315 of file lx200driver.cpp.
int getCommandSexa | ( | int | fd, |
double * | value, | ||
const char * | cmd | ||
) |
Definition at line 143 of file lx200driver.cpp.