PPS-Client
1.4.0
Client for synchronizing the system clock to a GPS PPS source
|
Struct for passing arguments to and from threads querying SNTP time servers or GPS receivers. More...
#include <pps-client.h>
Data Fields | |
pthread_t * | tid |
Thread id. More... | |
pthread_attr_t | attr |
Thread attribute object. More... | |
int | serverIndex |
Identifying index from the list of active SNTP servers. More... | |
int * | serverTimeDiff |
Time difference between local time and server time. More... | |
char ** | ntp_server |
The active SNTP server list when SNTP is used. More... | |
char * | serialPort |
The serial port filename when serial time is used. More... | |
char * | buf |
Space for the active SNTP 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 |
Return value of thread. More... | |
Struct for passing arguments to and from threads querying SNTP time servers or GPS receivers.
Definition at line 128 of file pps-client.h.
pthread_attr_t timeCheckParams::attr |
Thread attribute object.
Definition at line 130 of file pps-client.h.
char* timeCheckParams::buf |
Space for the active SNTP server list.
Definition at line 135 of file pps-client.h.
bool timeCheckParams::doReadSerial |
Flag to read serial messages from serial port.
Definition at line 136 of file pps-client.h.
char* timeCheckParams::logbuf |
Space for returned log messages.
Definition at line 138 of file pps-client.h.
char** timeCheckParams::ntp_server |
The active SNTP server list when SNTP is used.
Definition at line 133 of file pps-client.h.
int timeCheckParams::rv |
Return value of thread.
Definition at line 140 of file pps-client.h.
char* timeCheckParams::serialPort |
The serial port filename when serial time is used.
Definition at line 134 of file pps-client.h.
int timeCheckParams::serverIndex |
Identifying index from the list of active SNTP servers.
Definition at line 131 of file pps-client.h.
int* timeCheckParams::serverTimeDiff |
Time difference between local time and server time.
Definition at line 132 of file pps-client.h.
char* timeCheckParams::strbuf |
Space for messages and query strings.
Definition at line 137 of file pps-client.h.
bool* timeCheckParams::threadIsBusy |
True while thread is waiting for or processing a time query.
Definition at line 139 of file pps-client.h.
pthread_t* timeCheckParams::tid |
Thread id.
Definition at line 129 of file pps-client.h.