GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> QSD / dev > qsdccsds / rhel5-64
#include <QSD/CCSDS_telemetryPrint.h>
#include <QSD/CCSDS_telemetry.h>
#include <stdio.h>
#include <time.h>
#include <sys/time.h>
Defines | |
#define | SA_UTB_OFFSET 0x3a4fc880 |
Functions | |
void | CCSDS_telemetryPrintTitle (void) |
Prints the telemetry title line. Generally this is printed once, then followed by a series of packet header information lines. | |
static void | print_header (const CCSDS_telemetry *packet) |
static void | print_time (const CCSDS_telemetry *packet) |
void | CCSDS_telemetryPrint (const CCSDS_telemetry *packet, unsigned int options) |
Used to print the information about a CCSDS packet. | |
void | CCSDS_telemetryPrintStatus (const CCSDS_telemetry *packet, unsigned int status) |
Reports on the verification status. |
CVS $Id: CCSDS_telemetryPrint.c,v 1.3 2011/03/26 21:06:58 russell Exp $
void CCSDS_telemetryPrint | ( | const CCSDS_telemetry * | packet, | |
unsigned int | options | |||
) |
Used to print the information about a CCSDS packet.
packet | The CCSDS packet. | |
options | Print options presented as the OR of the values found in CCSDS_TELEMETRY_PRINT_OPTS_M |
This will produce a series of columns, this the TITLE line providing the name of the information in each column.
References CCSDS_TELEMETRY_PRINT_OPTS_M_HEADER, CCSDS_TELEMETRY_PRINT_OPTS_M_TIME, CCSDS_TELEMETRY_PRINT_OPTS_M_TITLE, and CCSDS_telemetryPrintTitle().
Referenced by CCSDS_istreamHdrPrint(), and CCSDS_istreamPktCheck().
void CCSDS_telemetryPrintStatus | ( | const CCSDS_telemetry * | packet, | |
unsigned int | status | |||
) |
Reports on the verification status.
packet | The telemetry packet | |
status | The verification status |
References CCSDS__telemetrySecondaryFlag(), CCSDS__telemetryType(), CCSDS__telemetryVersion(), CCSDS_HEADER_TYPE_K_TELEMETRY, CCSDS_TELEMETRY_VERSION_K_EXPECTED, CCSDS_VERIFY_ERR_M_SECONDARY, CCSDS_VERIFY_ERR_M_TYPE, and CCSDS_VERIFY_ERR_M_VERSION.
void CCSDS_telemetryPrintTitle | ( | void | ) |
Prints the telemetry title line. Generally this is printed once, then followed by a series of packet header information lines.
This routine is what is called when CCSDS_telemetryPrint is called with the CCSDS_TELEMETRY_PRINT_OPTS_M_TITLE option selected. It is broken out for convenience.
Referenced by CCSDS_telemetryPrint().