##// END OF EJS Templates
Minor bug corrected in the tc_acceptance function...
Minor bug corrected in the tc_acceptance function when the TC is corrupted, the packet TM_LFR_TC_EXE_CORRUPTED is sent

File last commit:

r41:d284d0ac13ca default
r42:939c648d248c default
Show More
tm_lfr_tc_exe.h
24 lines | 987 B | text/x-c | CLexer
paul
tm_lfr_tc_exe.c and .h added to the repository
r41 #ifndef TM_LFR_TC_EXE_H_INCLUDED
#define TM_LFR_TC_EXE_H_INCLUDED
#include <rtems.h>
#include <stdio.h>
#include "fsw_params.h"
extern time_management_regs_t *time_management_regs;
extern Packet_TM_LFR_HK_t housekeeping_packet;
int send_tm_lfr_tc_exe_success(ccsdsTelecommandPacket_t *TC, rtems_id queue_id);
int send_tm_lfr_tc_exe_inconsistent(ccsdsTelecommandPacket_t *TC, rtems_id queue_id,
unsigned char byte_position, unsigned char rcv_value);
int send_tm_lfr_tc_exe_not_executable(ccsdsTelecommandPacket_t *TC, rtems_id queue_id);
int send_tm_lfr_tc_exe_not_implemented(ccsdsTelecommandPacket_t *TC, rtems_id queue_id);
int send_tm_lfr_tc_exe_error(ccsdsTelecommandPacket_t *TC, rtems_id queue_id);
int send_tm_lfr_tc_exe_corrupted(ccsdsTelecommandPacket_t *TC, rtems_id queue_id,
unsigned char *computed_CRC, unsigned char *currentTC_LEN_RCV);
#endif // TM_LFR_TC_EXE_H_INCLUDED