GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> ITC / V3-9-2 > itc_dump / rhel5-32
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. |
CVS $Id: ITC_dump.h,v 1.3 2005/05/03 20:14:21 apw Exp $
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().