GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LIM / dev > lim_unit_test / sun-gcc


Interface   Data Structures   File List   Data Fields   Globals  

lim_util_tlm.h File Reference

Interface to the functions found in lim_util_tlm.c. More...

#include <ITC/ITC_pubdefs.h>
#include <LIM/LIM_pubdefs.h>
#include <lim_unit_test.h>

Classes

struct  _TLM_Data
 Incoming packet data. More...

Typedefs

typedef struct _TLM_Data TLM_Data
 Typedef for _TLM_Data.

Functions

int TLM_init (test_Test_Descriptor *td_p)
 Initialize the telemetry handler.
int TLM_start (test_Test_Descriptor *td_p)
 Start the telemetry handler task.
int TLM_stop (test_Test_Descriptor *td_p)
 Stop the telemetry handler task.
int TLM_shutdown (test_Test_Descriptor *td_p)
 Shutdown the telemetry handler task.
int TLM_tlm_rcvd (test_Test_Descriptor *td_p, int id)
 Check for received telemetry.
int TLM_check_tlm (test_Test_Descriptor *td_p, int id, TLM_Data *exp_tlm_p)
 Compare actual and expected packet data.
int TLM_check_no_tlm (test_Test_Descriptor *td_p)
 Verify that no packets were received.


Detailed Description

Interface to the functions found in lim_util_tlm.c.

**  CVS $Id: lim_util_tlm.h,v 1.8 2011/03/29 21:20:28 apw Exp $
**  

Function Documentation

unsigned int TLM_check_no_tlm ( test_Test_Descriptor td_p  ) 

int TLM_check_tlm ( test_Test_Descriptor td_p,
int  id,
TLM_Data exp_tlm_p 
)

int TLM_init ( test_Test_Descriptor td_p  ) 

int TLM_shutdown ( test_Test_Descriptor td_p  ) 

int TLM_start ( test_Test_Descriptor td_p  ) 

int TLM_stop ( test_Test_Descriptor td_p  ) 

int TLM_tlm_rcvd ( test_Test_Descriptor td_p,
int  id 
)

Check for received telemetry.

Parameters:
td_p Pointer to test descriptor.
id ID to use for user messages.
Returns:
Nonzero value if any telemetry packets have been received.

References LIM_task_get_extra_ptr(), test_Pop_State(), test_Push_State(), test_Status_Success(), and _test_Test_Descriptor::tlm_task_p.

Referenced by WRAP_check_telem().


Generated on Wed Mar 30 15:28:24 2011 by  doxygen 1.5.8