#include <CubeMessages.h>
List of all members.
Member Enumeration Documentation
Constructor & Destructor Documentation
Member Function Documentation
{
#if BYTE_ORDER==LITTLE_ENDIAN
ByteOrder::swap(_timeMode.bytes);
#endif
}
References GpCoreTools::TcpServerStream::send().
Referenced by get().
{
char buf[64];
switch(value) {
case 0:
snprintf(buf, 64, "no GPS connected, clock drift and no absolute timing (value=0)\n");
break;
case 1:
snprintf(buf, 64, "PPS connected, no clock drift and no absolute timing (value=1)\n");
break;
case 2:
snprintf(buf, 64, "PPS+NMEA connected, no clock drift and absolute timing (value=2)\n");
break;
default:
Log::write(0, "[ERROR] bad time mode: %i\n", value);
return;
}
tcpServer->send(buf, strlen(buf));
}
Member Data Documentation
The documentation for this class was generated from the following files: