GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > CCSDS / V3-5-1
Constituent: ccsds_pkt_test     Tag: linux-gcc
#include "stdio.h"
#include "stdlib.h"
#include "string.h"
#include "CCSDS/CCSDS_pkt.h"
#include "CCSDS/CCSDS_dump.h"
#include "CCSDS/ccsds_pkt_test.h"
#include "CLI/CLI_pubdefs.h"
#include "MSG/MSG_pubdefs.h"
#include "MSG/MSG_printProc.h"
#include "PBS/TASK.h"
Include dependency graph for ccsds_pkt_test.c:
Data Structures | |
struct | _Pkt_Test_Config |
Typedefs | |
typedef enum _Pkt_Test_State | Pkt_Test_State |
typedef _Pkt_Test_Config | Pkt_Test_Config |
Enumerations | |
enum | _Pkt_Test_State { PKT_TEST_STATE_EMPTY, PKT_TEST_STATE_CREATED } |
Functions | |
unsigned int | pt_create (CLI_Control *control, Pkt_Test_Config *config) |
unsigned int | pt_set (CLI_Control *control, Pkt_Test_Config *config) |
unsigned int | pt_get (CLI_Control *control, Pkt_Test_Config *config) |
unsigned int | pt_dump (CLI_Control *control, Pkt_Test_Config *config) |
unsigned int | pt_help (CLI_Control *control, Pkt_Test_Config *config) |
unsigned int | pt_exit (CLI_Control *control, Pkt_Test_Config *config) |
void | pt_print (Pkt_Test_Config *config) |
int | main (int argc, char **argv) |
Variables | |
Pkt_Test_Config | ptconfig |
|
The typedef for _Pkt_Test_Config. |
|
The typedef for _Pkt_Test_State. |
|
Defines the state of the test application. |
|
The application entry point.
|
Here is the call graph for this function:
|
Creates a new packet in response to the "create" command.
|
Here is the call graph for this function:
|
Displays the contents of the entiere packet header.
|
Here is the call graph for this function:
|
Quits the application in reponse to the "exit" command.
|
|
Retrieves a value from the test packet in response to the "get" command.
|
Here is the call graph for this function:
|
Prints a summary of the command syntax in response to the "help" command.
|
|
Displays the hex dump of the test packet contents.
|
Here is the call graph for this function:
|
Sets a value in the test packet in response to the "set" command.
|
Here is the call graph for this function:
|
The test application global configuration info. |