GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > PBC / V4-11-0
Constituent: pbc_scp     Tag: linux-gcc
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "MSG/MSG_pubdefs.h"
#include "CCSDS/CCSDS_pkt.h"
#include "CCSDS/CCSDS_swap.h"
#include "ITC/ITC_dump.h"
#include "ITC/ITC_pubdefs.h"
#include "PBC/PBC_dump.h"
#include "PBC/PBC_msgs.h"
#include "PBC/PBC_scpside.h"
#include "PBC/PBC_tlmdefs.h"
#include "PBS/BSWP.h"
#include "PBS/MBA.h"
#include "PBS/SPIN.h"
#include "BootDiagnostics.h"
#include "CLI/CLI_pubdefs.h"
Include dependency graph for PBC_scpside.c:
Typedefs | |
typedef void(* | PBC_DumpCB )(char *pkt) |
PBC command dump callback pointer. | |
Functions | |
int | PBC_setDisplayLevelCmd (int level) |
Set the verbosity level of the PBC command display. | |
int | PBC_setDisplayLevelTlm (int level) |
Set the verbosity level of the PBC telemetry display. | |
unsigned int | PBC_dispatchTlm (void *prm, unsigned char *pkt) |
Dispatch routine for arriving boot housekeeping telemetry. | |
static void | pbc_free_cb (ITC_QueueItem *qitem_p, unsigned int status, void *parm_0, void *parm_1, void *parm_2, unsigned int tx) |
ITC callback to free command packet memory. | |
static unsigned int | pbc_send_command (unsigned int num_parms, unsigned int *parm_bytes, unsigned int *parm_values, unsigned int func_code, PBC_DumpCB dump_func_p) |
Send a PBC command. | |
unsigned int | PBC_sendBoot (unsigned short unit, unsigned short rtos, unsigned short ssb0, unsigned short ssb1) |
Send the Boot RTOS Execute command. | |
unsigned int | PBC_sendErrDump (unsigned short unit) |
Send the Boot Error Dump command. | |
unsigned int | PBC_sendReset (unsigned short unit, unsigned int flags) |
Send the Boot Reset command. | |
unsigned int | PBC_sendStart (unsigned short unit) |
Send the Boot Start command. | |
static unsigned int | PBC_sendBoot_cli (CLI_Control *cli, void *prm) |
CLI callback for the "PBC_sendBoot" command. | |
static unsigned int | PBC_sendErrDump_cli (CLI_Control *cli, void *prm) |
CLI callback for the "PBC_sendErrDump" command. | |
static unsigned int | PBC_sendReset_cli (CLI_Control *cli, void *prm) |
CLI callback for the "PBC_sendReset" command. | |
static unsigned int | PBC_sendStart_cli (CLI_Control *cli, void *prm) |
CLI callback for the "PBC_sendStart" command. | |
static unsigned int | PBC_setDisplayLevelCmd_cli (CLI_Control *cli, void *prm) |
CLI callback for the "PBC_setDisplayLevelCmd" command. | |
static unsigned int | PBC_setDisplayLevelTlm_cli (CLI_Control *cli, void *prm) |
CLI callback for the "PBC_setDisplayLevelTlm" command. | |
static unsigned int | PBC_setDumpDisplayLimit_cli (CLI_Control *cli, void *prm) |
CLI callback for the "PBC_setDumpDisplayLimit" command. | |
unsigned int | PBC_addSyntaxSCP (CLI_Syntax *syntax) |
Add PBC commands to the command-line syntax. | |
Variables | |
int | PBC_displayLevelCmd = 1 |
The verbosity level of the PBC command display. | |
int | PBC_displayLevelTlm = 4 |
The verbosity level of the PBC telemetry display. |
CVS $Id: PBC_scpside.c,v 1.15 2005/08/12 16:44:01 dmay Exp $
Send PBC commands and handle boot housekeeping telemetry.
|
Add PBC commands to the command-line syntax.
|
|
Dispatch routine for arriving boot housekeeping telemetry.
|
|
ITC callback to free command packet memory.
|
|
Send a PBC command.
|
|
Send the Boot RTOS Execute command.
|
|
CLI callback for the "PBC_sendBoot" command.
|
|
Send the Boot Error Dump command.
|
|
CLI callback for the "PBC_sendErrDump" command.
|
|
Send the Boot Reset command.
|
|
CLI callback for the "PBC_sendReset" command.
|
|
Send the Boot Start command.
|
|
CLI callback for the "PBC_sendStart" command.
|
|
Set the verbosity level of the PBC command display.
|
|
CLI callback for the "PBC_setDisplayLevelCmd" command.
|
|
Set the verbosity level of the PBC telemetry display.
|
|
CLI callback for the "PBC_setDisplayLevelTlm" command.
|
|
CLI callback for the "PBC_setDumpDisplayLimit" command.
|
|
The verbosity level of the PBC command display. This variable determines the amount of information that is displayed for each boot command that is sent. The higher the value, the more information that is displayed. Use PBC_setDisplayLevelCmd() to change this value. |
|
The verbosity level of the PBC telemetry display. This variable determines the amount of information that is displayed for each boot housekeeping telemetry packet that is received. The higher the value, the more information that is displayed. Use PBC_setDisplayLevelTlm() to change this value. |