GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > ITC / V2-1-7

Constituent: itc_scp     Tag: linux-gcc


Interface   Data Structures   File List   Data Fields   Globals  

ITC_scpside.c File Reference

SCP side of ITC commanding. More...

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "PBI/Endianness.h"
#include "PBS/TOC.h"
#include "MSG/MSG_pubdefs.h"
#include "CCSDS/CCSDS_pkt.h"
#include "ITC/ITC_cmddefs.h"
#include "ITC/ITC_cmdxtrn.h"
#include "ITC/ITC_dump.h"
#include "ITC/ITC_pubdefs.h"
#include "ITC/ITC_scpside.h"
#include "ITC/ITC_msgs.h"
#include "CLI/CLI_pubdefs.h"

Include dependency graph for ITC_scpside.c:

Include dependency graph

Functions

unsigned int ITC_sendCommand (unsigned int apid, unsigned int func, unsigned int size)
 Send a pattern telecommand packet to the spacecraft.

unsigned int ITC_sendCmdResponse (unsigned int nid, unsigned int tid, unsigned int scb, unsigned int fwd, unsigned int new)
 Send a request to change spacecraft command response parameters.

unsigned int ITC_sendMsgResponse (unsigned int nid, unsigned int tid, unsigned int new)
 Send a request to change a task's messaging level.

unsigned int ITC_sendCommand_cli (CLI_Control *cli, void *prm)
 CLI callback for "ITC_sendCommand" command.

unsigned int ITC_sendCmdResponse_cli (CLI_Control *cli, void *prm)
 CLI callback for "ITC_setCmdConfirm" command.

unsigned int ITC_sendMsgResponse_cli (CLI_Control *cli, void *prm)
 CLI callback for "ITC_setCmdConfirm" command.

unsigned int ITC_addSyntaxSCP (CLI_Syntax *syntax)
 Contribute the ITC section to the command line syntax.


Variables

const char * d_0 = "$0"
 The string "$0".


Detailed Description

SCP side of ITC commanding.

CVS $Id: ITC_scpside.c,v 1.2 2005/01/07 05:05:43 apw Exp $
Author:
A.P.Waite

Function Documentation

unsigned int ITC_addSyntaxSCP CLI_Syntax *  syntax  ) 
 

Contribute the ITC section to the command line syntax.

Parameters:
syntax Syntax handle
Returns:
CLI_SUCCESS

Here is the call graph for this function:

unsigned int ITC_sendCmdResponse unsigned int  nid,
unsigned int  tid,
unsigned int  scb,
unsigned int  fwd,
unsigned int  new
 

Send a request to change spacecraft command response parameters.

Parameters:
nid ITC node ID
tid ITC task ID
scb Command class ( normal/broadcast : 0/1)
fwd Task action (execute/forward : 0/1)
new New response level (all/error/none : 0/1/2)
Return values:
ITC_GENERROR Failure
ITC_SUCCESS Success

unsigned int ITC_sendCmdResponse_cli CLI_Control *  cli,
void *  prm
[static]
 

CLI callback for "ITC_setCmdConfirm" command.

Parameters:
cli (in) CLI control handle
prm (in) User parameter (unused)
Returns:
CLI_SUCCESS

Here is the call graph for this function:

unsigned int ITC_sendCommand unsigned int  apid,
unsigned int  func,
unsigned int  size
 

Send a pattern telecommand packet to the spacecraft.

Parameters:
apid APID
func Function code
size Size of packet to send (even number of bytes)
Return values:
ITC_GENERROR Failure
ITC_SUCCESS Success

unsigned int ITC_sendCommand_cli CLI_Control *  cli,
void *  prm
[static]
 

CLI callback for "ITC_sendCommand" command.

Parameters:
cli CLI control handle
prm User parameter (unused)
Returns:
CLI_SUCCESS

Here is the call graph for this function:

unsigned int ITC_sendMsgResponse unsigned int  nid,
unsigned int  tid,
unsigned int  new
 

Send a request to change a task's messaging level.

Parameters:
nid ITC node ID
tid ITC task ID
new New messaging level (success/information/warning/error " : 0..3)
Return values:
ITC_GENERROR Failure
ITC_SUCCESS Success

unsigned int ITC_sendMsgResponse_cli CLI_Control *  cli,
void *  prm
[static]
 

CLI callback for "ITC_setCmdConfirm" command.

Parameters:
cli (in) CLI control handle
prm (in) User parameter (unused)
Returns:
CLI_SUCCESS

Here is the call graph for this function:


Generated on Thu Mar 3 20:36:43 2005 by doxygen 1.3.3