GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> ITC / V3-9-2 > itc_dump / rad750


Interface   Data Structures   File List   Data Fields   Globals  

ITC_dump.h File Reference

Boilerplate dump routines for CCSDS packets. More...


Functions

void ITC_dumpChecksum (const unsigned char *pkt)
 Dump a CCSDS telecommand packet checksum.
void ITC_dumpComplete (void)
 Rule off a dump.
void ITC_dumpHeader (const unsigned char *pkt)
 Dump a CCSDS packet header.
void ITC_dumpPayload (const unsigned char *pkt)
 Dump a CCSDS payload as a simple string of bytes (endianness unknown).
void ITC_dumpResponse (const unsigned char *pkt)
 Dump a CCSDS telecommand command-response payload.


Detailed Description

Boilerplate dump routines for CCSDS packets.

CVS $Id: ITC_dump.h,v 1.3 2005/05/03 20:14:21 apw Exp $
Author:
A.P.Waite

Function Documentation

void ITC_dumpChecksum ( const unsigned char *  pkt  ) 

Dump a CCSDS telecommand packet checksum.

ITC_dumpChecksum() assumes that pkt points to a CCSDS packet in machine local byte order (or more specifically, that the checksum is in machine local order).

References _ITC_PrimaryCtl::bf, _ITC_CmdHeader::ctl, dumpBoiler(), _ITC_CmdHeader::len, and _ITC_PrimaryCtl_bf::type.

void ITC_dumpHeader ( const unsigned char *  pkt  ) 

Dump a CCSDS packet header.

ITC_dumpHeader() assumes that pkt points to a CCSDS packet in machine local byte order (or more specifically, that the header is in machine local order).

References dumpBoiler(), and dumpHeader().

void ITC_dumpResponse ( const unsigned char *  pkt  ) 

Dump a CCSDS telecommand command-response payload.

This dump is a little out of the ordinary, because it's a payload dump. This routine therefore assumes that the payload has been presented in network (big-endian) byte order.

References dumpBoiler(), and dumpHeader().


Generated on Wed Nov 21 18:57:15 2012 by  doxygen 1.5.8