fdhwlib
2.0.25
|
#include <gps167.h>
The class defines the interface of the Meinberg gps clock GPS167.
Gps167::Gps167 | ( | ) |
Gps167::~Gps167 | ( | ) |
char* Gps167::getCaptureMsg | ( | int | ch, |
struct captureTimeStamp * | ts | ||
) |
Convert oncore time stamp to Meinberg capture messages.
ch | Channel number (0, 1) |
ts | Timestamp structure used by the gpsserver |
int Gps167::getCaptureTimestamp | ( | char * | msg, |
int * | ch, | ||
unsigned int * | sec, | ||
unsigned int * | nanoSec | ||
) |
Decode the capture message.
msg | Meinberg capture message |
ch | Channel number (0, 1) |
sec | Second counter UTC format |
nanoSec | Nano second counter |
char Gps167::captureMsg[] [static, private] |