GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> FILE / V3-11-1 > file_dump / rhel6-64


Interface   Data Structures   File List   Data Fields   Globals  

FILE_dump.c File Reference

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

#include <stdio.h>
#include <PBI/Endianness.h>
#include <PBS/MBA.h>
#include <CCSDS/CCSDS_pkt.h>
#include <FBS/FBS_pubrtos.h>
#include <FILE/FILE_dump.h>
#include <FILE/FILE_cmddefs.h>
#include <FILE/FILE_upl_cmd.h>

Functions

static void print_header (const char *str)
static void print_trailer (void)
void FILE_dumpUplStart (const unsigned char *pkt)
 Display LFILUPLSTART telecommand packet.
void FILE_dumpUplData (const unsigned char *pkt)
 Display LFILUPLDATA telecommand packet.
void FILE_dumpUplCommit (const unsigned char *pkt)
 Display LFILUPLCOMMIT telecommand packet.
void FILE_dumpUplEpu (const unsigned char *pkt)
 Display LFILUPLEPU telecommand packet.
void FILE_dumpUplCancel (const unsigned char *pkt)
 Display LFILUPLCANCEL telecommand packet.

Variables

static const char * re = "======================================"
static const char * rm = "--------------------------------------"
static const char * unitStr [16]


Detailed Description

FILE command and telemetry display function definitions.

Author:
D.L.Wood

Function Documentation

void FILE_dumpUplCancel ( const unsigned char *  pkt  ) 

Display LFILUPLCANCEL telecommand packet.

Display a file upload cancel telecommand packet.

Parameters:
pkt The telecommand packet.

References print_header(), print_trailer(), and unitStr.

void FILE_dumpUplCommit ( const unsigned char *  pkt  ) 

Display LFILUPLCOMMIT telecommand packet.

Display a file upload commit telecommand packet.

Parameters:
pkt The telecommand packet.

References LFILEUPCOMMIT_FILEFLAGS_VO, print_header(), print_trailer(), and unitStr.

void FILE_dumpUplData ( const unsigned char *  pkt  ) 

Display LFILUPLDATA telecommand packet.

Display a file upload data telecommand packet.

Parameters:
pkt The telecommand packet.

References print_header(), and print_trailer().

void FILE_dumpUplEpu ( const unsigned char *  pkt  ) 

Display LFILUPLEPU telecommand packet.

Display a file upload EPU telecommand packet.

Parameters:
pkt The telecommand packet.

References print_header(), print_trailer(), and unitStr.

void FILE_dumpUplStart ( const unsigned char *  pkt  ) 

Display LFILUPLSTART telecommand packet.

Display a upload start telecommand packet.

Parameters:
pkt The telecommand packet.

References print_header(), and print_trailer().

static void print_header ( const char *  str  )  [static]

Print display header.

Parameters:
str A string to print with the header.

References re, and rm.

Referenced by FILE_dumpUplCancel(), FILE_dumpUplCommit(), FILE_dumpUplData(), FILE_dumpUplEpu(), and FILE_dumpUplStart().

static void print_trailer ( void   )  [static]

Print display trailer.

References re.

Referenced by FILE_dumpUplCancel(), FILE_dumpUplCommit(), FILE_dumpUplData(), FILE_dumpUplEpu(), and FILE_dumpUplStart().


Variable Documentation

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

A seperator string.

Referenced by print_header(), and print_trailer().

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

A seperator string.

Referenced by print_header().

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.

Referenced by FILE_dumpUplCancel(), FILE_dumpUplCommit(), and FILE_dumpUplEpu().


Generated on Tue Nov 29 16:55:40 2011 by  doxygen 1.5.8