GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LSM / V2-5-9

Constituent: lsm_scp     Tag: linux-gcc


Interface   Data Structures   File List   Data Fields   Globals  

LSM_scpside.c File Reference

Packet send routines for LSM commands. More...

#include <stdio.h>
#include <stdlib.h>
#include "PBI/Endianness.h"
#include "PBS/MBA.h"
#include "PBS/QI.h"
#include "PBS/FPA.h"
#include "PBS/TASK.h"
#include "MSG/MSG_pubdefs.h"
#include "CCSDS/CCSDS_pkt.h"
#include "ITC/ITC_dump.h"
#include "ITC/ITC_pubdefs.h"
#include "LSM/LSM_cmddefs.h"
#include "LSM/LSM_dump.h"
#include "LSM/LSM_msgs.h"
#include "LSM_prvdefs.h"
#include "THS/THS.h"
#include "THS/THS_sntpReader.h"
#include "CLI/CLI_pubdefs.h"

Include dependency graph for LSM_scpside.c:


Functions

unsigned int LSM_scInit ()
 Init spacesraft side of LSM module.
unsigned int LSM_sendAncillary ()
 Send a spacecraft ancillary message packet.
unsigned int LSM_sendAttitude ()
 Send a spacecraft attitude message packet.
unsigned int LSM_sendTimetone (unsigned int absTimeSec, unsigned int flags)
 Send a spacecraft ancillary message packet.
unsigned int LSM_sendSsrOutOff ()
 Send a SsrOutOff message packet.
unsigned int LSM_sendSsrOutOn ()
 Send a SsrOutOn message packet.
unsigned int LSM_simTimetone (unsigned char *sntpServer, unsigned int printIt)
 Startup a task to simulate timetone, i.e. send timetone msg every sec.
static unsigned int LSM_sendAncillary_cli (CLI_Control *cli, void *prm)
 CLI callback for "LSM_sendAncillary" command.
static unsigned int LSM_sendAttitude_cli (CLI_Control *cli, void *prm)
 CLI callback for "LSM_sendAttitude" command.
static unsigned int LSM_sendTimetone_cli (CLI_Control *cli, void *prm)
 CLI callback for "LSM_sendTimetone" command.
static unsigned int LSM_sendSsrOutOff_cli (CLI_Control *cli, void *prm)
 CLI callback for "LSM_sendSsrOutOff" command.
static unsigned int LSM_sendSsrOutOn_cli (CLI_Control *cli, void *prm)
 CLI callback for "LSM_sendSsrOutOn" command.
unsigned int LSM_addSyntaxSCP (CLI_Syntax *syntax)
 Contribute the LSM section to the SCP command line syntax.

Detailed Description

Packet send routines for LSM commands.

CVS $Id: LSM_scpside.c,v 1.18 2005/10/06 22:40:36 ebacho Exp $
Author:
A.P.Waite

Function Documentation

unsigned int LSM_addSyntaxSCP CLI_Syntax *  syntax  ) 
 

Contribute the LSM section to the SCP command line syntax.

Parameters:
syntax Syntax handle
Returns:
CLI_SUCCESS

unsigned int LSM_scInit  ) 
 

Init spacesraft side of LSM module.

Return values:
LSM_SUCCESS Success
LSM_GENERROR Failure

unsigned int LSM_sendAncillary  ) 
 

Send a spacecraft ancillary message packet.

Return values:
LSM_SUCCESS Success
LSM_GENERROR Failure

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

CLI callback for "LSM_sendAncillary" command.

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

unsigned int LSM_sendAttitude  ) 
 

Send a spacecraft attitude message packet.

Return values:
LSM_SUCCESS Success
LSM_GENERROR Failure

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

CLI callback for "LSM_sendAttitude" command.

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

unsigned int LSM_sendSsrOutOff  ) 
 

Send a SsrOutOff message packet.

Return values:
LSM_SUCCESS Success
LSM_GENERROR Failure

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

CLI callback for "LSM_sendSsrOutOff" command.

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

unsigned int LSM_sendSsrOutOn  ) 
 

Send a SsrOutOn message packet.

Return values:
LSM_SUCCESS Success
LSM_GENERROR Failure

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

CLI callback for "LSM_sendSsrOutOn" command.

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

unsigned int LSM_sendTimetone unsigned int  absTimeSec,
unsigned int  flags
 

Send a spacecraft ancillary message packet.

Parameters:
absTimeSec Time in sec since 1/1/2001
flags flag from space craft, bit0=timetone generated
Return values:
LSM_SUCCESS Success
LSM_GENERROR Failure

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

CLI callback for "LSM_sendTimetone" command.

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

void LSM_simTimetone unsigned char *  sntpServer,
unsigned int  printIt
 

Startup a task to simulate timetone, i.e. send timetone msg every sec.

Parameters:
sntpServer server to poll for time
printIt print info from time server


Generated on Thu Jan 24 01:16:16 2008 by  doxygen 1.4.4