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

Constituent: itc_lcp     Tag: sun-gcc


Interface   Data Structures   File List   Data Fields   Globals  

ITC_lcpside.c File Reference

Some useful ITC commands (LCP side). More...

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

Include dependency graph for ITC_lcpside.c:

Include dependency graph

Functions

unsigned int ITC_dumpCounts (ITC_TaskID tid)
 Dump ITC command counts for task tid.

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

unsigned int ITC_sendTelemetry (unsigned int apid, unsigned int prio, unsigned int size)
 Send a pattern telemetry packet to the spacecraft.

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

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

unsigned int ITC_sendTelemetry_cli (CLI_Control *cli, void *prm)
 Handle the verb/call ITC_sendTelemetry.

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

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


Variables

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


Detailed Description

Some useful ITC commands (LCP side).

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

Function Documentation

unsigned int ITC_addSyntaxLCP 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_dumpCounts ITC_TaskID  tid  ) 
 

Dump ITC command counts for task tid.

Parameters:
tid (in) Task ID
Return values:
ITC_SUCCESS Always

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

CLI callback for "ITC_dumpCounts" 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_sendTelemetry unsigned int  apid,
unsigned int  prio,
unsigned int  size
 

Send a pattern telemetry packet to the spacecraft.

Parameters:
apid APID
prio Priority (zero/not-zero low/high)
size Size of packet to send
Return values:
ITC_GENERROR Failure
ITC_SUCCESS Success

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

Handle the verb/call ITC_sendTelemetry.

Parameters:
cli Opaque control pointer
prm User context parameter (unused)
Return values:
CLI_SUCCESS 

Here is the call graph for this function:

unsigned int ITC_setCmdConfirm_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


Generated on Thu Mar 3 20:48:24 2005 by doxygen 1.3.3