TwiceAsNice
2019-02-18
|
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#") |
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 */ |
#define CONNECTION_RETRIES 2 /* Retry Attempt cut-off */ |
#define getMAGELLANDEC | ( | fd, | |
x | |||
) | getCommandSexa(fd, x, "#:GD#") |
#define getMAGELLANRA | ( | fd, | |
x | |||
) | getCommandSexa(fd, x, "#:GR#") |
#define MAGELLAN_ACK 'P' /* Default Success Code */ |
#define MAGELLAN_ERROR -1 /* Default Error Code */ |
#define MAGELLAN_OK 0 /* Default Success Code */ |
#define MAGELLAN_TIMEOUT 5 /* FD timeout in seconds */ |
enum TFreq |
enum TTimeFormat |
char ACK | ( | int | fd | ) |
int check_magellan_connection | ( | int | fd | ) |
int getCalendarDate | ( | int | fd, |
char * | date | ||
) |
int getCommandSexa | ( | int | fd, |
double * | value, | ||
const char * | cmd | ||
) |