GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LSM / dev > lsm_dump / rad750


Interface   Data Structures   File List   Data Fields   Globals  

LSM_dump.c File Reference

Utilities to dump LSM packets. More...

#include <LSM/LSM_cmddefs.h>
#include <CCSDS/CCSDS_pkt.h>
#include <PBS/WCT.h>
#include <stdio.h>
#include <time.h>
#include <string.h>

Defines

#define ASCTIME(_tstruct, _str, _size)   asctime_r((_tstruct), (_str), (_size))

Functions

void LSM_dumpAncillary (const unsigned char *pkt)
 Dump a spacecraft ancillary telecommand.
void LSM_dumpAttitude (const unsigned char *pkt)
 Dump a spacecraft attitude telecommand.
void LSM_dumpTimetone (const unsigned char *pkt)
 Dump a spacecraft timetone telecommand.


Detailed Description

Utilities to dump LSM packets.

CVS $Id: LSM_dump.c,v 1.9 2011/03/29 21:44:12 russell Exp $
Author:
A.P.Waite

Define Documentation

#define ASCTIME ( _tstruct,
_str,
_size   )     asctime_r((_tstruct), (_str), (_size))

Portable call to asctime_r() function.

Referenced by LSM_dumpAncillary(), LSM_dumpAttitude(), and LSM_dumpTimetone().


Function Documentation

void LSM_dumpAncillary ( const unsigned char *  pkt  ) 

Dump a spacecraft ancillary telecommand.

Warning:
CCSDS payload is expected in network (big-endian) format

References ASCTIME.

void LSM_dumpAttitude ( const unsigned char *  pkt  ) 

Dump a spacecraft attitude telecommand.

Warning:
CCSDS payload is expected in network (big-endian) format

References ASCTIME.

void LSM_dumpTimetone ( const unsigned char *  pkt  ) 

Dump a spacecraft timetone telecommand.

Warning:
CCSDS payload is expected in network (big-endian) format

References ASCTIME.


Generated on Tue Mar 29 14:52:03 2011 by  doxygen 1.5.8