GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> CCSDS / V3-5-3 > ccsds_dump / linux-gcc


Interface   Data Structures   File List   Data Fields   Globals  

CCSDS_dump.c File Reference

Function definitions for CCSDS display library. More...

#include <stdio.h>
#include <time.h>
#include <string.h>
#include <CCSDS/CCSDS_dump.h>
#include <CCSDS/CCSDS_pkt.h>
#include <PBS/WCT.h>
#include <CCSDS_pkt_private.h>

Defines

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

Functions

static void CCSDS_dumpPktHdrCmd (const CCSDS_Pkt_Hdr_Cmd *hdr)
static void CCSDS_dumpPktHdrTelem (const CCSDS_Pkt_Hdr_Telem *hdr)
void CCSDS_dumpPktHdr (const void *pkt)
 Dump a LAT CCSDS packet header.
void CCSDS_dumpPriHdr (const void *pkt)
 Dump a generic CCSDS packet primary header.


Detailed Description

Function definitions for CCSDS display library.

Author:
D.L. Wood

Define Documentation

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

Portable call to asctime_r() function.

Referenced by CCSDS_dumpPktHdrTelem().


Function Documentation

void CCSDS_dumpPktHdr ( const void *  pkt  ) 

static void CCSDS_dumpPktHdrCmd ( const CCSDS_Pkt_Hdr_Cmd hdr  )  [static]

Displays the information contained in a CCSDS command packet header.

Parameters:
hdr A pointer to the packet header buffer.

References _CCSDS_Pkt_Hdr_Cmd::hdr_func.

Referenced by CCSDS_dumpPktHdr().

static void CCSDS_dumpPktHdrTelem ( const CCSDS_Pkt_Hdr_Telem hdr  )  [static]

Displays the information contained in a CCSDS telemetry packet header.

Parameters:
hdr A pointer to the packet header buffer.

References ASCTIME, _CCSDS_Pkt_Hdr_Telem::hdr_sec_lsw, _CCSDS_Pkt_Hdr_Telem::hdr_sec_msw, _CCSDS_Pkt_Hdr_Telem::hdr_ssec_lsw, and _CCSDS_Pkt_Hdr_Telem::hdr_ssec_msw.

Referenced by CCSDS_dumpPktHdr().

void CCSDS_dumpPriHdr ( const void *  pkt  ) 


Generated on Fri Sep 30 18:07:22 2011 by  doxygen 1.5.8