GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LCM / V1-6-2

Constituent: lcm_epu     Tag: linux-gcc


Interface   Data Structures   File List   Data Fields   Globals  

LCM_cmd_common.c File Reference

LCM common telecommand handlers. More...

#include <string.h>
#include "CCSDS/CCSDS_pkt.h"
#include "ITC/ITC_msgs.h"
#include "ITC/ITC_pubdefs.h"
#include "LCM/LCM_msgs.h"
#include "LCM/LCM_tlmdefs.h"
#include "LCM_prvdefs.h"
#include "SMON.h"

Include dependency graph for LCM_cmd_common.c:


Functions

unsigned int LCM_CmdResponse_common (void *prm, const struct _ITC_QueueItem *qitem, void *pay, unsigned int len)
 Callback function for the CmdResponse command.
unsigned int LCM_MsgResponse_common (void *prm, const struct _ITC_QueueItem *qitem, void *pay, unsigned int len)
 Callback function for the MsgLevel command.
unsigned int LCM_MsgOutCfg_common (void *prm, const struct _ITC_QueueItem *qitem, void *pay, unsigned int len)
 Callback function for the LLCMMSGOUT command.
unsigned int LCM_Stats_common (void *prm, const struct _ITC_QueueItem *qitem, void *pay, unsigned int len)
 Callback function for the SETSMON command.
unsigned int LCM_Noop_common (void *prm, const struct _ITC_QueueItem *qitem, void *pay, unsigned int len)
 Callback function for the LCMNOOP command.

Detailed Description

LCM common telecommand handlers.

CVS $Id: LCM_cmd_common.c,v 1.12 2008/10/30 01:12:45 apw Exp $
Author:
D.Wood

D.May

A.P.Waite


Function Documentation

unsigned int LCM_CmdResponse_common void *  prm,
const struct _ITC_QueueItem qitem,
void *  pay,
unsigned int  len
 

Callback function for the CmdResponse command.

Parameters:
prm (in) User context parameter
qitem (in) Queue item
pay (in) Payload pointer
len (in) Payload length
Return values:
ITC_SUCCESS S Success
ITC_TASKMISS E No entry in task table for task
ITC_TASKPTR E Task pointer check failed
ITC_VARRNG E Out of range variable detected

unsigned int LCM_MsgOutCfg_common void *  prm,
const struct _ITC_QueueItem qitem,
void *  pay,
unsigned int  len
 

Callback function for the LLCMMSGOUT command.

Parameters:
prm (in) User context parameter
qitem (in) Queue item
pay (in) Payload pointer
len (in) Payload length
Returns:

unsigned int LCM_MsgResponse_common void *  prm,
const struct _ITC_QueueItem qitem,
void *  pay,
unsigned int  len
 

Callback function for the MsgLevel command.

Parameters:
prm (in) User context parameter
qitem (in) Queue item
pay (in) Payload pointer
len (in) Payload length
Return values:
ITC_SUCCESS S Success
ITC_TASKMISS E No entry in task table for task
ITC_TASKPTR E Task pointer check failed
ITC_VARRNG E Out of range variable detected

unsigned int LCM_Noop_common void *  prm,
const struct _ITC_QueueItem qitem,
void *  pay,
unsigned int  len
 

Callback function for the LCMNOOP command.

Parameters:
prm (in) User context parameter
qitem (in) Queue item
pay (in) Payload pointer
len (in) Payload length
Returns:

unsigned int LCM_Stats_common void *  prm,
const struct _ITC_QueueItem qitem,
void *  pay,
unsigned int  len
 

Callback function for the SETSMON command.

Parameters:
prm (in) User context parameter
qitem (in) Queue item
pay (in) Payload pointer
len (in) Payload length
Returns:


Generated on Fri Nov 21 01:09:43 2008 by  doxygen 1.4.4