#include "stdio.h"#include "string.h"#include "time.h"#include "netinet/in.h"#include "sys/socket.h"#include "TRX/TREC.h"#include "TRX/TRX_port.h"#include "CCSDS/CCSDS_bfem.h"Functions | |
| int | main (int argc, char **argv) |
Variables | |
| int | TREC_telemSock |
| FILE * | TREC_telemFile |
| unsigned char | TREC_telemPkt [CCSDS_BFEM_PKT_MAX_SIZE] |
|
||||||||||||
|
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.
|
|
|
The file descriptor for the telemetry output file. |
|
|
A buffer to hold the current telemetry packet. |
|
|
A UDP/IP socket for receiving telemetry packets. |
1.2.14 written by Dimitri van Heesch,
© 1997-2002