Defines | Functions | Variables
RT-WMP.c File Reference
#include "config/compiler.h"
#include "wmp_config.h"
#include "core/include/queues.h"
#include "include/rssi_average.h"
#include "include/wmp_com.h"
#include "include/manage.h"
#include "include/wmp_misc.h"
#include "interface/wmp_interface.h"
#include "include/nstat.h"
#include "include/lqm.h"
#include "include/prim.h"
#include "include/argon.h"
#include "include/ll_com.h"
#include "include/flow_control.h"
#include "include/kernel.h"
#include "include/queue_core.h"
Include dependency graph for RT-WMP.c:

Go to the source code of this file.

Defines

#define FALSE   0
#define RS_DOWN   0
#define RS_INITIALIZED   1
#define RS_RUNNING   2
#define TRUE   1

Functions

void close_all (void)
void * main_loop (void *param)
static THREAD_T (th)
void wmpExit (void)
int wmpInit (void)
void wmpInmediateExit (void)
int wmpReadConfiguration (Status *)
void wmpRun (void)
void wmpRunBG (void)
void wmpSetQuiet (void)
int wmpSetup (char _node_id, char _num_nodes)
int wmpSetupArg (char argc, char *argv[])
int wmpSetupList (int _node_id, int _num_nodes, int nparam,...)

Variables

static int abort_requested = 0
static SEM_T barrier
static wmpFrame * p
static wmpFrame * q
static int running_state = RS_DOWN
static SEM_T sem
Status status

Define Documentation

#define FALSE   0

Definition at line 61 of file RT-WMP.c.

#define RS_DOWN   0

Definition at line 57 of file RT-WMP.c.

#define RS_INITIALIZED   1

Definition at line 58 of file RT-WMP.c.

#define RS_RUNNING   2

Definition at line 59 of file RT-WMP.c.

#define TRUE   1

Definition at line 62 of file RT-WMP.c.


Function Documentation

void close_all ( void  )

Definition at line 75 of file RT-WMP.c.

void* main_loop ( void *  param)

Definition at line 225 of file RT-WMP.c.

static THREAD_T ( th  ) [static]
void wmpExit ( void  )

Stop the process carefully

Definition at line 369 of file RT-WMP.c.

int wmpInit ( void  )

Definition at line 156 of file RT-WMP.c.

void wmpInmediateExit ( void  )

Stops the process killing the thread

Definition at line 380 of file RT-WMP.c.

Definition at line 45 of file interface/cross_space.h.

void wmpRun ( void  )

Starts the process in foreground (blocking)

Definition at line 365 of file RT-WMP.c.

void wmpRunBG ( void  )

Starts the process in background (separate thread)

Definition at line 358 of file RT-WMP.c.

void wmpSetQuiet ( void  )

Avoid node tranmission

Definition at line 385 of file RT-WMP.c.

int wmpSetup ( char  node_id,
char  active_nodes 
)

Sets up the network

Parameters:
node_idspecify the WMP address of the local node
active_nodesspecify the number of nodes in the network

Definition at line 139 of file RT-WMP.c.

int wmpSetupArg ( char  argc,
char *  argv[] 
)

Definition at line 119 of file RT-WMP.c.

int wmpSetupList ( int  _node_id,
int  _num_nodes,
int  nparam,
  ... 
)

Definition at line 91 of file RT-WMP.c.


Variable Documentation

int abort_requested = 0 [static]

Definition at line 65 of file RT-WMP.c.

SEM_T barrier [static]

Definition at line 69 of file RT-WMP.c.

wmpFrame* p [static]

Definition at line 72 of file RT-WMP.c.

wmpFrame * q [static]

Definition at line 72 of file RT-WMP.c.

int running_state = RS_DOWN [static]

Definition at line 66 of file RT-WMP.c.

SEM_T sem [static]

Definition at line 68 of file RT-WMP.c.

Definition at line 64 of file RT-WMP.c.



ros_rt_wmp
Author(s): Danilo Tardioli, dantard@unizar.es
autogenerated on Fri Jan 3 2014 12:07:57