GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LCM / V1-4-3

Constituent: lcm_dump     Tag: sun-gcc


Interface   Data Structures   File List   Data Fields   Globals  

LCM_dump.c File Reference

LCM command and telemetry display function definitions. More...

#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]

Detailed Description

LCM command and telemetry display function definitions.

Author:
D.L.Wood

Define Documentation

#define ASCTIME _tstruct,
_str,
_size   )     asctime_r((_tstruct), (_str), (_size))
 

Portable call to asctime_r() function.


Function Documentation

void LCM_dumpErrorConfigCmd const unsigned char *  pkt  ) 
 

Display LLCMERRORCFG telecommand packet.

Display a LCM error handling configure telecommand packet (LLCMERRORCFG).

Parameters:
pkt The telecommand packet.

void LCM_dumpMemErrTlm const unsigned char *  pkt  ) 
 

Display LLCMMEMERR telemetry packets.

Display a LCM MEM error report telemetry packet.

Parameters:
pkt The telemetry packet.

void LCM_dumpModDumpCmd const unsigned char *  pkt  ) 
 

Display LLCMMODDUMP telecommand packet.

Display a LCM module dump CTDB telecommand packet (LLCMMODDUMP).

Parameters:
pkt The telecommand packet.

void LCM_dumpModDumpTlm const unsigned char *  pkt  ) 
 

Display LLCMMODLIST telemetry packets.

Display a LCM module info dump telemetry packet.

Parameters:
pkt The telemetry packet.

void LCM_dumpMsgOutCmd const unsigned char *  pkt  ) 
 

Display LLCMMSGOUT telecommand packet.

Display a LCM MSG output configure telecommand packet (LLCMMSGOUT).

Parameters:
pkt The telecommand packet.

void LCM_dumpMsgOutCTDB const unsigned char *  pkt  ) 
 

Display LCMMSGOUTC telemetry packets.

Display a LCM MEM error report telemetry packet.

Parameters:
pkt The telemetry packet.

void LCM_dumpNoopCmd const unsigned char *  pkt  ) 
 

Display LLCMNOOP telecommand packet.

Display a LCM no-op telecommand packet (LLCMNOOP).

Parameters:
pkt The telecommand packet.

void LCM_dumpPciErrTlm const unsigned char *  pkt  ) 
 

Display LLCMPCIERR telemetry packets.

Display a LCM PCI error report telemetry packet.

Parameters:
pkt The telemetry packet.

void LCM_dumpScrubConfigCmd const unsigned char *  pkt  ) 
 

Display LLCMSCRUBCFG telecommand packet.

Display a LCM scrub configure telecommand packet (LLCMSCRUBCFG).

Parameters:
pkt The telecommand packet.

void LCM_dumpScrubRunCmd const unsigned char *  pkt  ) 
 

Display LLCMSCRUBRUN telecommand packet.

Display a LCM scrub run telecommand packet (LLCMSCRUBRUN).

Parameters:
pkt The telecommand packet.

void LCM_dumpTaskDumpCmd const unsigned char *  pkt  ) 
 

Display LLCMTASKDUMP telecommand packet.

Display a LCM task dump CTDB telecommand packet (LLCMTASKDUMP).

Parameters:
pkt The telecommand packet.

void LCM_dumpTaskDumpTlm const unsigned char *  pkt  ) 
 

Display LLCMTASKLIST telemetry packets.

Display a LCM task info dump telemetry packet.

Parameters:
pkt The telemetry packet.

static void print_header const char *  str  )  [static]
 

Print display header.

Parameters:
str A string to print with the header.

static void print_trailer void   )  [static]
 

Print display trailer.


Variable Documentation

classStr [static]
 

Initial value:

 
{
        "UNDEF",
        "PCI",
        "MEM COR",
        "MEM UNCOR",
}
Name table of RAD750 error classes.

interStr [static]
 

Initial value:

 
{
        "UNDEF",
        "CTDB",
        "SSR",
}
Name table of MSG output interfaces.

levelStr [static]
 

Initial value:

 
{
        "UNDEF",
        "COUNTED",
        "DIAGNOSTIC",
        "CRITICAL",
}
Name table of RAD750 error levels.

const char* re = "======================================" [static]
 

A seperator string.

const char* rm = "--------------------------------------" [static]
 

A seperator string.

severityStrCmd [static]
 

Initial value:

{
        "SUCCESS",
        "INFORMATION",
        "WARNING",
        "ERROR",
        "DISABLE"
}
Name table of MSG severity levels as seen in telecommands.

severityStrTelem [static]
 

Initial value:

{
        "SUCCESS",
        "WARNING",
        "INFORMATION",
        "ERROR",
        "DISABLE"
}
Name table of MSG severity levels as seen in telemetry.

unitStr [static]
 

Initial value:

 
{
        "SIU",
        "EPU0",
        "EPU1",
        "EPU2",
        "EPU3",
        "SDI",
        "SC",
        "BCAST",
        "UNKNOWN",
        "UNKNOWN",
        "UNKNOWN",
        "UNKNOWN",
        "UNKNOWN",
        "UNKNOWN",
        "UNKNOWN",
        "UNKNOWN",
}
Name table of LAT unit node designations.


Generated on Sun Nov 4 01:27:27 2007 by  doxygen 1.4.4