GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LCM / dev > lcm_siu / rhel5-32


Interface   Data Structures   File List   Data Fields   Globals  

LCM_cmd.c.ux-xxx-xxx File Reference

LCM command functions (host systems). More...

#include <string.h>
#include <CCSDS/CCSDS_pkt.h>
#include <CMX/CMX_asBuiltPub.h>
#include <ITC/ITC_msgs.h>
#include <ITC/ITC_pubdefs.h>
#include <LCM/LCM_cmddefs.h>
#include <LCM/LCM_cmdxtrn.h>
#include <LCM/LCM_msgs.h>
#include <LCM/LCM_tlmdefs.h>
#include <MSG/MSG_pubdefs.h>
#include <PBI/Endianness.h>
#include <PBI/TBD_id.h>
#include <PBS/MBA.h>
#include <PBS/RW.h>
#include <PBS/RW.ih>
#include <PBS/SEM.h>
#include <PBS/TBD.ih>
#include <PBS/WCT.h>
#include <LCM_prvdefs.h>

Functions

unsigned int LCM_CmdResponse (void *prm, const struct _ITC_QueueItem *qitem, void *pay, unsigned int len)
 Callback function for the CmdResponse command.
unsigned int LCM_MsgResponse (void *prm, const struct _ITC_QueueItem *qitem, void *pay, unsigned int len)
 Callback function for the MsgResponse command.
unsigned int LCM_ImageDump (void *prm, const struct _ITC_QueueItem *qitem, void *pay, unsigned int len)
 Callback function for the ImageDump command.
unsigned int LCM_ModuleDump (void *prm, const struct _ITC_QueueItem *qitem, void *pay, unsigned int len)
 Callback function for the ModuleDump command.
unsigned int LCM_TaskDump (void *prm, const struct _ITC_QueueItem *qitem, void *pay, unsigned int len)
 Callback function for the TaskDump command.
unsigned int LCM_MsgOutCfg (void *prm, const struct _ITC_QueueItem *qitem, void *pay, unsigned int len)
 Callback function for the MsgOutCfg command.
unsigned int LCM_Stats (void *prm, const struct _ITC_QueueItem *qitem, void *pay, unsigned int len)
 Callback function for the Stats command.
unsigned int LCM_Noop (void *prm, const struct _ITC_QueueItem *qitem, void *pay, unsigned int len)
 Callback function for the Noop command.


Detailed Description

LCM command functions (host systems).

CVS $Id: LCM_cmd.c.ux-xxx-xxx,v 1.2 2011/03/29 21:59:33 apw Exp $
Author:
D.Wood

A.P.Waite


Function Documentation

unsigned int LCM_CmdResponse ( 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

References LCM_CmdResponse_common().

unsigned int LCM_ImageDump ( void *  prm,
const struct _ITC_QueueItem qitem,
void *  pay,
unsigned int  len 
)

Callback function for the ImageDump command.

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

unsigned int LCM_ModuleDump ( void *  prm,
const struct _ITC_QueueItem qitem,
void *  pay,
unsigned int  len 
)

unsigned int LCM_MsgOutCfg ( void *  prm,
const struct _ITC_QueueItem qitem,
void *  pay,
unsigned int  len 
)

Callback function for the MsgOutCfg command.

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

References LCM_MsgOutCfg_common().

unsigned int LCM_MsgResponse ( void *  prm,
const struct _ITC_QueueItem qitem,
void *  pay,
unsigned int  len 
)

Callback function for the MsgResponse 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

References LCM_MsgResponse_common().

unsigned int LCM_Noop ( void *  prm,
const struct _ITC_QueueItem qitem,
void *  pay,
unsigned int  len 
)

Callback function for the Noop command.

Parameters:
prm (in) User context parameter
qitem (in) Queue item
pay (in) Payload pointer
len (in) Payload length
Return values:
LCM_SUCCES Success (always)

References LCM_Noop_common().

unsigned int LCM_Stats ( void *  prm,
const struct _ITC_QueueItem qitem,
void *  pay,
unsigned int  len 
)

Callback function for the Stats command.

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

References LCM_Stats_common().

unsigned int LCM_TaskDump ( void *  prm,
const struct _ITC_QueueItem qitem,
void *  pay,
unsigned int  len 
)

Callback function for the TaskDump command.

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


Generated on Wed Mar 30 16:05:43 2011 by  doxygen 1.5.8