GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LSM / dev > lsm_scp / sun-gcc
#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 <CCSDS/CCSDS_pkt.h>
#include <ITC/ITC_dump.h>
#include <ITC/ITC_pubdefs.h>
#include <PBS/MBA.h>
#include <PBS/QI.h>
#include <PBS/FPA.h>
#include <PBS/TASK.h>
#include <MSG/MSG_pubdefs.h>
#include <PBI/Endianness.h>
#include <stdio.h>
#include <stdlib.h>
#include <CLI/CLI_pubdefs.h>
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. |
CVS $Id: LSM_scpside.c,v 1.19 2011/03/29 21:44:12 russell Exp $
unsigned int LSM_addSyntaxSCP | ( | CLI_Syntax * | syntax | ) |
Contribute the LSM section to the SCP command line syntax.
syntax | Syntax handle |
References LSM_sendAncillary_cli(), LSM_sendAttitude_cli(), LSM_sendSsrOutOff_cli(), LSM_sendSsrOutOn_cli(), and LSM_sendTimetone_cli().
unsigned int LSM_scInit | ( | ) |
Init spacesraft side of LSM module.
LSM_SUCCESS | Success | |
LSM_GENERROR | Failure |
unsigned int LSM_sendAncillary | ( | ) |
Send a spacecraft ancillary message packet.
LSM_SUCCESS | Success | |
LSM_GENERROR | Failure |
Referenced by LSM_sendAncillary_cli().
static unsigned int LSM_sendAncillary_cli | ( | CLI_Control * | cli, | |
void * | prm | |||
) | [static] |
CLI callback for "LSM_sendAncillary" command.
cli | CLI control handle | |
prm | User parameter (unused) |
References LSM_sendAncillary().
Referenced by LSM_addSyntaxSCP().
unsigned int LSM_sendAttitude | ( | ) |
Send a spacecraft attitude message packet.
LSM_SUCCESS | Success | |
LSM_GENERROR | Failure |
Referenced by LSM_sendAttitude_cli().
static unsigned int LSM_sendAttitude_cli | ( | CLI_Control * | cli, | |
void * | prm | |||
) | [static] |
CLI callback for "LSM_sendAttitude" command.
cli | CLI control handle | |
prm | User parameter (unused) |
References LSM_sendAttitude().
Referenced by LSM_addSyntaxSCP().
unsigned int LSM_sendSsrOutOff | ( | ) |
Send a SsrOutOff message packet.
LSM_SUCCESS | Success | |
LSM_GENERROR | Failure |
Referenced by LSM_sendSsrOutOff_cli().
static unsigned int LSM_sendSsrOutOff_cli | ( | CLI_Control * | cli, | |
void * | prm | |||
) | [static] |
CLI callback for "LSM_sendSsrOutOff" command.
cli | CLI control handle | |
prm | User parameter (unused) |
References LSM_sendSsrOutOff().
Referenced by LSM_addSyntaxSCP().
unsigned int LSM_sendSsrOutOn | ( | ) |
Send a SsrOutOn message packet.
LSM_SUCCESS | Success | |
LSM_GENERROR | Failure |
Referenced by LSM_sendSsrOutOn_cli().
static unsigned int LSM_sendSsrOutOn_cli | ( | CLI_Control * | cli, | |
void * | prm | |||
) | [static] |
CLI callback for "LSM_sendSsrOutOn" command.
cli | CLI control handle | |
prm | User parameter (unused) |
References LSM_sendSsrOutOn().
Referenced by LSM_addSyntaxSCP().
unsigned int LSM_sendTimetone | ( | unsigned int | absTimeSec, | |
unsigned int | flags | |||
) |
Send a spacecraft ancillary message packet.
absTimeSec | Time in sec since 1/1/2001 | |
flags | flag from space craft, bit0=timetone generated |
LSM_SUCCESS | Success | |
LSM_GENERROR | Failure |
Referenced by LSM_sendTimetone_cli(), and LSM_simTimetone().
static unsigned int LSM_sendTimetone_cli | ( | CLI_Control * | cli, | |
void * | prm | |||
) | [static] |
CLI callback for "LSM_sendTimetone" command.
cli | CLI control handle | |
prm | User parameter (unused) |
References LSM_sendTimetone().
Referenced by LSM_addSyntaxSCP().
void LSM_simTimetone | ( | unsigned char * | sntpServer, | |
unsigned int | printIt | |||
) |
Startup a task to simulate timetone, i.e. send timetone msg every sec.
sntpServer | server to poll for time | |
printIt | print info from time server |
References LSM_sendTimetone().