N-sim
Emulation and simulation of
Wireless Sensor Networks



   Home


   Project Page


   Download


   CVS



   Installation


   Configuration


   Plug-ins




 Hosted by
SourceForge.net Logo

/home/brennan/n-sim/Vaike/linux/system-addons/apps/vehicle-classify.c File Reference

#include <int_fft.h>
#include <stdio.h>
#include <stdlib.h>
#include <ipc.h>
#include <sensor_app.h>

Go to the source code of this file.

Functions

long classify (long fft_array[], long array_len)
void sensor_app ()
int main (int argc, char *argv[])

Variables

int long_len = sizeof(long)
int ipc_data_port
int ipc_cmd_port
const long s = 100
const long a = 22
const char * my_app = "vehicle-classify"


Function Documentation

long classify long  fft_array[],
long  array_len
 

Definition at line 11 of file vehicle-classify.c.

References long_len, produce(), and Soap_Long.

Referenced by sensor_app().

int main int  argc,
char *  argv[]
 

Definition at line 49 of file vehicle-classify.c.

References cmd_thread, data_thread, initialize_ipc(), ipc_cmd_port, ipc_data_port, quitting(), and sensor_app().

void sensor_app  ) 
 

Definition at line 24 of file vehicle-classify.c.

References a, classify(), consume(), fix_fft(), long_len, and s.

Referenced by main().


Variable Documentation

const long a = 22
 

Definition at line 21 of file vehicle-classify.c.

Referenced by Coordinates::coord_distance(), Coordinates::coords2meters(), fix_dot(), Coordinates::meters2coords(), and sensor_app().

int ipc_cmd_port
 

Definition at line 20 of file vehicle-classify.c.

Referenced by main().

int ipc_data_port
 

Definition at line 20 of file vehicle-classify.c.

Referenced by main().

int long_len = sizeof(long)
 

Definition at line 9 of file vehicle-classify.c.

Referenced by classify(), and sensor_app().

const char* my_app = "vehicle-classify"
 

Definition at line 22 of file vehicle-classify.c.

Referenced by main(), and produce().

const long s = 100
 

Definition at line 21 of file vehicle-classify.c.

Referenced by log_configuration(), main(), reconfig2(), and sensor_app().


© 2007, Los Alamos National Security, LLC.