GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> FILE / V3-11-1 > file_dump / rhel4-32
#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] |
void FILE_dumpUplCancel | ( | const unsigned char * | pkt | ) |
Display LFILUPLCANCEL telecommand packet.
Display a file upload cancel telecommand packet.
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.
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.
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.
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.
pkt | The telecommand packet. |
References print_header(), and print_trailer().
static void print_header | ( | const char * | str | ) | [static] |
Print display header.
str | A string to print with the header. |
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().
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", }
Referenced by FILE_dumpUplCancel(), FILE_dumpUplCommit(), and FILE_dumpUplEpu().