GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LIM / V1-19-2
Constituent: lim_unit_test     Tag: rad750
#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"
Include dependency graph for lim_util_wrap.c:
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_Data * | wrap_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_Info * | wrap_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) |
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. |
** CVS $Id: lim_util_wrap.c,v 1.38 2008/02/13 14:21:48 dmay Exp $ **
|
Call LIM_capture_cal_with_db() and validate the results.
|
|
Call LIM_capture_diag() and validate the results.
|
|
Call LIM_capture_physics_with_db() and validate the results.
|
|
Verify expected telemetry.
|
|
Expect LIM telemetry with the specified action.
|
|
Expect LIM telemetry for ARR-Abort.
|
|
Expect LIM telemetry with LIM_ACTION_ARR_STATE_CHANGE action and ARR READY and GRB 0 state.
|
|
Expect LIM telemetry with LIM_ACTION_ARR_STATE_CHANGE action and ARR READY and GRB 1 state.
|
|
Expect LIM telemetry with LIM_ACTION_ARR_STATE_CHANGE action and ARR READY and GRB 2 state.
|
|
Expect LIM telemetry with LIM_ACTION_ARR_STATE_CHANGE action and ARR not READY.
|
|
Expect LIM telemetry with LIM_ACTION_ARR_STATE_CHANGE action and ARR READY.
|
|
Expect LIM tlm for ARR-Response.
|
|
Expect LIM telemetry from an ARR-Start command.
|
|
Expect LIM telemetry with LIM_ACTION_BIAS_ACD action.
|
|
Expect LIM telemetry with LIM_ACTION_BIAS_CAL action.
|
|
Expect LIM telemetry with LIM_ACTION_BIAS_TKR action.
|
|
Expect LIM telemetry from a Cal-Abort command.
|
|
Expect LIM telemetry with LIM_ACTION_CAL_COMPLETE action.
|
|
Expect LIM telemetry from a Cal-Complete message.
|
|
Expect LIM telemetry from a Cal-Start command.
|
|
Expect LIM telemetry with LIM_ACTION_CAL_START_STATUS action.
|
|
Expect LIM telemetry from a Diag-Abort command.
|
|
Expect LIM telemetry with LIM_ACTION_DIAG_ABORT_STATUS action.
|
|
Expect LIM telemetry with LIM_ACTION_DIAG_COMPLETE action.
|
|
Expect LIM telemetry from a Diag-Complete message.
|
|
Expect LIM telemetry from a Diag-Start command.
|
|
Expect LIM telemetry with LIM_ACTION_DIAG_START_STATUS action.
|
|
Expect LIM telemetry with LIM_ACTION_EVENT_INSERT action.
|
|
Expect LIM telemetry with LIM_ACTION_EVENT_REMOVE action.
|
|
Expect LIM telemetry with LIM_ACTION_CAL_ABORT action.
|
|
Expect LIM telemetry with LIM_ACTION_CAL_OTHER action.
|
|
Expect LIM telemetry with LIM_ACTION_DIAG_ABORT action.
|
|
Expect LIM telemetry with LIM_ACTION_DIAG_OTHER action.
|
|
Expect LIM telemetry with LIM_ACTION_DIAG_START action.
|
|
Expect LIM tlm for GBM-Calcinfo.
|
|
Expect LIM telemetry for GBM-Closeout.
|
|
Expect LIM telemetry with LIM_ACTION_GBM_COMMAND action.
|
|
Expect LIM telemetry for GBM interrupt in ARR mode.
|
|
Expect LIM telemetry for GBM interrupt in CALIBRATION mode.
|
|
Expect LIM telemetry for GBM interrupt with LPA idle.
|
|
Expect LIM telemetry for GBM interrupt with LPA running.
|
|
Expect LIM telemetry with LIM_ACTION_GBM_STATE_CHANGE action and primary interrupts allowed.
|
|
Expect LIM telemetry with LIM_ACTION_PID_DIS_GBM_PRI action.
|
|
Expect LIM telemetry with LIM_ACTION_GBM_STATE_CHANGE action and primary interrupts not allowed.
|
|
Expect LIM telemetry with LIM_ACTION_PID_EN_GBM_PRI action.
|
|
Expect LIM telemetry with LIM_ACTION_GBM_INT_PRI action.
|
|
Expect LIM telemetry with LIM_ACTION_GBM_STATE_CHANGE action and redundant interrupts allowed.
|
|
Expect LIM telemetry with LIM_ACTION_PID_DIS_GBM_RED action.
|
|
Expect LIM telemetry with LIM_ACTION_GBM_STATE_CHANGE action and redundant interrupts not allowed.
|
|
Expect LIM telemetry with LIM_ACTION_PID_EN_GBM_RED action.
|
|
Expect LIM telemetry with LIM_ACTION_GBM_INT_RED action.
|
|
Expect LIM telemetry with LIM_ACTION_GBM_STATE_CHANGE action and GBM repoint requests allowed.
|
|
Expect LIM telemetry with LIM_ACTION_GBM_STATE_CHANGE action and GBM repoint requests not allowed.
|
|
Expect LIM telemetry with LIM_ACTION_RCV_GBM_REP_NOREC action.
|
|
Expect LIM telemetry with LIM_ACTION_RCV_GBM_REP_REC action.
|
|
Expect LIM telemetry with LIM_ACTION_RCV_GRB_CONFIRM action.
|
|
Expect LIM telemetry from a GRB-Confirmed cmd when LPA is IDLE.
|
|
Expect LIM telemetry from a normal GRB-Confirmed command.
|
|
Expect LIM telemetry from a GRB-Confirmed when LPA is RUNNING.
|
|
Expect LIM tlm from expiration of the GRB timer.
|
|
Expect LIM telemetry for GRB-Finished.
|
|
Expect LIM telemetry for GRB-Suspected.
|
|
Expect LIM telemetry with LIM_ACTION_HV_STATE_CHANGE action and HV enabling allowed.
|
|
Expect LIM telemetry with LIM_ACTION_HV_STATE_CHANGE action and HV enabling not allowed.
|
|
Expect LIM telemetry with LIM_ACTION_LCI_STATE_CHANGE action and LIM_OTHER_STATE_IDLE lci_state.
|
|
Expect LIM telemetry with LIM_ACTION_LCI_STATE_CHANGE action and LIM_OTHER_STATE_RUNNING lci_state.
|
|
Expect LIM telemetry with LIM_ACTION_LCI_STATE_CHANGE action and LIM_OTHER_STATE_STOPPING lci_state.
|
|
Expect LIM telemetry with LIM_ACTION_LDF_STATE_CHANGE action and LIM_OTHER_STATE_IDLE ldf_state.
|
|
Expect LIM telemetry with LIM_ACTION_LDF_STATE_CHANGE action and LIM_OTHER_STATE_RUNNING ldf_state.
|
|
Expect LIM telemetry with LIM_ACTION_LDF_STATE_CHANGE action and LIM_OTHER_STATE_STOPPING ldf_state.
|
|
Expect LIM telemetry with LIM_ACTION_LPA_STATE_CHANGE action and LIM_OTHER_STATE_IDLE lpa_state.
|
|
Expect LIM telemetry with LIM_ACTION_LPA_STATE_CHANGE action and LIM_OTHER_STATE_PAUSED lpa_state.
|
|
Expect LIM telemetry with LIM_ACTION_LPA_STATE_CHANGE action and LIM_OTHER_STATE_PAUSING lpa_state.
|
|
Expect LIM telemetry with LIM_ACTION_LPA_STATE_CHANGE action and LIM_OTHER_STATE_RUNNING lpa_state.
|
|
Expect LIM telemetry with LIM_ACTION_LPA_STATE_CHANGE action and LIM_OTHER_STATE_STOPPING lpa_state.
|
|
Expect LIM telemetry with LIM_ACTION_LTC_STOP action.
|
|
Expect LIM telemetry with LIM_ACTION_MAIN_FEED_ON action.
|
|
Expect LIM telemetry with LIM_ACTION_NON_SAA_CONFIG action.
|
|
Expect LIM telemetry with LIM_ACTION_OP_MODE_CHANGE action and LIM_OP_MODE_ARR operating mode.
|
|
Expect LIM telemetry with LIM_ACTION_OP_MODE_CHANGE action and LIM_OP_MODE_ARR_SAA operating mode.
|
|
Expect LIM telemetry with LIM_ACTION_OP_MODE_CHANGE action and LIM_OP_MODE_CALIBRATION operating mode.
|
|
Expect LIM telemetry with LIM_ACTION_OP_MODE_CHANGE action and LIM_OP_MODE_DIAGNOSTIC operating mode.
|
|
Expect LIM telemetry with LIM_ACTION_OP_MODE_CHANGE action and LIM_OP_MODE_HOLD operating mode.
|
|
Expect LIM telemetry with LIM_ACTION_OP_MODE_CHANGE action and LIM_OP_MODE_PHYSICS_SAA operating mode.
|
|
Expect LIM telemetry with LIM_ACTION_OP_MODE_CHANGE action and LIM_OP_MODE_PHYSICS operating mode.
|
|
Expect LIM telemetry with LIM_ACTION_OP_MODE_CHANGE action and LIM_OP_MODE_QUIESCENT operating mode.
|
|
Expect LIM telemetry with the LIM_ACTION_OP_MODE_CHANGE action.
|
|
Expect LIM telemetry with LIM_ACTION_OP_MODE_CHANGE action and LIM_OP_MODE_TOO operating mode.
|
|
Expect LIM telemetry with LIM_ACTION_OP_MODE_CHANGE action and LIM_OP_MODE_TOO_SAA operating mode.
|
|
Expect LIM telemetry with LIM_ACTION_PHYSICS_ACTIVE action.
|
|
Expect LIM telemetry with LIM_ACTION_PHYSICS_COMPLETE action.
|
|
Expect LIM telemetry from a Physics-Complete message.
|
|
Expect LIM telemetry with LIM_ACTION_PHYSICS_GBM_INT action.
|
|
Expect LIM telemetry with LIM_ACTION_PHYSICS_IDLE action.
|
|
Expect LIM telemetry with LIM_ACTION_PHYSICS_RESTART action.
|
|
Expect LIM telemetry with LIM_ACTION_PHYSICS_SET_MODE action.
|
|
Expect LIM telemetry with LIM_ACTION_PHYSICS_START action.
|
|
Expect LIM telemetry from a Physics-Start in ARR/GRB0 mode.
|
|
Expect LIM tlm from rejected Physics-Start cmd in ARR/GRB0 mode.
|
|
Expect LIM telemetry from a Physics-Start in ARR/GRB0/IDLE mode.
|
|
Expect LIM telemetry from a Physics-Start in ARR/GRB1 mode.
|
|
Expect LIM telemetry from a Physics-Start in ARR/GRB1/IDLE mode.
|
|
Expect LIM telemetry from a Physics-Start command.
|
|
Expect LIM telemetry from a Physics-Start in QUIESCENT mode.
|
|
Expect LIM tlm from rejected Physics-Start cmd in QUIESCENT mode.
|
|
Expect LIM telemetry from a normal Physics-Start command.
|
|
Expect LIM telemetry with LIM_ACTION_PHYSICS_START_STATUS action.
|
|
Expect LIM telemetry from a Physics-Start in TOO mode.
|
|
Expect LIM telemetry from a rejected Physics-Start in TOO mode.
|
|
Expect LIM telemetry with LIM_ACTION_PHYSICS_STOP action.
|
|
Expect LIM telemetry from a Physics-Stop command.
|
|
Expect LIM telemetry with LIM_ACTION_PHYSICS_STOP_STATUS action.
|
|
Expect LIM telemetry with LIM_ACTION_PID_SELECT_PRI action.
|
|
Expect LIM telemetry with LIM_ACTION_PID_SELECT_RED action.
|
|
Set expected incoming packet values.
|
|
Expect LIM telemetry with LIM_ACTION_POWER_OFF action.
|
|
Expect LIM telemetry with LIM_ACTION_POWER_ON action.
|
|
Expect LIM telemetry with LIM_ACTION_RCV_SLEW_ACCEPT action.
|
|
Expect LIM telemetry with LIM_ACTION_RCV_SLEW_REJECT action.
|
|
Expect LIM tlm from expiration of the repoint timer.
|
|
Expect LIM telemetry with LIM_ACTION_REP_REQ_STATE_CHANGE action and repoint request not PENDING.
|
|
Expect LIM telemetry with LIM_ACTION_REP_REQ_STATE_CHANGE action and repoint request PENDING.
|
|
Expect LIM telemetry with LIM_ACTION_SAA_CONFIG action.
|
|
Expect LIM telemetry with LIM_ACTION_SAA_ENTER action.
|
|
Expect LIM telemetry from an SAA-ENTER cmd when LPA stop fails.
|
|
Expect LIM telemetry from an SAA-ENTER cmd when LPA is RUNNING.
|
|
Expect LIM telemetry from an SAA-ENTER cmd when LPA is IDLE.
|
|
Expect LIM telemetry from an SAA-ENTER cmd when LPA is STOPPING.
|
|
Expect LIM telemetry with LIM_ACTION_SAA_EXIT action.
|
|
Expect LIM telemetry from an SAA-EXIT command.
|
|
Expect a Slew-Request command.
|
|
Expect LIM telemetry with LIM_ACTION_CAL_START action.
|
|
Expect LIM telemetry with LIM_ACTION_SEND_SLEW_REQ action.
|
|
Expect a Load-Shed-Alert telemetry packet.
|
|
Expect LIM telemetry with LIM_ACTION_SHED_BEGIN action.
|
|
Expect LIM telemetry with LIM_ACTION_SHED_END action.
|
|
Expect LIM telemetry with LIM_ACTION_SIU_REBOOT action.
|
|
Expect a Slew-Request telemetry packet.
|
|
Expect a Slew-Request response telemetry packet.
|
|
Expect LIM telemetry with LIM_ACTION_START action.
|
|
Expect LIM telemetry with LIM_ACTION_STOP action.
|
|
Set expected LIM telemetry values.
|
|
Expect LIM telemetry from a TOO-Abort command.
|
|
Expect LIM telemetry with LIM_ACTION_TOO_STATE_CHANGE action and TOO not READY.
|
|
Expect LIM telemetry with LIM_ACTION_TOO_STATE_CHANGE action and TOO not STARTED.
|
|
Expect LIM telemetry with LIM_ACTION_TOO_STATE_CHANGE action and TOO READY.
|
|
Expect LIM telemetry from a TOO-Start command.
|
|
Expect LIM telemetry from a TOO-Start command in QUIESCENT mode.
|
|
Expect LIM telemetry from a TOO-Start command in PHYSICS mode.
|
|
Expect LIM telemetry with LIM_ACTION_TOO_STATE_CHANGE action and TOO STARTED.
|
|
Expect LIM telemetry with LIM_ACTION_VIRT_MODE_CHANGE action and LIM_VIRT_MODE_IDLE virtual mode.
|
|
Expect LIM telemetry with LIM_ACTION_VIRT_MODE_CHANGE action and LIM_VIRT_MODE_READY virtual mode.
|
|
Expect LIM telemetry with LIM_ACTION_VIRT_MODE_CHANGE action and LIM_VIRT_MODE_STARTED virtual mode.
|
|
Expect LIM telemetry with the LIM_ACTION_VIRT_MODE_CHANGE action.
|
|
Callback for LIM memory pool packet frees.
|
|
Call LIM_get_info() and validate the results.
|
|
Call LIM_initialize() and validate the results.
|
|
Init a wrap info structure.
|
|
Call LIM_init_with_db() and validate the results.
|
|
Send a command to a task and verify the results.
|
|
Call LIM_shutdown() and validate the results.
|
|
Call LIM_start() and validate the results.
|
|
Call LIM_initialize() and LIM_start() to start the LIM task.
|
|
Call LIM_start_with_db() and validate the results.
|
|
Call LIM_stop() and validate the results.
|
|
Call LIM_stop() and LIM_shutdown() to stop the LIM task.
|