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

Definition of defines, structs and functions for geofence monitoring app. More...

#include "cfe.h"
#include "cfe_error.h"
#include "cfe_evs.h"
#include "cfe_sb.h"
#include "cfe_es.h"
#include "cfe_platform_cfg.h"
#include <string.h>
#include "GeofenceMonitor.h"
#include "Icarous_msgids.h"
#include "Icarous_msg.h"
#include "geofence_tbl.c"
#include "geofence_msg.h"
#include "geofence_msgids.h"
#include "trajectory_msgids.h"
#include "sch_msgids.h"

Go to the source code of this file.

Classes

struct  geofenceAppData_t
 Struct to hold geofence app data. More...
 

Macros

#define GEOFENCE_STARTUP_INF_EID   0
 
#define GEOFENCE_COMMAND_ERR_EID   1
 
#define GEOFENCE_RECEIVED_FENCE_EID   3
 
#define GEOFENCE_PIPE_DEPTH   100
 
#define GEOFENCE_PIPE_NAME   "GEOFENCE_PIPE"
 
#define GEOFENCE_MAJOR_VERSION   1
 
#define GEOFENCE_MINOR_VERSION   0
 

Functions

void GEOFENCE_AppMain (void)
 
void GEOFENCE_AppInit (void)
 
void GEOFENCE_AppCleanUp (void)
 
void GEOFENCE_ProcessPacket (void)
 
int32_t GeofenceTableValidationFunc (void *TblPtr)
 

Variables

geofenceAppData_t geofenceAppData
 global variable to hold app data
 

Detailed Description

Author
Swee Balachandran

Function Documentation

◆ GEOFENCE_AppCleanUp()

void GEOFENCE_AppCleanUp ( void  )

App clean up

◆ GEOFENCE_AppInit()

void GEOFENCE_AppInit ( void  )

App initialization

◆ GEOFENCE_AppMain()

void GEOFENCE_AppMain ( void  )

App's main entry point

◆ GEOFENCE_ProcessPacket()

void GEOFENCE_ProcessPacket ( void  )

Function to process received packets

◆ GeofenceTableValidationFunc()

int32_t GeofenceTableValidationFunc ( void *  TblPtr)

Function to validate table parameters

Parameters
TblPtrpointer to table
Returns
0 if success