ICAROUS
All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros Modules Pages
Functions | Variables
apInterface.c File Reference

function definitions for apInterface app More...

#include <Icarous_msg.h>
#include "apInterface.h"
#include "apInterface_version.h"
#include "apIntf_tbl.c"

Functions

void APINTERFACE_AppMain (void)
 This is the main entry point for your application that will be used by cFS. More...
 
void APINTERFACE_AppInit (void)
 Initialize app data: set up pipes, subscribe to messages, read table, initialize data. More...
 
void APINTERFACE_InitializeAPPorts ()
 Open ports to autopilot and intialize ports here. More...
 
void APINTERFACE_ProcessAPData ()
 Read data from the autopilot and construct software bus messages. More...
 
void APINTERFACE_GetADSBData ()
 Read ADSB data from ADSB transponder and publish traffic data on software bus. More...
 
void APINTERFACE_ProcessSBData ()
 Read data from software bus and send data to autopilot. More...
 
void APINTERFACE_AppCleanUp ()
 
int32_t ApInterfaceTableValidationFunc (void *TblPtr)
 

Variables

CFE_EVS_BinFilter_t APInterface_EventFilters []
 Event filter definition for ardupilot. More...
 

Function Documentation

◆ APINTERFACE_AppCleanUp()

void APINTERFACE_AppCleanUp ( void  )

Clean up variables

◆ APINTERFACE_AppInit()

void APINTERFACE_AppInit ( void  )

Initialize app properties

◆ APINTERFACE_AppMain()

void APINTERFACE_AppMain ( void  )

Entry point for app

◆ APINTERFACE_GetADSBData()

void APINTERFACE_GetADSBData ( )

Process ADSB data

◆ APINTERFACE_InitializeAPPorts()

void APINTERFACE_InitializeAPPorts ( )

Initialize ports to the autopilot

◆ APINTERFACE_ProcessAPData()

void APINTERFACE_ProcessAPData ( void  )

Process data from the autopilot

◆ APINTERFACE_ProcessSBData()

void APINTERFACE_ProcessSBData ( void  )

Process data from the SB message

◆ ApInterfaceTableValidationFunc()

int32_t ApInterfaceTableValidationFunc ( void *  TblPtr)

Validate table data

Parameters
*TblPtrpointer to table

Variable Documentation

◆ APInterface_EventFilters

CFE_EVS_BinFilter_t APInterface_EventFilters[]
Initial value:
=
{
{APINTERFACE_STARTUP_INF_EID, 0x0000},
{APINTERFACE_COMMAND_ERR_EID, 0x0000},
}