|
Instrument Neutral Distributed Interface INDI 2.2.5
|
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 { MAGELLAN_TRACK_DEFAULT , MAGELLAN_TRACK_LUNAR , MAGELLAN_TRACK_MANUAL } |
| enum | TTimeFormat { MAGELLAN_24 , MAGELLAN_AM , MAGELLAN_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 |
| Enumerator | |
|---|---|
| MAGELLAN_TRACK_DEFAULT | |
| MAGELLAN_TRACK_LUNAR | |
| MAGELLAN_TRACK_MANUAL | |
Definition at line 25 of file magellandriver.h.
| enum TTimeFormat |
| Enumerator | |
|---|---|
| MAGELLAN_24 | |
| MAGELLAN_AM | |
| MAGELLAN_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.