PPS-Client  2.0.0
Client for synchronizing the system clock to a GPS PPS source
Public Attributes | List of all members
timeCheckParams Struct Reference

#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
 

Detailed Description

Definition at line 146 of file pps-client.h.

Member Data Documentation

◆ attr

pthread_attr_t timeCheckParams::attr

Thread attribute object.

Definition at line 148 of file pps-client.h.

Referenced by freeNISTThreads(), freeSerialThread(), and waitForPPS().

◆ buf

char* timeCheckParams::buf

Space for the active NIST server list.

Definition at line 153 of file pps-client.h.

Referenced by freeNISTThreads().

◆ doReadSerial

bool timeCheckParams::doReadSerial

Flag to read serial messages from serial port.

Definition at line 154 of file pps-client.h.

◆ gmtTime_file

char* timeCheckParams::gmtTime_file

Definition at line 160 of file pps-client.h.

Referenced by saveTimestamps().

◆ logbuf

char* timeCheckParams::logbuf

Space for returned log messages.

Definition at line 156 of file pps-client.h.

Referenced by doTimeCheck(), and freeNISTThreads().

◆ nistTime_file

char* timeCheckParams::nistTime_file

Definition at line 161 of file pps-client.h.

Referenced by doTimeCheck().

◆ ntp_server

char** timeCheckParams::ntp_server

The active NIST server list when NIST is used.

Definition at line 151 of file pps-client.h.

◆ rv

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.

◆ serialPort

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().

◆ serverIndex

int timeCheckParams::serverIndex

Identifying index from the list of active NIST servers.

Definition at line 149 of file pps-client.h.

Referenced by doTimeCheck().

◆ serverTimeDiff

int* timeCheckParams::serverTimeDiff

Time difference between local time and server time.

Definition at line 150 of file pps-client.h.

Referenced by doTimeCheck().

◆ strbuf

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().

◆ threadIsBusy

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().

◆ tid

pthread_t* timeCheckParams::tid

Thread id.

Definition at line 147 of file pps-client.h.

Referenced by waitForPPS().


The documentation for this struct was generated from the following file: