PPS-Client  1.4.0
Client for synchronizing the system clock to a GPS PPS source
Data Fields
timeCheckParams Struct Reference

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

Detailed Description

Struct for passing arguments to and from threads querying SNTP time servers or GPS receivers.

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

Field Documentation

◆ attr

pthread_attr_t timeCheckParams::attr

Thread attribute object.

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

◆ buf

char* timeCheckParams::buf

Space for the active SNTP server list.

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

◆ doReadSerial

bool timeCheckParams::doReadSerial

Flag to read serial messages from serial port.

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

◆ logbuf

char* timeCheckParams::logbuf

Space for returned log messages.

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

◆ ntp_server

char** timeCheckParams::ntp_server

The active SNTP server list when SNTP is used.

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

◆ rv

int timeCheckParams::rv

Return value of thread.

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

◆ serialPort

char* timeCheckParams::serialPort

The serial port filename when serial time is used.

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

◆ serverIndex

int timeCheckParams::serverIndex

Identifying index from the list of active SNTP servers.

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

◆ serverTimeDiff

int* timeCheckParams::serverTimeDiff

Time difference between local time and server time.

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

◆ strbuf

char* timeCheckParams::strbuf

Space for messages and query strings.

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

◆ threadIsBusy

bool* timeCheckParams::threadIsBusy

True while thread is waiting for or processing a time query.

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

◆ tid

pthread_t* timeCheckParams::tid

Thread id.

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


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