GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > ITC / V3-7-0
Constituent: itc     Tag: rad750
#include <string.h>
#include "PBI/TBD_id.h"
#include "PBS/MBA.h"
#include "PBS/RNG.h"
#include "PBS/RW.ih"
#include "PBS/TBD.ih"
#include "PBS/WCT.h"
#include "MSG/MSG_pubdefs.h"
#include "CCSDS/CCSDS_pkt.h"
#include "ITC/ITC_msgs.h"
#include "ITC/ITC_pubdefs.h"
#include "ITC/ITC_tlmdefs.h"
#include "ITC_prvdefs.h"
Include dependency graph for ITC_confirm.c:
Functions | |
unsigned int | ITC_attachCmdConfirm (ITC_Task *task, ITC_cb_Memory *rtn, void *prm) |
Attach a command confirmation memory allocator to a task. | |
void | ITC_copyCmdConfirm (ITC_Task *task, const char *cmd, WCT_time tim) |
Make a copy of a spacecraft command. | |
unsigned int | ITC_detachCmdConfirm (ITC_Task *task) |
Detach a command confirmation memory allocator from a task. | |
unsigned int | ITC_reportConfiguration (ITC_Configuration *cfg) |
Generate a configuration report. | |
void | ITC_sendCmdConfirm (ITC_Task *task, const char *cmd, unsigned int scb, WCT_time dtim, WCT_time xtim, unsigned int status) |
Send a telecommand execution status reponse. | |
unsigned int | ITC_setCmdConfirm (ITC_TaskID tid, ITC_CmdClass scb, ITC_CmdAction fwd, ITC_CmdLevel new, ITC_CmdLevel *old) |
Set the command confirmation level for a task. | |
unsigned int | ITC_setMsgResponse (ITC_TaskID tid, MSG_Level new) |
Set the message response level of a task. |
CVS $Id: ITC_confirm.c,v 1.8 2007/04/06 22:59:08 apw Exp $
|
Attach a command confirmation memory allocator to a task.
Any (ITC compliant) memory manager will do, but this memory manager application has the characteristics of "single write/single reader" with all deallocations being done in the exact order of allocations. In other words it's tailor made for a ring buffer. If a ring buffer is used (better yet, a managed ring buffer as provided in the IMM package), a buffer size of 1 kByte with a 256 byte overflow area should suffice (most command confirmations are of order 110-120 bytes (minimum 98, maximum 150), so this is sufficient buffering to hold ~8 command confirmations. |
|
Make a copy of a spacecraft command.
|
|
Detach a command confirmation memory allocator from a task.
|
|
Generate a configuration report.
|
|
Send a telecommand execution status reponse.
|
|
Set the command confirmation level for a task.
scb ). The second element of the matrix is whether the task is acting as a forwarding agent (parameter fwd ). Thus the call ITC_setCmdReponse( tid, ITC_CMD_NORMAL, ITC_ACT_FORWARD, ITC_LVL_ERROR, &old ); would mean "for task tid , set the command confirmation level to ITC_LVL_ERROR when forwarding non-broadcast spacecraft commands". |
|
Set the message response level of a task.
|