PPS-Client
2.0.0
Client for synchronizing the system clock to a GPS PPS source
|
#include <pps-client.h>
Public Attributes | |
pthread_t * | tid |
Thread id. More... | |
pthread_attr_t | attr |
Thread attribute object. More... | |
int | serverIndex |
Identifying index from the list of active NIST servers. More... | |
int * | serverTimeDiff |
Time difference between local time and server time. More... | |
char ** | ntp_server |
The active NIST server list when NIST is used. More... | |
char * | serialPort |
The serial port filename when serial time is used. More... | |
char * | buf |
Space for the active NIST server list. More... | |
bool | doReadSerial |
Flag to read serial messages from serial port. More... | |
char * | strbuf |
Space for messages and query strings. More... | |
char * | logbuf |
Space for returned log messages. More... | |
bool * | threadIsBusy |
True while thread is waiting for or processing a time query. More... | |
int | rv |
char * | gmtTime_file |
char * | nistTime_file |
Definition at line 146 of file pps-client.h.
pthread_attr_t timeCheckParams::attr |
Thread attribute object.
Definition at line 148 of file pps-client.h.
Referenced by freeNISTThreads(), freeSerialThread(), and waitForPPS().
char* timeCheckParams::buf |
Space for the active NIST server list.
Definition at line 153 of file pps-client.h.
Referenced by freeNISTThreads().
bool timeCheckParams::doReadSerial |
Flag to read serial messages from serial port.
Definition at line 154 of file pps-client.h.
char* timeCheckParams::gmtTime_file |
Definition at line 160 of file pps-client.h.
Referenced by saveTimestamps().
char* timeCheckParams::logbuf |
Space for returned log messages.
Definition at line 156 of file pps-client.h.
Referenced by doTimeCheck(), and freeNISTThreads().
char* timeCheckParams::nistTime_file |
Definition at line 161 of file pps-client.h.
Referenced by doTimeCheck().
char** timeCheckParams::ntp_server |
The active NIST server list when NIST is used.
Definition at line 151 of file pps-client.h.
int timeCheckParams::rv |
Return value of thread Struct for passing arguments to and from threads querying NIST time servers or GPS receivers.
Definition at line 158 of file pps-client.h.
char* timeCheckParams::serialPort |
The serial port filename when serial time is used.
Definition at line 152 of file pps-client.h.
Referenced by freeSerialThread(), and saveGPSTime().
int timeCheckParams::serverIndex |
Identifying index from the list of active NIST servers.
Definition at line 149 of file pps-client.h.
Referenced by doTimeCheck().
int* timeCheckParams::serverTimeDiff |
Time difference between local time and server time.
Definition at line 150 of file pps-client.h.
Referenced by doTimeCheck().
char* timeCheckParams::strbuf |
Space for messages and query strings.
Definition at line 155 of file pps-client.h.
Referenced by doTimeCheck(), freeNISTThreads(), freeSerialThread(), saveGPSTime(), and saveTimestamps().
bool* timeCheckParams::threadIsBusy |
True while thread is waiting for or processing a time query.
Definition at line 157 of file pps-client.h.
Referenced by doTimeCheck().
pthread_t* timeCheckParams::tid |