GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LCM / V1-5-0
Constituent: lcm_dump     Tag: mv2304
#include "stdio.h"
#include "string.h"
#include "time.h"
#include "ctype.h"
#include "PBI/Endianness.h"
#include "PBS/MBA.h"
#include "CCSDS/CCSDS_pkt.h"
#include "FBS/FBS_pubrtos.h"
#include "LCM/LCM_dump.h"
#include "LCM/LCM_cmddefs.h"
#include "LCM/LCM_tlmdefs.h"
#include "MSG/MSG_pubdefs.h"
#include "MSG/MSG_macdefs.h"
Include dependency graph for LCM_dump.c:
Defines | |
#define | ASCTIME(_tstruct, _str, _size) asctime_r((_tstruct), (_str), (_size)) |
Functions | |
static void | print_header (const char *str) |
static void | print_trailer (void) |
void | LCM_dumpModDumpCmd (const unsigned char *pkt) |
Display LLCMMODDUMP telecommand packet. | |
void | LCM_dumpTaskDumpCmd (const unsigned char *pkt) |
Display LLCMTASKDUMP telecommand packet. | |
void | LCM_dumpScrubRunCmd (const unsigned char *pkt) |
Display LLCMSCRUBRUN telecommand packet. | |
void | LCM_dumpScrubConfigCmd (const unsigned char *pkt) |
Display LLCMSCRUBCFG telecommand packet. | |
void | LCM_dumpErrorConfigCmd (const unsigned char *pkt) |
Display LLCMERRORCFG telecommand packet. | |
void | LCM_dumpMsgOutCmd (const unsigned char *pkt) |
Display LLCMMSGOUT telecommand packet. | |
void | LCM_dumpNoopCmd (const unsigned char *pkt) |
Display LLCMNOOP telecommand packet. | |
void | LCM_dumpModDumpTlm (const unsigned char *pkt) |
Display LLCMMODLIST telemetry packets. | |
void | LCM_dumpTaskDumpTlm (const unsigned char *pkt) |
Display LLCMTASKLIST telemetry packets. | |
void | LCM_dumpPciErrTlm (const unsigned char *pkt) |
Display LLCMPCIERR telemetry packets. | |
void | LCM_dumpMemErrTlm (const unsigned char *pkt) |
Display LLCMMEMERR telemetry packets. | |
void | LCM_dumpMsgOutCTDB (const unsigned char *pkt) |
Display LCMMSGOUTC telemetry packets. | |
Variables | |
static const char * | re = "======================================" |
static const char * | rm = "--------------------------------------" |
static const char * | unitStr [16] |
static const char * | levelStr [4] |
static const char * | classStr [4] |
static const char * | severityStrTelem [5] |
static const char * | severityStrCmd [5] |
static const char * | interStr [3] |
|
Portable call to asctime_r() function. |
|
Display LLCMERRORCFG telecommand packet. Display a LCM error handling configure telecommand packet (LLCMERRORCFG).
|
|
Display LLCMMEMERR telemetry packets. Display a LCM MEM error report telemetry packet.
|
|
Display LLCMMODDUMP telecommand packet. Display a LCM module dump CTDB telecommand packet (LLCMMODDUMP).
|
|
Display LLCMMODLIST telemetry packets. Display a LCM module info dump telemetry packet.
|
|
Display LLCMMSGOUT telecommand packet. Display a LCM MSG output configure telecommand packet (LLCMMSGOUT).
|
|
Display LCMMSGOUTC telemetry packets. Display a LCM MEM error report telemetry packet.
|
|
Display LLCMNOOP telecommand packet. Display a LCM no-op telecommand packet (LLCMNOOP).
|
|
Display LLCMPCIERR telemetry packets. Display a LCM PCI error report telemetry packet.
|
|
Display LLCMSCRUBCFG telecommand packet. Display a LCM scrub configure telecommand packet (LLCMSCRUBCFG).
|
|
Display LLCMSCRUBRUN telecommand packet. Display a LCM scrub run telecommand packet (LLCMSCRUBRUN).
|
|
Display LLCMTASKDUMP telecommand packet. Display a LCM task dump CTDB telecommand packet (LLCMTASKDUMP).
|
|
Display LLCMTASKLIST telemetry packets. Display a LCM task info dump telemetry packet.
|
|
Print display header.
|
|
Print display trailer. |
|
Initial value: { "UNDEF", "PCI", "MEM COR", "MEM UNCOR", } |
|
Initial value: { "UNDEF", "CTDB", "SSR", } |
|
Initial value: { "UNDEF", "COUNTED", "DIAGNOSTIC", "CRITICAL", } |
|
A seperator string. |
|
A seperator string. |
|
Initial value: { "SUCCESS", "INFORMATION", "WARNING", "ERROR", "DISABLE" } |
|
Initial value: { "SUCCESS", "WARNING", "INFORMATION", "ERROR", "DISABLE" } |
|
Initial value: { "SIU", "EPU0", "EPU1", "EPU2", "EPU3", "SDI", "SC", "BCAST", "UNKNOWN", "UNKNOWN", "UNKNOWN", "UNKNOWN", "UNKNOWN", "UNKNOWN", "UNKNOWN", "UNKNOWN", } |