Main Page   Interface   Compound List   File List   Compound Members   File Members  

TREC.c File Reference


Functions

int main (int argc, char** argv)

Variables

int TREC_telemSock
FILE* TREC_telemFile
unsigned char TREC_telemPkt [CCSDS_BFEM_PKT_MAX_SIZE]

Detailed Description


Function Documentation

int main ( int argc,
char ** argv )
 

After initializing resources, the main application function listens for incomming telemetry packets on TREC_telemSock. The packet data is written to the TREC_telemFile output file.

Parameters:
argc   The number of command line arguments.
argv   Pointers to the command line arguments.


Variable Documentation

FILE * TREC_telemFile [static]
 

The file descriptor for the telemetry output file.

unsigned char TREC_telemPkt[CCSDS_BFEM_PKT_MAX_SIZE] [static]
 

A buffer to hold the current telemetry packet.

int TREC_telemSock [static]
 

A UDP/IP socket for receiving telemetry packets.


Generated at Thu Mar 29 20:50:31 2001 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000