GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LIM / V1-22-0 > lim_unit_test / sun-gcc


Interface   Data Structures   File List   Data Fields   Globals  

lim_util_wrap.c File Reference

Wrappers for LIM functions. More...

#include "string.h"
#include "ITC/ITC_msgs.h"
#include "ITC/ITC_pubdefs.h"
#include "LIM/LIM_msgs.h"
#include "LIM/LIM_pubdefs.h"
#include "LPA/LPA_msgs.h"
#include "MSG/MSG_pubdefs.h"
#include "../src/LIM_pool.h"
#include "lim_unit_test.h"
#include "lim_util_sim.h"
#include "lim_util_tlm.h"
#include "lim_util_wrap.h"

Functions

void WRAP_init_info (WRAP_Info *info_p)
 Init a wrap info structure.
int WRAP_check_telem (test_Test_Descriptor *td_p, int id, WRAP_Info *info_p, unsigned int max_usecs)
 Verify expected telemetry.
int WRAP_get_info (test_Test_Descriptor *td_p, int id, WRAP_Info *info_p)
 Call LIM_get_info() and validate the results.
int WRAP_init (test_Test_Descriptor *td_p, int id, WRAP_Info *info_p)
 Call LIM_initialize() and validate the results.
int WRAP_init_with_db (test_Test_Descriptor *td_p, int id, WRAP_Info *info_p)
 Call LIM_init_with_db() and validate the results.
int WRAP_shutdown (test_Test_Descriptor *td_p, int id, WRAP_Info *info_p)
 Call LIM_shutdown() and validate the results.
int WRAP_start (test_Test_Descriptor *td_p, int id, WRAP_Info *info_p)
 Call LIM_start() and validate the results.
int WRAP_start_with_db (test_Test_Descriptor *td_p, int id, WRAP_Info *info_p)
 Call LIM_start_with_db() and validate the results.
int WRAP_stop (test_Test_Descriptor *td_p, int id, WRAP_Info *info_p)
 Call LIM_stop() and validate the results.
int WRAP_capture_cal (test_Test_Descriptor *td_p, int id, WRAP_Info *info_p)
 Call LIM_capture_cal_with_db() and validate the results.
int WRAP_capture_diag (test_Test_Descriptor *td_p, int id, WRAP_Info *info_p)
 Call LIM_capture_diag() and validate the results.
int WRAP_capture_phys (test_Test_Descriptor *td_p, int id, WRAP_Info *info_p)
 Call LIM_capture_physics_with_db() and validate the results.
int WRAP_start_LIM (test_Test_Descriptor *td_p, int id, WRAP_Info *info_p)
 Call LIM_initialize() and LIM_start() to start the LIM task.
int WRAP_stop_LIM (test_Test_Descriptor *td_p, int id, WRAP_Info *info_p)
 Call LIM_stop() and LIM_shutdown() to stop the LIM task.
static void wrap_free_cb (ITC_QueueItem *qitem_p, unsigned int status_in, void *parm_0, void *parm_1, void *parm_2, unsigned int tx)
 Callback for LIM memory pool packet frees.
int WRAP_send_cmd (test_Test_Descriptor *td_p, int id, WRAP_Info *info_p, unsigned char *pkt_p, unsigned int pkt_bytes, ITC_TaskID source_tid, ITC_TaskID target_tid, ITC_QueueID target_qid)
 Send a command to a task and verify the results.
static TLM_Datawrap_exp_pkt (WRAP_Info *info_p, unsigned int exp_apid, unsigned int exp_fc, ITC_QueueID exp_queue)
 Set expected incoming packet values.
static LIM_Infowrap_exp_tlm (WRAP_Info *info_p)
 Set expected LIM telemetry values.
static void wrap_exp_action_tlm (WRAP_Info *info_p, int tlm_index, LIM_Action_Id exp_action, unsigned int exp_status)
 Expect LIM telemetry with the specified action.
static void wrap_exp_op_mode_tlm (WRAP_Info *info_p, int tlm_index, LIM_Operating_Mode exp_op_mode, unsigned int exp_status)
 Expect LIM telemetry with the LIM_ACTION_OP_MODE_CHANGE action.
static void wrap_exp_virt_mode_tlm (WRAP_Info *info_p, int tlm_index, LIM_Virtual_Mode exp_virt_mode, unsigned int exp_status)
 Expect LIM telemetry with the LIM_ACTION_VIRT_MODE_CHANGE action.
void WRAP_exp_arr_abort (WRAP_Info *info_p, int pri_enable, int red_enable)
 Expect LIM telemetry for ARR-Abort.
void WRAP_exp_arr_grb_0 (WRAP_Info *info_p, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_ARR_STATE_CHANGE action and ARR READY and GRB 0 state.
void WRAP_exp_arr_grb_1 (WRAP_Info *info_p, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_ARR_STATE_CHANGE action and ARR READY and GRB 1 state.
void WRAP_exp_arr_grb_2 (WRAP_Info *info_p, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_ARR_STATE_CHANGE action and ARR READY and GRB 2 state.
void WRAP_exp_arr_idle (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_ARR_STATE_CHANGE action and ARR not READY.
void WRAP_exp_arr_ready (WRAP_Info *info_p, int tlm_index, unsigned int exp_status, unsigned int exp_remain)
 Expect LIM telemetry with LIM_ACTION_ARR_STATE_CHANGE action and ARR READY.
void WRAP_exp_arr_response (WRAP_Info *info_p, int bad_id, int accepted, int exp_dwell, int pri_enable, int red_enable)
 Expect LIM tlm for ARR-Response.
void WRAP_exp_arr_start_full (WRAP_Info *info_p, unsigned int pend_status)
 Expect LIM telemetry from an ARR-Start command.
void WRAP_exp_bias_acd (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_BIAS_ACD action.
void WRAP_exp_bias_cal (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_BIAS_CAL action.
void WRAP_exp_bias_tkr (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_BIAS_TKR action.
void WRAP_exp_cal_abort_full (WRAP_Info *info_p)
 Expect LIM telemetry from a Cal-Abort command.
void WRAP_exp_cal_complete (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_CAL_COMPLETE action.
void WRAP_exp_cal_complete_full (WRAP_Info *info_p)
 Expect LIM telemetry from a Cal-Complete message.
void WRAP_exp_cal_start_full (WRAP_Info *info_p)
 Expect LIM telemetry from a Cal-Start command.
void WRAP_exp_cal_start_status (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_CAL_START_STATUS action.
void WRAP_exp_diag_abort_full (WRAP_Info *info_p)
 Expect LIM telemetry from a Diag-Abort command.
void WRAP_exp_diag_abort_status (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_DIAG_ABORT_STATUS action.
void WRAP_exp_diag_complete (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_DIAG_COMPLETE action.
void WRAP_exp_diag_complete_full (WRAP_Info *info_p)
 Expect LIM telemetry from a Diag-Complete message.
void WRAP_exp_diag_start_full (WRAP_Info *info_p)
 Expect LIM telemetry from a Diag-Start command.
void WRAP_exp_diag_start_status (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_DIAG_START_STATUS action.
void WRAP_exp_event_insert (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_EVENT_INSERT action.
void WRAP_exp_event_remove (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_EVENT_REMOVE action.
void WRAP_exp_fwd_cal_abort (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_CAL_ABORT action.
void WRAP_exp_fwd_cal_other (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_CAL_OTHER action.
void WRAP_exp_send_cal_start (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_CAL_START action.
void WRAP_exp_fwd_diag_abort (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_DIAG_ABORT action.
void WRAP_exp_fwd_diag_other (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_DIAG_OTHER action.
void WRAP_exp_fwd_diag_start (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_DIAG_START action.
void WRAP_exp_hv_allow (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_HV_STATE_CHANGE action and HV enabling allowed.
void WRAP_exp_hv_disallow (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_HV_STATE_CHANGE action and HV enabling not allowed.
void WRAP_exp_gbm_calcinfo (WRAP_Info *info_p, int bad_id)
 Expect LIM tlm for GBM-Calcinfo.
void WRAP_exp_gbm_closeout (WRAP_Info *info_p, int pri_enable, int red_enable)
 Expect LIM telemetry for GBM-Closeout.
void WRAP_exp_gbm_command (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_GBM_COMMAND action.
void WRAP_exp_gbm_int_arr (WRAP_Info *info_p, int exp_pri)
 Expect LIM telemetry for GBM interrupt in ARR mode.
void WRAP_exp_gbm_int_cal (WRAP_Info *info_p, int exp_pri)
 Expect LIM telemetry for GBM interrupt in CALIBRATION mode.
void WRAP_exp_gbm_int_idle (WRAP_Info *info_p, int exp_pri)
 Expect LIM telemetry for GBM interrupt with LPA idle.
void WRAP_exp_gbm_int_run (WRAP_Info *info_p, int exp_pri)
 Expect LIM telemetry for GBM interrupt with LPA running.
void WRAP_exp_gbm_pri_allow (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_GBM_STATE_CHANGE action and primary interrupts allowed.
void WRAP_exp_gbm_pri_disable (WRAP_Info *info_p, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_PID_DIS_GBM_PRI action.
void WRAP_exp_gbm_pri_disallow (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_GBM_STATE_CHANGE action and primary interrupts not allowed.
void WRAP_exp_gbm_pri_enable (WRAP_Info *info_p, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_PID_EN_GBM_PRI action.
void WRAP_exp_gbm_pri_int (WRAP_Info *info_p, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_GBM_INT_PRI action.
void WRAP_exp_gbm_red_allow (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_GBM_STATE_CHANGE action and redundant interrupts allowed.
void WRAP_exp_gbm_red_disable (WRAP_Info *info_p, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_PID_DIS_GBM_RED action.
void WRAP_exp_gbm_red_disallow (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_GBM_STATE_CHANGE action and redundant interrupts not allowed.
void WRAP_exp_gbm_red_enable (WRAP_Info *info_p, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_PID_EN_GBM_RED action.
void WRAP_exp_gbm_red_int (WRAP_Info *info_p, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_GBM_INT_RED action.
void WRAP_exp_gbm_rep_allow (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_GBM_STATE_CHANGE action and GBM repoint requests allowed.
void WRAP_exp_gbm_rep_disallow (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_GBM_STATE_CHANGE action and GBM repoint requests not allowed.
void WRAP_exp_gbm_rep_norec (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_RCV_GBM_REP_NOREC action.
void WRAP_exp_gbm_rep_rec (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_RCV_GBM_REP_REC action.
void WRAP_exp_grb_confirm (WRAP_Info *info_p, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_RCV_GRB_CONFIRM action.
void WRAP_exp_grb_confirm_idle (WRAP_Info *info_p)
 Expect LIM telemetry from a GRB-Confirmed cmd when LPA is IDLE.
void WRAP_exp_grb_confirm_normal (WRAP_Info *info_p)
 Expect LIM telemetry from a normal GRB-Confirmed command.
void WRAP_exp_grb_confirm_run (WRAP_Info *info_p)
 Expect LIM telemetry from a GRB-Confirmed when LPA is RUNNING.
void WRAP_exp_grb_expire (WRAP_Info *info_p, int pri_enable, int red_enable)
 Expect LIM tlm from expiration of the GRB timer.
void WRAP_exp_grb_finish (WRAP_Info *info_p, int pri_enable, int red_enable)
 Expect LIM telemetry for GRB-Finished.
void WRAP_exp_grb_suspect (WRAP_Info *info_p, int exp_fail)
 Expect LIM telemetry for GRB-Suspected.
void WRAP_exp_lci_idle (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_LCI_STATE_CHANGE action and LIM_OTHER_STATE_IDLE lci_state.
void WRAP_exp_lci_running (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_LCI_STATE_CHANGE action and LIM_OTHER_STATE_RUNNING lci_state.
void WRAP_exp_lci_stopping (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_LCI_STATE_CHANGE action and LIM_OTHER_STATE_STOPPING lci_state.
void WRAP_exp_ldf_idle (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_LDF_STATE_CHANGE action and LIM_OTHER_STATE_IDLE ldf_state.
void WRAP_exp_ldf_running (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_LDF_STATE_CHANGE action and LIM_OTHER_STATE_RUNNING ldf_state.
void WRAP_exp_ldf_stopping (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_LDF_STATE_CHANGE action and LIM_OTHER_STATE_STOPPING ldf_state.
void WRAP_exp_lpa_idle (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_LPA_STATE_CHANGE action and LIM_OTHER_STATE_IDLE lpa_state.
void WRAP_exp_lpa_paused (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_LPA_STATE_CHANGE action and LIM_OTHER_STATE_PAUSED lpa_state.
void WRAP_exp_lpa_pausing (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_LPA_STATE_CHANGE action and LIM_OTHER_STATE_PAUSING lpa_state.
void WRAP_exp_lpa_running (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_LPA_STATE_CHANGE action and LIM_OTHER_STATE_RUNNING lpa_state.
void WRAP_exp_lpa_stopping (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_LPA_STATE_CHANGE action and LIM_OTHER_STATE_STOPPING lpa_state.
void WRAP_exp_ltc_stop (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_LTC_STOP action.
void WRAP_exp_main_feed_on (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_MAIN_FEED_ON action.
void WRAP_exp_non_saa_config (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_NON_SAA_CONFIG action.
void WRAP_exp_op_mode_arr (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_OP_MODE_CHANGE action and LIM_OP_MODE_ARR operating mode.
void WRAP_exp_op_mode_arr_saa (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_OP_MODE_CHANGE action and LIM_OP_MODE_ARR_SAA operating mode.
void WRAP_exp_op_mode_cal (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_OP_MODE_CHANGE action and LIM_OP_MODE_CALIBRATION operating mode.
void WRAP_exp_op_mode_diag (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_OP_MODE_CHANGE action and LIM_OP_MODE_DIAGNOSTIC operating mode.
void WRAP_exp_op_mode_hold (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_OP_MODE_CHANGE action and LIM_OP_MODE_HOLD operating mode.
void WRAP_exp_op_mode_phys_saa (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_OP_MODE_CHANGE action and LIM_OP_MODE_PHYSICS_SAA operating mode.
void WRAP_exp_op_mode_physics (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_OP_MODE_CHANGE action and LIM_OP_MODE_PHYSICS operating mode.
void WRAP_exp_op_mode_quiescent (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_OP_MODE_CHANGE action and LIM_OP_MODE_QUIESCENT operating mode.
void WRAP_exp_op_mode_too (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_OP_MODE_CHANGE action and LIM_OP_MODE_TOO operating mode.
void WRAP_exp_op_mode_too_saa (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_OP_MODE_CHANGE action and LIM_OP_MODE_TOO_SAA operating mode.
void WRAP_exp_phys_active (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_PHYSICS_ACTIVE action.
void WRAP_exp_phys_complete (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_PHYSICS_COMPLETE action.
void WRAP_exp_phys_complete_full (WRAP_Info *info_p, int exp_mode_change)
 Expect LIM telemetry from a Physics-Complete message.
void WRAP_exp_phys_gbm_int (WRAP_Info *info_p, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_PHYSICS_GBM_INT action.
void WRAP_exp_phys_idle (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_PHYSICS_IDLE action.
void WRAP_exp_phys_set_mode (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_PHYSICS_SET_MODE action.
void WRAP_exp_phys_restart (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_PHYSICS_RESTART action.
void WRAP_exp_phys_start (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_PHYSICS_START action.
void WRAP_exp_phys_start_arr0 (WRAP_Info *info_p, unsigned int run)
 Expect LIM telemetry from a Physics-Start in ARR/GRB0 mode.
void WRAP_exp_phys_start_arr0_bad (WRAP_Info *info_p, unsigned int run)
 Expect LIM tlm from rejected Physics-Start cmd in ARR/GRB0 mode.
void WRAP_exp_phys_start_arr0_idle (WRAP_Info *info_p, int id, unsigned int run)
 Expect LIM telemetry from a Physics-Start in ARR/GRB0/IDLE mode.
void WRAP_exp_phys_start_arr1 (WRAP_Info *info_p, unsigned int run)
 Expect LIM telemetry from a Physics-Start in ARR/GRB1 mode.
void WRAP_exp_phys_start_arr1_idle (WRAP_Info *info_p, int id, unsigned int run)
 Expect LIM telemetry from a Physics-Start in ARR/GRB1/IDLE mode.
void WRAP_exp_phys_start_full (WRAP_Info *info_p, int exp_mode_change)
 Expect LIM telemetry from a Physics-Start command.
void WRAP_exp_phys_start_idle (WRAP_Info *info_p, int id, unsigned int run)
 Expect LIM telemetry from a Physics-Start in QUIESCENT mode.
void WRAP_exp_phys_start_idle_bad (WRAP_Info *info_p, int id, unsigned int run)
 Expect LIM tlm from rejected Physics-Start cmd in QUIESCENT mode.
void WRAP_exp_phys_start_normal (WRAP_Info *info_p)
 Expect LIM telemetry from a normal Physics-Start command.
void WRAP_exp_phys_start_too (WRAP_Info *info_p, int id, unsigned int run)
 Expect LIM telemetry from a Physics-Start in TOO mode.
void WRAP_exp_phys_start_too_bad (WRAP_Info *info_p, int id, unsigned int run)
 Expect LIM telemetry from a rejected Physics-Start in TOO mode.
void WRAP_exp_phys_start_status (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_PHYSICS_START_STATUS action.
void WRAP_exp_phys_stop (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_PHYSICS_STOP action.
void WRAP_exp_phys_stop_full (WRAP_Info *info_p)
 Expect LIM telemetry from a Physics-Stop command.
void WRAP_exp_phys_stop_status (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_PHYSICS_STOP_STATUS action.
void WRAP_exp_pid_primary (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_PID_SELECT_PRI action.
void WRAP_exp_pid_redundant (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_PID_SELECT_RED action.
void WRAP_exp_power_off (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_POWER_OFF action.
void WRAP_exp_power_on (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_POWER_ON action.
void WRAP_exp_rcv_slew_accept (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_RCV_SLEW_ACCEPT action.
void WRAP_exp_rcv_slew_reject (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_RCV_SLEW_REJECT action.
void WRAP_exp_rep_expire (WRAP_Info *info_p, int pri_enable, int red_enable)
 Expect LIM tlm from expiration of the repoint timer.
void WRAP_exp_rep_req_nopend (WRAP_Info *info_p, unsigned int exp_remain, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_REP_REQ_STATE_CHANGE action and repoint request not PENDING.
void WRAP_exp_rep_req_pend (WRAP_Info *info_p, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_REP_REQ_STATE_CHANGE action and repoint request PENDING.
void WRAP_exp_saa_config (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_SAA_CONFIG action.
void WRAP_exp_saa_enter (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_SAA_ENTER action.
void WRAP_exp_saa_enter_bad (WRAP_Info *info_p)
 Expect LIM telemetry from an SAA-ENTER cmd when LPA stop fails.
void WRAP_exp_saa_enter_full (WRAP_Info *info_p)
 Expect LIM telemetry from an SAA-ENTER cmd when LPA is RUNNING.
void WRAP_exp_saa_enter_idle (WRAP_Info *info_p)
 Expect LIM telemetry from an SAA-ENTER cmd when LPA is IDLE.
void WRAP_exp_saa_enter_stop (WRAP_Info *info_p)
 Expect LIM telemetry from an SAA-ENTER cmd when LPA is STOPPING.
void WRAP_exp_saa_exit (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_SAA_EXIT action.
void WRAP_exp_saa_exit_full (WRAP_Info *info_p, int exp_restart, LIM_Operating_Mode exp_mode)
 Expect LIM telemetry from an SAA-EXIT command.
void WRAP_exp_sc_slew_req (WRAP_Info *info_p)
 Expect a Slew-Request command.
void WRAP_exp_send_slew_req (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_SEND_SLEW_REQ action.
void WRAP_exp_shed_alert (WRAP_Info *info_p)
 Expect a Load-Shed-Alert telemetry packet.
void WRAP_exp_shed_begin (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_SHED_BEGIN action.
void WRAP_exp_shed_end (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_SHED_END action.
void WRAP_exp_siu_reboot (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_SIU_REBOOT action.
void WRAP_exp_slew_req_tlm (WRAP_Info *info_p)
 Expect a Slew-Request telemetry packet.
void WRAP_exp_slew_rsp_tlm (WRAP_Info *info_p, int accepted)
 Expect a Slew-Request response telemetry packet.
void WRAP_exp_start (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_START action.
void WRAP_exp_stop (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_STOP action.
void WRAP_exp_too_abort_full (WRAP_Info *info_p, int exp_not_started)
 Expect LIM telemetry from a TOO-Abort command.
void WRAP_exp_too_idle (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_TOO_STATE_CHANGE action and TOO not READY.
void WRAP_exp_too_not_started (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_TOO_STATE_CHANGE action and TOO not STARTED.
void WRAP_exp_too_ready (WRAP_Info *info_p, int tlm_index, unsigned int exp_status, unsigned int exp_remain)
 Expect LIM telemetry with LIM_ACTION_TOO_STATE_CHANGE action and TOO READY.
void WRAP_exp_too_start_full (WRAP_Info *info_p, int exp_ready, int exp_reconf, unsigned int dwell_secs)
 Expect LIM telemetry from a TOO-Start command.
void WRAP_exp_too_start_idle (WRAP_Info *info_p, int id, int run, unsigned int dwell_secs)
 Expect LIM telemetry from a TOO-Start command in QUIESCENT mode.
void WRAP_exp_too_start_phys (WRAP_Info *info_p, unsigned int dwell_secs)
 Expect LIM telemetry from a TOO-Start command in PHYSICS mode.
void WRAP_exp_too_started (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_TOO_STATE_CHANGE action and TOO STARTED.
void WRAP_exp_virt_mode_idle (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_VIRT_MODE_CHANGE action and LIM_VIRT_MODE_IDLE virtual mode.
void WRAP_exp_virt_mode_ready (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_VIRT_MODE_CHANGE action and LIM_VIRT_MODE_READY virtual mode.
void WRAP_exp_virt_mode_started (WRAP_Info *info_p, int tlm_index, unsigned int exp_status)
 Expect LIM telemetry with LIM_ACTION_VIRT_MODE_CHANGE action and LIM_VIRT_MODE_STARTED virtual mode.


Detailed Description

Wrappers for LIM functions.

**  CVS $Id: lim_util_wrap.c,v 1.40 2008/11/01 14:44:26 dmay Exp $
**  

Function Documentation

int WRAP_capture_cal ( test_Test_Descriptor td_p,
int  id,
WRAP_Info info_p 
)

Call LIM_capture_cal_with_db() and validate the results.

Parameters:
td_p Pointer to test descriptor.
id ID to use for user messages.
info_p Pointer to wrap control info.
Return values:
0 Success.
-1 Failure.

int WRAP_capture_diag ( test_Test_Descriptor td_p,
int  id,
WRAP_Info info_p 
)

Call LIM_capture_diag() and validate the results.

Parameters:
td_p Pointer to test descriptor.
id ID to use for user messages.
info_p Pointer to wrap control info.
Return values:
0 Success.
-1 Failure.

int WRAP_capture_phys ( test_Test_Descriptor td_p,
int  id,
WRAP_Info info_p 
)

Call LIM_capture_physics_with_db() and validate the results.

Parameters:
td_p Pointer to test descriptor.
id ID to use for user messages.
info_p Pointer to wrap control info.
Return values:
0 Success.
-1 Failure.

int WRAP_check_telem ( test_Test_Descriptor td_p,
int  id,
WRAP_Info info_p,
unsigned int  max_usecs 
)

Verify expected telemetry.

Parameters:
td_p Pointer to test descriptor.
id ID to use for user messages.
info_p Pointer to wrap control info.
max_usecs Max time to wait for telemetry, in microseconds.
Return values:
0 Success.
-1 Failure.

void wrap_exp_action_tlm ( WRAP_Info info_p,
int  tlm_index,
LIM_Action_Id  exp_action,
unsigned int  exp_status 
) [static]

Expect LIM telemetry with the specified action.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_action Expected last_action value within the telemetry.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_arr_abort ( WRAP_Info info_p,
int  pri_enable,
int  red_enable 
)

Expect LIM telemetry for ARR-Abort.

Parameters:
info_p Pointer to wrap control info.
pri_enable Flag indicating primary int enable expected.
red_enable Flag indicating redundant int enable expected.
Returns:
Nothing.

void WRAP_exp_arr_grb_0 ( WRAP_Info info_p,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_ARR_STATE_CHANGE action and ARR READY and GRB 0 state.

Parameters:
info_p Pointer to wrap control info.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_arr_grb_1 ( WRAP_Info info_p,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_ARR_STATE_CHANGE action and ARR READY and GRB 1 state.

Parameters:
info_p Pointer to wrap control info.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_arr_grb_2 ( WRAP_Info info_p,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_ARR_STATE_CHANGE action and ARR READY and GRB 2 state.

Parameters:
info_p Pointer to wrap control info.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_arr_idle ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_ARR_STATE_CHANGE action and ARR not READY.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_arr_ready ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status,
unsigned int  exp_remain 
)

Expect LIM telemetry with LIM_ACTION_ARR_STATE_CHANGE action and ARR READY.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
exp_remain Expected ARR time remaining.
Returns:
Nothing.

void WRAP_exp_arr_response ( WRAP_Info info_p,
int  bad_id,
int  accepted,
int  exp_dwell,
int  pri_enable,
int  red_enable 
)

Expect LIM tlm for ARR-Response.

Parameters:
info_p Pointer to wrap control info.
bad_id Flag indicating that the trigger ID is invalid.
accepted Flag indicating that the repoint is accepted.
exp_dwell Expected repoint dwell timer value.
pri_enable Flag indicating primary int enable expected.
red_enable Flag indicating redundant int enable expected.
Returns:
Nothing.

void WRAP_exp_arr_start_full ( WRAP_Info info_p,
unsigned int  pend_status 
)

Expect LIM telemetry from an ARR-Start command.

Parameters:
info_p Pointer to wrap control info.
pend_status Status for PENDING state change telemetry.
Returns:
Nothing.

void WRAP_exp_bias_acd ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_BIAS_ACD action.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_bias_cal ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_BIAS_CAL action.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_bias_tkr ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_BIAS_TKR action.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_cal_abort_full ( WRAP_Info info_p  ) 

Expect LIM telemetry from a Cal-Abort command.

Parameters:
info_p Pointer to wrap control info.
Returns:
Nothing.

void WRAP_exp_cal_complete ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_CAL_COMPLETE action.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_cal_complete_full ( WRAP_Info info_p  ) 

Expect LIM telemetry from a Cal-Complete message.

Parameters:
info_p Pointer to wrap control info.
Returns:
Nothing.

void WRAP_exp_cal_start_full ( WRAP_Info info_p  ) 

Expect LIM telemetry from a Cal-Start command.

Parameters:
info_p Pointer to wrap control info.
Returns:
Nothing.

void WRAP_exp_cal_start_status ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_CAL_START_STATUS action.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_diag_abort_full ( WRAP_Info info_p  ) 

Expect LIM telemetry from a Diag-Abort command.

Parameters:
info_p Pointer to wrap control info.
Returns:
Nothing.

void WRAP_exp_diag_abort_status ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_DIAG_ABORT_STATUS action.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_diag_complete ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_DIAG_COMPLETE action.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_diag_complete_full ( WRAP_Info info_p  ) 

Expect LIM telemetry from a Diag-Complete message.

Parameters:
info_p Pointer to wrap control info.
Returns:
Nothing.

void WRAP_exp_diag_start_full ( WRAP_Info info_p  ) 

Expect LIM telemetry from a Diag-Start command.

Parameters:
info_p Pointer to wrap control info.
Returns:
Nothing.

void WRAP_exp_diag_start_status ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_DIAG_START_STATUS action.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_event_insert ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_EVENT_INSERT action.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_event_remove ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_EVENT_REMOVE action.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_fwd_cal_abort ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_CAL_ABORT action.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_fwd_cal_other ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_CAL_OTHER action.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_fwd_diag_abort ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_DIAG_ABORT action.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_fwd_diag_other ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_DIAG_OTHER action.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_fwd_diag_start ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_DIAG_START action.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_gbm_calcinfo ( WRAP_Info info_p,
int  bad_id 
)

Expect LIM tlm for GBM-Calcinfo.

Parameters:
info_p Pointer to wrap control info.
bad_id Flag indicating that the ID is invalid.
Returns:
Nothing.

void WRAP_exp_gbm_closeout ( WRAP_Info info_p,
int  pri_enable,
int  red_enable 
)

Expect LIM telemetry for GBM-Closeout.

Parameters:
info_p Pointer to wrap control info.
pri_enable Flag indicating primary int enable expected.
red_enable Flag indicating redundant int enable expected.
Returns:
Nothing.

void WRAP_exp_gbm_command ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_GBM_COMMAND action.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_gbm_int_arr ( WRAP_Info info_p,
int  exp_pri 
)

Expect LIM telemetry for GBM interrupt in ARR mode.

Parameters:
info_p Pointer to wrap control info.
exp_pri Flag indicating that primary int expected.
Returns:
Nothing.

void WRAP_exp_gbm_int_cal ( WRAP_Info info_p,
int  exp_pri 
)

Expect LIM telemetry for GBM interrupt in CALIBRATION mode.

Parameters:
info_p Pointer to wrap control info.
exp_pri Flag indicating that primary int expected.
Returns:
Nothing.

void WRAP_exp_gbm_int_idle ( WRAP_Info info_p,
int  exp_pri 
)

Expect LIM telemetry for GBM interrupt with LPA idle.

Parameters:
info_p Pointer to wrap control info.
exp_pri Flag indicating that primary int expected.
Returns:
Nothing.

void WRAP_exp_gbm_int_run ( WRAP_Info info_p,
int  exp_pri 
)

Expect LIM telemetry for GBM interrupt with LPA running.

Parameters:
info_p Pointer to wrap control info.
exp_pri Flag indicating that primary int expected.
Returns:
Nothing.

void WRAP_exp_gbm_pri_allow ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_GBM_STATE_CHANGE action and primary interrupts allowed.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_gbm_pri_disable ( WRAP_Info info_p,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_PID_DIS_GBM_PRI action.

Parameters:
info_p Pointer to wrap control info.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_gbm_pri_disallow ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_GBM_STATE_CHANGE action and primary interrupts not allowed.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_gbm_pri_enable ( WRAP_Info info_p,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_PID_EN_GBM_PRI action.

Parameters:
info_p Pointer to wrap control info.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_gbm_pri_int ( WRAP_Info info_p,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_GBM_INT_PRI action.

Parameters:
info_p Pointer to wrap control info.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_gbm_red_allow ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_GBM_STATE_CHANGE action and redundant interrupts allowed.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_gbm_red_disable ( WRAP_Info info_p,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_PID_DIS_GBM_RED action.

Parameters:
info_p Pointer to wrap control info.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_gbm_red_disallow ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_GBM_STATE_CHANGE action and redundant interrupts not allowed.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_gbm_red_enable ( WRAP_Info info_p,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_PID_EN_GBM_RED action.

Parameters:
info_p Pointer to wrap control info.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_gbm_red_int ( WRAP_Info info_p,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_GBM_INT_RED action.

Parameters:
info_p Pointer to wrap control info.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_gbm_rep_allow ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_GBM_STATE_CHANGE action and GBM repoint requests allowed.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_gbm_rep_disallow ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_GBM_STATE_CHANGE action and GBM repoint requests not allowed.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_gbm_rep_norec ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_RCV_GBM_REP_NOREC action.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_gbm_rep_rec ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_RCV_GBM_REP_REC action.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_grb_confirm ( WRAP_Info info_p,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_RCV_GRB_CONFIRM action.

Parameters:
info_p Pointer to wrap control info.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_grb_confirm_idle ( WRAP_Info info_p  ) 

Expect LIM telemetry from a GRB-Confirmed cmd when LPA is IDLE.

Parameters:
info_p Pointer to wrap control info.
Returns:
Nothing.

void WRAP_exp_grb_confirm_normal ( WRAP_Info info_p  ) 

Expect LIM telemetry from a normal GRB-Confirmed command.

Parameters:
info_p Pointer to wrap control info.
Returns:
Nothing.

void WRAP_exp_grb_confirm_run ( WRAP_Info info_p  ) 

Expect LIM telemetry from a GRB-Confirmed when LPA is RUNNING.

Parameters:
info_p Pointer to wrap control info.
Returns:
Nothing.

void WRAP_exp_grb_expire ( WRAP_Info info_p,
int  pri_enable,
int  red_enable 
)

Expect LIM tlm from expiration of the GRB timer.

Parameters:
info_p Pointer to wrap control info.
pri_enable Flag indicating primary int enable expected.
red_enable Flag indicating redundant int enable expected.
Returns:
Nothing.

void WRAP_exp_grb_finish ( WRAP_Info info_p,
int  pri_enable,
int  red_enable 
)

Expect LIM telemetry for GRB-Finished.

Parameters:
info_p Pointer to wrap control info.
pri_enable Flag indicating primary int enable expected.
red_enable Flag indicating redundant int enable expected.
Returns:
Nothing.

void WRAP_exp_grb_suspect ( WRAP_Info info_p,
int  exp_fail 
)

Expect LIM telemetry for GRB-Suspected.

Parameters:
info_p Pointer to wrap control info.
exp_fail Flag indicating LPA mode change failure.
Returns:
Nothing.

void WRAP_exp_hv_allow ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_HV_STATE_CHANGE action and HV enabling allowed.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_hv_disallow ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_HV_STATE_CHANGE action and HV enabling not allowed.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_lci_idle ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_LCI_STATE_CHANGE action and LIM_OTHER_STATE_IDLE lci_state.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_lci_running ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_LCI_STATE_CHANGE action and LIM_OTHER_STATE_RUNNING lci_state.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_lci_stopping ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_LCI_STATE_CHANGE action and LIM_OTHER_STATE_STOPPING lci_state.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_ldf_idle ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_LDF_STATE_CHANGE action and LIM_OTHER_STATE_IDLE ldf_state.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_ldf_running ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_LDF_STATE_CHANGE action and LIM_OTHER_STATE_RUNNING ldf_state.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_ldf_stopping ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_LDF_STATE_CHANGE action and LIM_OTHER_STATE_STOPPING ldf_state.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_lpa_idle ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_LPA_STATE_CHANGE action and LIM_OTHER_STATE_IDLE lpa_state.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_lpa_paused ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_LPA_STATE_CHANGE action and LIM_OTHER_STATE_PAUSED lpa_state.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_lpa_pausing ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_LPA_STATE_CHANGE action and LIM_OTHER_STATE_PAUSING lpa_state.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_lpa_running ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_LPA_STATE_CHANGE action and LIM_OTHER_STATE_RUNNING lpa_state.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_lpa_stopping ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_LPA_STATE_CHANGE action and LIM_OTHER_STATE_STOPPING lpa_state.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_ltc_stop ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_LTC_STOP action.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_main_feed_on ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_MAIN_FEED_ON action.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_non_saa_config ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_NON_SAA_CONFIG action.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_op_mode_arr ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_OP_MODE_CHANGE action and LIM_OP_MODE_ARR operating mode.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_op_mode_arr_saa ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_OP_MODE_CHANGE action and LIM_OP_MODE_ARR_SAA operating mode.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_op_mode_cal ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_OP_MODE_CHANGE action and LIM_OP_MODE_CALIBRATION operating mode.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_op_mode_diag ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_OP_MODE_CHANGE action and LIM_OP_MODE_DIAGNOSTIC operating mode.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_op_mode_hold ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_OP_MODE_CHANGE action and LIM_OP_MODE_HOLD operating mode.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_op_mode_phys_saa ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_OP_MODE_CHANGE action and LIM_OP_MODE_PHYSICS_SAA operating mode.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_op_mode_physics ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_OP_MODE_CHANGE action and LIM_OP_MODE_PHYSICS operating mode.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_op_mode_quiescent ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_OP_MODE_CHANGE action and LIM_OP_MODE_QUIESCENT operating mode.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void wrap_exp_op_mode_tlm ( WRAP_Info info_p,
int  tlm_index,
LIM_Operating_Mode  exp_op_mode,
unsigned int  exp_status 
) [static]

Expect LIM telemetry with the LIM_ACTION_OP_MODE_CHANGE action.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_op_mode Expected op_mode value within the telemetry.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_op_mode_too ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_OP_MODE_CHANGE action and LIM_OP_MODE_TOO operating mode.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_op_mode_too_saa ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_OP_MODE_CHANGE action and LIM_OP_MODE_TOO_SAA operating mode.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_phys_active ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_PHYSICS_ACTIVE action.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_phys_complete ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_PHYSICS_COMPLETE action.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_phys_complete_full ( WRAP_Info info_p,
int  exp_mode_change 
)

Expect LIM telemetry from a Physics-Complete message.

Parameters:
info_p Pointer to wrap control info.
exp_mode_change Flag to expect a mode change.
Returns:
Nothing.

void WRAP_exp_phys_gbm_int ( WRAP_Info info_p,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_PHYSICS_GBM_INT action.

Parameters:
info_p Pointer to wrap control info.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_phys_idle ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_PHYSICS_IDLE action.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_phys_restart ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_PHYSICS_RESTART action.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_phys_set_mode ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_PHYSICS_SET_MODE action.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_phys_start ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_PHYSICS_START action.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_phys_start_arr0 ( WRAP_Info info_p,
unsigned int  run 
)

Expect LIM telemetry from a Physics-Start in ARR/GRB0 mode.

Parameters:
info_p Pointer to wrap control info.
run Expected run parameter value.
Returns:
Nothing.

void WRAP_exp_phys_start_arr0_bad ( WRAP_Info info_p,
unsigned int  run 
)

Expect LIM tlm from rejected Physics-Start cmd in ARR/GRB0 mode.

Parameters:
info_p Pointer to wrap control info.
run Expected run parameter value.
Returns:
Nothing.

void WRAP_exp_phys_start_arr0_idle ( WRAP_Info info_p,
int  id,
unsigned int  run 
)

Expect LIM telemetry from a Physics-Start in ARR/GRB0/IDLE mode.

Parameters:
info_p Pointer to wrap control info.
id Current test step id.
run Expected run parameter value.
Returns:
Nothing.

void WRAP_exp_phys_start_arr1 ( WRAP_Info info_p,
unsigned int  run 
)

Expect LIM telemetry from a Physics-Start in ARR/GRB1 mode.

Parameters:
info_p Pointer to wrap control info.
run Expected run parameter value.
Returns:
Nothing.

void WRAP_exp_phys_start_arr1_idle ( WRAP_Info info_p,
int  id,
unsigned int  run 
)

Expect LIM telemetry from a Physics-Start in ARR/GRB1/IDLE mode.

Parameters:
info_p Pointer to wrap control info.
id Current test step id.
run Expected run parameter value.
Returns:
Nothing.

void WRAP_exp_phys_start_full ( WRAP_Info info_p,
int  exp_mode_change 
)

Expect LIM telemetry from a Physics-Start command.

Parameters:
info_p Pointer to wrap control info.
exp_mode_change Flag to expect a mode change.
Returns:
Nothing.

void WRAP_exp_phys_start_idle ( WRAP_Info info_p,
int  id,
unsigned int  run 
)

Expect LIM telemetry from a Physics-Start in QUIESCENT mode.

Parameters:
info_p Pointer to wrap control info.
id Current test step id.
run Expected run parameter value.
Returns:
Nothing.

void WRAP_exp_phys_start_idle_bad ( WRAP_Info info_p,
int  id,
unsigned int  run 
)

Expect LIM tlm from rejected Physics-Start cmd in QUIESCENT mode.

Parameters:
info_p Pointer to wrap control info.
id Current test step id.
run Expected run parameter value.
Returns:
Nothing.

void WRAP_exp_phys_start_normal ( WRAP_Info info_p  ) 

Expect LIM telemetry from a normal Physics-Start command.

Parameters:
info_p Pointer to wrap control info.
Returns:
Nothing.

void WRAP_exp_phys_start_status ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_PHYSICS_START_STATUS action.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_phys_start_too ( WRAP_Info info_p,
int  id,
unsigned int  run 
)

Expect LIM telemetry from a Physics-Start in TOO mode.

Parameters:
info_p Pointer to wrap control info.
id Current test step id.
run Expected run parameter value.
Returns:
Nothing.

void WRAP_exp_phys_start_too_bad ( WRAP_Info info_p,
int  id,
unsigned int  run 
)

Expect LIM telemetry from a rejected Physics-Start in TOO mode.

Parameters:
info_p Pointer to wrap control info.
id Current test step id.
run Expected run parameter value.
Returns:
Nothing.

void WRAP_exp_phys_stop ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_PHYSICS_STOP action.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_phys_stop_full ( WRAP_Info info_p  ) 

Expect LIM telemetry from a Physics-Stop command.

Parameters:
info_p Pointer to wrap control info.
Returns:
Nothing.

void WRAP_exp_phys_stop_status ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_PHYSICS_STOP_STATUS action.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_pid_primary ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_PID_SELECT_PRI action.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_pid_redundant ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_PID_SELECT_RED action.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

TLM_Data * wrap_exp_pkt ( WRAP_Info info_p,
unsigned int  exp_apid,
unsigned int  exp_fc,
ITC_QueueID  exp_queue 
) [static]

Set expected incoming packet values.

Parameters:
info_p Pointer to wrap control info.
exp_apid Expected APID value.
exp_fc Expected Function Code value.
exp_queue Expected arrival queue.
Returns:
Nothing.

void WRAP_exp_power_off ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_POWER_OFF action.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_power_on ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_POWER_ON action.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_rcv_slew_accept ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_RCV_SLEW_ACCEPT action.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_rcv_slew_reject ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_RCV_SLEW_REJECT action.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_rep_expire ( WRAP_Info info_p,
int  pri_enable,
int  red_enable 
)

Expect LIM tlm from expiration of the repoint timer.

Parameters:
info_p Pointer to wrap control info.
pri_enable Flag indicating primary int enable expected.
red_enable Flag indicating redundant int enable expected.
Returns:
Nothing.

void WRAP_exp_rep_req_nopend ( WRAP_Info info_p,
unsigned int  exp_remain,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_REP_REQ_STATE_CHANGE action and repoint request not PENDING.

Parameters:
info_p Pointer to wrap control info.
exp_remain Expected ARR time remaining.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_rep_req_pend ( WRAP_Info info_p,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_REP_REQ_STATE_CHANGE action and repoint request PENDING.

Parameters:
info_p Pointer to wrap control info.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_saa_config ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_SAA_CONFIG action.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_saa_enter ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_SAA_ENTER action.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_saa_enter_bad ( WRAP_Info info_p  ) 

Expect LIM telemetry from an SAA-ENTER cmd when LPA stop fails.

Parameters:
info_p Pointer to wrap control info.
Returns:
Nothing.

void WRAP_exp_saa_enter_full ( WRAP_Info info_p  ) 

Expect LIM telemetry from an SAA-ENTER cmd when LPA is RUNNING.

Parameters:
info_p Pointer to wrap control info.
Returns:
Nothing.

void WRAP_exp_saa_enter_idle ( WRAP_Info info_p  ) 

Expect LIM telemetry from an SAA-ENTER cmd when LPA is IDLE.

Parameters:
info_p Pointer to wrap control info.
Returns:
Nothing.

void WRAP_exp_saa_enter_stop ( WRAP_Info info_p  ) 

Expect LIM telemetry from an SAA-ENTER cmd when LPA is STOPPING.

Parameters:
info_p Pointer to wrap control info.
Returns:
Nothing.

void WRAP_exp_saa_exit ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_SAA_EXIT action.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_saa_exit_full ( WRAP_Info info_p,
int  exp_restart,
LIM_Operating_Mode  exp_mode 
)

Expect LIM telemetry from an SAA-EXIT command.

Parameters:
info_p Pointer to wrap control info.
exp_restart Flag to indicate Physics-Restart action expected.
exp_mode Expected operating mode
Returns:
Nothing.

void WRAP_exp_sc_slew_req ( WRAP_Info info_p  ) 

Expect a Slew-Request command.

Parameters:
info_p Pointer to wrap control info.
Returns:
Nothing.

void WRAP_exp_send_cal_start ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_CAL_START action.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_send_slew_req ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_SEND_SLEW_REQ action.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_shed_alert ( WRAP_Info info_p  ) 

Expect a Load-Shed-Alert telemetry packet.

Parameters:
info_p Pointer to wrap control info.
Returns:
Nothing.

void WRAP_exp_shed_begin ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_SHED_BEGIN action.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_shed_end ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_SHED_END action.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_siu_reboot ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_SIU_REBOOT action.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_slew_req_tlm ( WRAP_Info info_p  ) 

Expect a Slew-Request telemetry packet.

Parameters:
info_p Pointer to wrap control info.
Returns:
Nothing.

void WRAP_exp_slew_rsp_tlm ( WRAP_Info info_p,
int  accepted 
)

Expect a Slew-Request response telemetry packet.

Parameters:
info_p Pointer to wrap control info.
accepted Expected accepted value within the telemetry.
Returns:
Nothing.

void WRAP_exp_start ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_START action.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_stop ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_STOP action.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

LIM_Info * wrap_exp_tlm ( WRAP_Info info_p  )  [static]

Set expected LIM telemetry values.

Parameters:
info_p Pointer to wrap control info.
Returns:
Nothing.

void WRAP_exp_too_abort_full ( WRAP_Info info_p,
int  exp_not_started 
)

Expect LIM telemetry from a TOO-Abort command.

Parameters:
info_p Pointer to wrap control info.
exp_not_started Flag indicating too-not-started action expected.
Returns:
Nothing.

void WRAP_exp_too_idle ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_TOO_STATE_CHANGE action and TOO not READY.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_too_not_started ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_TOO_STATE_CHANGE action and TOO not STARTED.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_too_ready ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status,
unsigned int  exp_remain 
)

Expect LIM telemetry with LIM_ACTION_TOO_STATE_CHANGE action and TOO READY.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
exp_remain Expected TOO time remaining.
Returns:
Nothing.

void WRAP_exp_too_start_full ( WRAP_Info info_p,
int  exp_ready,
int  exp_reconf,
unsigned int  dwell_secs 
)

Expect LIM telemetry from a TOO-Start command.

Parameters:
info_p Pointer to wrap control info.
exp_ready Flag to expect READY action telemetry.
exp_reconf Flag to expect RECONFIG action telemetry.
dwell_secs Dwell time, in seconds.
Returns:
Nothing.

void WRAP_exp_too_start_idle ( WRAP_Info info_p,
int  id,
int  run,
unsigned int  dwell_secs 
)

Expect LIM telemetry from a TOO-Start command in QUIESCENT mode.

Parameters:
info_p Pointer to wrap control info.
id Current test step id.
run Expected run parameter value.
dwell_secs Expected max dwell time, in seconds.
Returns:
Nothing.

void WRAP_exp_too_start_phys ( WRAP_Info info_p,
unsigned int  dwell_secs 
)

Expect LIM telemetry from a TOO-Start command in PHYSICS mode.

Parameters:
info_p Pointer to wrap control info.
dwell_secs Expected max dwell time, in seconds.
Returns:
Nothing.

void WRAP_exp_too_started ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_TOO_STATE_CHANGE action and TOO STARTED.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_virt_mode_idle ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_VIRT_MODE_CHANGE action and LIM_VIRT_MODE_IDLE virtual mode.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_virt_mode_ready ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_VIRT_MODE_CHANGE action and LIM_VIRT_MODE_READY virtual mode.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void WRAP_exp_virt_mode_started ( WRAP_Info info_p,
int  tlm_index,
unsigned int  exp_status 
)

Expect LIM telemetry with LIM_ACTION_VIRT_MODE_CHANGE action and LIM_VIRT_MODE_STARTED virtual mode.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void wrap_exp_virt_mode_tlm ( WRAP_Info info_p,
int  tlm_index,
LIM_Virtual_Mode  exp_virt_mode,
unsigned int  exp_status 
) [static]

Expect LIM telemetry with the LIM_ACTION_VIRT_MODE_CHANGE action.

Parameters:
info_p Pointer to wrap control info.
tlm_index Index of the telemetry in the arrival order.
exp_virt_mode Expected virt_mode value within the telemetry.
exp_status Expected last_status value within the telemetry.
Returns:
Nothing.

void wrap_free_cb ( ITC_QueueItem *  qitem_p,
unsigned int  status_in,
void *  parm_0,
void *  parm_1,
void *  parm_2,
unsigned int  tx 
) [static]

Callback for LIM memory pool packet frees.

Parameters:
qitem_p Pointer to queue item.
status_in Completion code.
parm_0 Callback parameter 0 (original cb_parm_0 value).
parm_1 Callback parameter 1 (original free_cb value).
parm_2 Callback parameter 2 (location to store status_in).
tx Flag indicating sender-side failure (unused).
Returns:
Nothing.

int WRAP_get_info ( test_Test_Descriptor td_p,
int  id,
WRAP_Info info_p 
)

Call LIM_get_info() and validate the results.

Parameters:
td_p Pointer to test descriptor.
id ID to use for user messages.
info_p Pointer to wrap control info.
Return values:
0 Success.
-1 Failure.

int WRAP_init ( test_Test_Descriptor td_p,
int  id,
WRAP_Info info_p 
)

Call LIM_initialize() and validate the results.

Parameters:
td_p Pointer to test descriptor.
id ID to use for user messages.
info_p Pointer to wrap control info.
Return values:
0 Success.
-1 Failure.

int WRAP_init_info ( WRAP_Info info_p  ) 

Init a wrap info structure.

Parameters:
info_p Pointer to wrap info.
Returns:
Nothing.

int WRAP_init_with_db ( test_Test_Descriptor td_p,
int  id,
WRAP_Info info_p 
)

Call LIM_init_with_db() and validate the results.

Parameters:
td_p Pointer to test descriptor.
id ID to use for user messages.
info_p Pointer to wrap control info.
Return values:
0 Success.
-1 Failure.

int WRAP_send_cmd ( test_Test_Descriptor td_p,
int  id,
WRAP_Info info_p,
unsigned char *  pkt_p,
unsigned int  pkt_bytes,
ITC_TaskID  source_tid,
ITC_TaskID  target_tid,
ITC_QueueID  target_qid 
)

Send a command to a task and verify the results.

Parameters:
td_p Pointer to test descriptor.
id ID to use for user messages.
info_p Pointer to wrap control info.
pkt_p Pointer to command packet.
pkt_bytes Length of command packet, in bytes.
source_tid ID of source task.
target_tid ID of target task.
target_qid ID of target queue.
Return values:
0 Success.
-1 Failure.

int WRAP_shutdown ( test_Test_Descriptor td_p,
int  id,
WRAP_Info info_p 
)

Call LIM_shutdown() and validate the results.

Parameters:
td_p Pointer to test descriptor.
id ID to use for user messages.
info_p Pointer to wrap control info.
Return values:
0 Success.
-1 Failure.

int WRAP_start ( test_Test_Descriptor td_p,
int  id,
WRAP_Info info_p 
)

Call LIM_start() and validate the results.

Parameters:
td_p Pointer to test descriptor.
id ID to use for user messages.
info_p Pointer to wrap control info.
Return values:
0 Success.
-1 Failure.

int WRAP_start_LIM ( test_Test_Descriptor td_p,
int  id,
WRAP_Info info_p 
)

Call LIM_initialize() and LIM_start() to start the LIM task.

Parameters:
td_p Pointer to test descriptor.
id ID to use for user messages.
info_p Pointer to wrap control info.
Return values:
0 Success.
-1 Failure.

int WRAP_start_with_db ( test_Test_Descriptor td_p,
int  id,
WRAP_Info info_p 
)

Call LIM_start_with_db() and validate the results.

Parameters:
td_p Pointer to test descriptor.
id ID to use for user messages.
info_p Pointer to wrap control info.
Return values:
0 Success.
-1 Failure.

int WRAP_stop ( test_Test_Descriptor td_p,
int  id,
WRAP_Info info_p 
)

Call LIM_stop() and validate the results.

Parameters:
td_p Pointer to test descriptor.
id ID to use for user messages.
info_p Pointer to wrap control info.
Return values:
0 Success.
-1 Failure.

int WRAP_stop_LIM ( test_Test_Descriptor td_p,
int  id,
WRAP_Info info_p 
)

Call LIM_stop() and LIM_shutdown() to stop the LIM task.

Parameters:
td_p Pointer to test descriptor.
id ID to use for user messages.
info_p Pointer to wrap control info.
Return values:
0 Success.
-1 Failure.


Generated on Tue Sep 22 16:23:44 2009 by  doxygen 1.5.3