GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > CTDB / V5-2-2
Constituent: ctdb_rt_test_sim     Tag: mv2304
#include "stdio.h"
#include "stdlib.h"
#include "CTDB/CTDB_rt.h"
#include "CTDB/CO1553_util.h"
#include "CCSDS/CCSDS_pkt.h"
#include "CCSDS/CCSDS_dump.h"
#include "CCSDS/CCSDS_swap.h"
#include "PBS/PBS.h"
#include "PBS/TASK.h"
#include "PBS/TOC.h"
#include "PBS/TOV.h"
#include "PBS/MBA.h"
#include "MSG/MSG_pubdefs.h"
#include "MSG/MSG_printProc.h"
#include "CLI/CLI_pubdefs.h"
#include "ctdb_rt_test_private.h"
Include dependency graph for ctdb_rt_test_common.c:
Defines | |
#define | RT_CMD_RECV_PRI 150 |
#define | RT_CMD_RECV_NAME "uCmdRx" |
#define | MSG_PRI 210 |
#define | RT_APID_TELEM 0x260 |
#define | RT_APID_CMD_TX 0x600 |
#define | RT_FUNC_CMD_TX 0 |
Functions | |
void | rt_pkt_free (void *pkt, void *arg) |
void | rt_pkt_cmd_rx (void) |
int | rt_init (void *addr) |
int | rt_start (void) |
int | rt_stop (void) |
int | rt_exit (void) |
int | rt_diag (void) |
int | rt_clear (void) |
int | rt_pkt_telem (unsigned int size, int priority) |
int | rt_pkt_cmd_tx (unsigned int size) |
unsigned int | rt_pkt_telem_parse (CLI_Control *cli, rt_test_config *config) |
unsigned int | rt_pkt_cmd_tx_parse (CLI_Control *cli, rt_test_config *config) |
unsigned int | rt_start_parse (CLI_Control *cli, rt_test_config *config) |
unsigned int | rt_stop_parse (CLI_Control *cli, rt_test_config *config) |
unsigned int | exit_parse (CLI_Control *cli, rt_test_config *config) |
int | main (int argc, char **argv) |
Variables | |
rt_test_config | rtTestConfig |
const char * | dumpLine |
const char * | initMsg = "RT not initialized\n" |
|
The priority of the MSG output task. |
|
A fake CCSDS application ID to use for sent telecommand packets. |
|
A fake CCSDS application ID to use for sent telemetry packets. |
|
The name of the telecommand receive task (VxWorks only). |
|
The priority to run the telecommand receive task (VxWorks only). |
|
A fake function code to use for sent telecommand packets. |
|
CLI callback for "exit" command.
|
|
UNIX entry point for test application.
|
Here is the call graph for this function:
|
Resets remote terminal diagnostics.
|
Here is the call graph for this function:
|
Displays remote terminal diagnostics.
|
Here is the call graph for this function:
|
Stops the test application and releases resources.
|
Here is the call graph for this function:
|
Initializes the test application. The device specific initialization is handled in rt_init_dev().
|
Here is the call graph for this function:
|
Listens for and displays telecommand receive packets arriving at the remote terminal. |
Here is the call graph for this function:
|
Sends a test telecommand transmit packet from the remote terminal.
|
Here is the call graph for this function:
|
CLI callback for "rt_pkt_cmd_tx" command.
|
Here is the call graph for this function:
|
Packet release callback used by test application.
|
|
Sends a test telemetry packet from the remote terminal.
|
Here is the call graph for this function:
|
CLI callback for "rt_pkt_telem" command.
|
Here is the call graph for this function:
|
Starts the remote terminal and packet receive tasks.
|
Here is the call graph for this function:
|
CLI callback for "rt_start" command.
|
Here is the call graph for this function:
|
Stops the remote terminal and packet receive tasks.
|
Here is the call graph for this function:
|
CLI callback for "rt_stop" command.
|
Here is the call graph for this function:
|
Initial value:
"-------------------------------------------------------------------------------\n"
|
|
An error message. |
|
The global instance of the test application descriptor. |