CCSDS
Functions
tmtc_control_cwrapper.cpp File Reference

Source file of the TMTC control class c-wrapper. More...

#include <cstdint>
#include <cstring>
#include "tmtc_control.h"
#include "tmtc_control_cwrapper.h"

Functions

void tmtc_control_init (const uint16_t *pu16_SCIDs, const uint8_t u8_NumberOfSCIDs, void *p_TfTcContext, TTfTcCallback *p_TfTcCallback, void *p_VC0SpContext, TSpCallback *p_VC0SpCallback)
 
void tmtc_control_set_tm_ocf_callback (const uint8_t u8_VirtualChannelID, void *p_TfTmOcfContext, TTfTmOcfCallback *p_TfTmOcfCallback)
 
void tmtc_control_set_tm_callback (const uint8_t u8_VirtualChannelID, void *p_SpContext, TSpCallback *p_SpCallback)
 
uint16_t tmtc_control_get_tm_scid_error_count (void)
 
uint16_t tmtc_control_get_tm_vcfc_error_count (void)
 
uint16_t tmtc_control_get_tm_mcfc_error_count (void)
 
uint16_t tmtc_control_get_tm_sync_error_count (void)
 
uint16_t tmtc_control_get_tm_checksum_error_count (void)
 
uint16_t tmtc_control_get_tm_overflow_error_count (void)
 
void tmtc_control_clear_error_counters (void)
 
void tmtc_control_process_tf_tm (const uint8_t *pu8_Data, const uint16_t u16_DataSize)
 
int32_t tmtc_control_send_tc (const uint8_t u8_VirtualChannelID, const bool b_BypassFlag, const uint16_t u16_APID, const uint16_t u16_ApidSeqNr, const uint8_t *pu8_Data, const uint16_t u16_DataSize)
 
int32_t tmtc_control_send_init_ad (const uint8_t u8_VirtualChannelID)
 

Detailed Description

Source file of the TMTC control class c-wrapper.

Author
Stefan Trippler